示例#1
0
        public void TestAccessor_DynamicAccess_BaseClassMethod()
        {
            A       a        = new B();
            dynamic accessor = a.TestAccessor().Dynamic;

            Assert.Equal(42, (int)accessor.AMethod());
        }