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