12 references to IsNotType
Microsoft.AspNetCore.Hosting.Tests (1)
StartupManagerTests.cs (1)
637Assert.IsNotType<MyContainer>(app.ApplicationServices);
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
1920Assert.IsNotType<WindowsPrincipal>(currentUser);
Microsoft.AspNetCore.Http.Extensions.Tests (1)
ProblemDetailsServiceCollectionExtensionsTest.cs (1)
208Assert.IsNotType<DefaultJsonTypeInfoResolver>(jsonOptions.Value.SerializerOptions.TypeInfoResolver);
Microsoft.AspNetCore.Mvc.Core.Test (1)
Formatters\SystemTextJsonInputFormatterTest.cs (1)
180Assert.IsNotType<InputFormatterException>(modelError.Exception);
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsApplicationModelProviderTest.cs (1)
208Assert.IsNotType<CorsHttpMethodActionConstraint>(constraint);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
NewtonsoftJsonInputFormatterTest.cs (1)
306Assert.IsNotType<InputFormatterException>(modelError.Exception);
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTests.cs (1)
2727Assert.IsNotType<PingMessage>(message);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\AssemblyTaskFactory_Tests.cs (1)
645Assert.IsNotType<TaskHostTask>(createdTask);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
QuickInfo\ToolTipAssert.cs (1)
112Assert.IsNotType<QuickInfoHyperLink>(actual.NavigationAction.Target);
Microsoft.DotNet.XUnitAssert.Tests (3)
TypeAssertsTests.cs (3)
286 Assert.IsNotType<Exception>(ex); 292 var result = Record.Exception(() => Assert.IsNotType<InvalidCastException>(new InvalidCastException())); 306 Assert.IsNotType<object>(null);