4 references to PrivateStaticTestClass
System.Windows.Forms.Tests (4)
TestAccessorTests.cs (4)
35
access = typeof(
PrivateStaticTestClass
).TestAccessor().Dynamic;
83
access = typeof(
PrivateStaticTestClass
).TestAccessor().Dynamic;
140
Assert.Equal(3, typeof(
PrivateStaticTestClass
).TestAccessor().Dynamic.AddOne(2));
150
Assert.Equal(21, typeof(
PrivateStaticTestClass
).TestAccessor().CreateDelegate<Func<int, int>>("AddOne")(20));