Catel.Test.Reflection.ReflectionExtensionsFacts.TheTryGetAttributeMethod.ThrowsArgumentNullExceptionForNullPropertyInfo C# (CSharp) Метод

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

private ThrowsArgumentNullExceptionForNullPropertyInfo ( ) : void
Результат void
            public void ThrowsArgumentNullExceptionForNullPropertyInfo()
            {
                ObsoleteAttribute attribute;
                ExceptionTester.CallMethodAndExpectException<ArgumentNullException>(() => ((MemberInfo)null).TryGetAttribute(out attribute));
            }
        }
ReflectionExtensionsFacts.TheTryGetAttributeMethod