private ReturnsFalseForNonInheritingReferenceType ( ) : void | ||
return | void |
public void ReturnsFalseForNonInheritingReferenceType()
{
var type = typeof(Exception);
var instance = new EventArgs();
Assert.IsFalse(type.IsInstanceOfTypeEx(instance));
}