Archetype.Tests.StaticTests.DelegatingObjectTestsDefinedStaticMethodsOnObjectModule.Setting_a_static_property_defined_in_non_dynamic_module_throws C# (CSharp) Метод

Setting_a_static_property_defined_in_non_dynamic_module_throws() приватный Метод

private Setting_a_static_property_defined_in_non_dynamic_module_throws ( ) : void
Результат void
        public void Setting_a_static_property_defined_in_non_dynamic_module_throws()
        {
            TestDelegate action =
                    () => { DynamicValue.StaticMethodWithNoReturnValueOrParametersWasCalled = false; };
            Assert.Throws<RuntimeBinderException>( action );
        }