6 references to IsNotAssignableFrom
Microsoft.DotNet.XUnitAssert.Tests (5)
TypeAssertsTests.cs (5)
221 Assert.IsNotAssignableFrom(typeof(object), null); 229 var result = Record.Exception(() => Assert.IsNotAssignableFrom(typeof(InvalidCastException), ex)); 245 var result = Record.Exception(() => Assert.IsNotAssignableFrom(typeof(Exception), ex)); 261 var result = Record.Exception(() => Assert.IsNotAssignableFrom(typeof(IDisposable), ex)); 275 Assert.IsNotAssignableFrom(typeof(InvalidCastException), new InvalidOperationException());
xunit.assert (1)
TypeAsserts.cs (1)
83 IsNotAssignableFrom(typeof(T), @object);