You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
namespace TestCases
{
public class HotBehaviour
{
public T csObj { get; protected set; }
}
class XX : HotBehaviour<int>
{
}
class Test06
{
public static void TestForEach()
{
XX x = new XX();
var type = typeof(XX);
var value = type.GetProperty("csObj").GetValue(x);
type.GetProperty("csObj").SetValue(x, 11);
}
}
}
测试代码,必现
The text was updated successfully, but these errors were encountered:
namespace TestCases
{
public class HotBehaviour
{
public T csObj { get; protected set; }
}
}
测试代码,必现
The text was updated successfully, but these errors were encountered: