Catel.Test.Reflection.ReflectionExtensionsFacts.TheIsInstanceOfTypeExMethod.ReturnsFalseForNonInheritingReferenceType C# (CSharp) 메소드

ReturnsFalseForNonInheritingReferenceType() 개인적인 메소드

private ReturnsFalseForNonInheritingReferenceType ( ) : void
리턴 void
            public void ReturnsFalseForNonInheritingReferenceType()
            {
                var type = typeof(Exception);
                var instance = new EventArgs();

                Assert.IsFalse(type.IsInstanceOfTypeEx(instance));
            }