19 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.OpenApi.Tests (6)
Services\CreateSchemaReferenceIdTests.cs (1)
190Assert.IsNotType<OpenApiSchemaReference>(schema);
Transformers\Implementations\OpenApiSchemaReferenceTransformerTests.cs (5)
214Assert.IsNotType<OpenApiSchemaReference>(requestBodySchema.AllOf[1].Properties["title"]); 215Assert.IsNotType<OpenApiSchemaReference>(requestBodySchema2.AllOf[1].Properties["title"]); 264Assert.IsNotType<OpenApiSchemaReference>(requestBodySchema); 265Assert.IsNotType<OpenApiSchemaReference>(requestBodySchema2); 397Assert.IsNotType<OpenApiSchemaReference>(level3Schema.Properties["terminate"]);
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);
System.Xaml.Tests (1)
System\Xaml\Replacements\TypeUriConverterTests.cs (1)
40Assert.IsNotType<UriTypeConverter>(type.TypeConverter.ConverterInstance);