Catel.Test.Reflection.ReflectionExtensionsFacts.TheIsInstanceOfTypeExMethod.ReturnsFalseForNonInheritingReferenceType C# (CSharp) Method

ReturnsFalseForNonInheritingReferenceType() private method

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

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