5364 references to Empty
Aspire.Components.Common.Tests (1)
ConformanceTests.cs (1)
442Assert.Empty(exportedActivities);
Aspire.Dashboard.Components.Tests (2)
Layout\MainLayoutTests.cs (1)
122Assert.Empty(messageService.AllMessages);
Pages\TraceDetailsTests.cs (1)
81Assert.Empty(telemetryRepository.TracesSubscriptions);
Aspire.Dashboard.Tests (12)
Integration\StartupTests.cs (3)
440Assert.Empty(app.ValidationFailures); 459Assert.Empty(app.ValidationFailures); 478Assert.Empty(app.ValidationFailures);
Model\ApplicationsSelectHelpersTests.cs (1)
103Assert.Empty(testSink.Writes);
Model\ResourceEndpointHelpersTests.cs (1)
22Assert.Empty(endpoints);
Model\SpanWaterfallViewModelTests.cs (1)
40Assert.Empty(e.Children);
TelemetryRepositoryTests\LogTests.cs (3)
430Assert.Empty(logs.Items); 443Assert.Empty(propertyKeys); 809Assert.Empty(repository.GetLogs(new GetLogsContext
TelemetryRepositoryTests\TraceTests.cs (3)
144Assert.Empty(traces.PagedResult.Items); 1227Assert.Empty(traces.PagedResult.Items); 1277Assert.Empty(traces.PagedResult.Items);
Aspire.Hosting.Testing.Tests (1)
TestingBuilderTests.cs (1)
25Assert.Empty(missingProperties);
Aspire.Hosting.Tests (7)
Dashboard\DashboardResourceTests.cs (2)
380Assert.Empty(model.Resources); 396Assert.Empty(model.Resources);
DcpVisibilityTests.cs (1)
15Assert.Empty(dcpNamespaceTypes);
DistributedApplicationBuilderTests.cs (1)
43Assert.Empty(appModel.Resources);
ResourceLoggerServiceTests.cs (2)
84Assert.Empty(service.GetResourceLoggerState(testResource.Name).GetBacklogSnapshot()); 197Assert.Empty(service.GetResourceLoggerState(testResource.Name).GetBacklogSnapshot());
ResourceNotificationTests.cs (1)
36Assert.Empty(state.EnvironmentVariables);
Aspire.Oracle.EntityFrameworkCore.Tests (1)
ConformanceTests.cs (1)
166Assert.Empty(exportedActivities);
Aspire.StackExchange.Redis.Tests (3)
AspireRedisExtensionsTests.cs (3)
373Assert.Empty(connection1.GetServers().Single().Keys()); 375Assert.Empty(connection3.GetServers().Single().Keys()); 380Assert.Empty(connection1.GetServers().Single().Keys());
ConfigurationSchemaGenerator.Tests (1)
GeneratorTests.cs (1)
1564Assert.Empty(compilation.GetDiagnostics().Where(diagnostic => diagnostic.Severity > DiagnosticSeverity.Hidden));
IIS.FunctionalTests (4)
Http2TrailersResetTests.cs (2)
53Assert.Empty(response.TrailingHeaders); 64Assert.Empty(response.TrailingHeaders);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (1)
324Assert.Empty(response.TrailingHeaders);
src\Servers\IIS\IIS\test\IIS.Shared.FunctionalTests\ApplicationInitializationTests.cs (1)
73Assert.Empty(matchedEntries);
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (1)
324Assert.Empty(response.TrailingHeaders);
InMemory.FunctionalTests (19)
BadHttpRequestTests.cs (1)
271Assert.Empty(await client.Stream.ReadUntilEndAsync().DefaultTimeout());
CertificateLoaderTests.cs (1)
22Assert.Empty(cert.Extensions.OfType<X509EnhancedKeyUsageExtension>());
Http2\Http2StreamTests.cs (9)
2678Assert.Empty(_decodedHeaders); 2717Assert.Empty(_decodedHeaders); 2754Assert.Empty(_decodedHeaders); 2771Assert.Empty(_decodedHeaders); 2825Assert.Empty(_decodedHeaders); 2871Assert.Empty(_decodedHeaders); 2896Assert.Empty(_decodedHeaders); 2929Assert.Empty(_decodedHeaders); 2954Assert.Empty(_decodedHeaders);
HttpsConnectionMiddlewareTests.cs (1)
1312Assert.Empty(cert.Extensions.OfType<X509EnhancedKeyUsageExtension>());
KestrelMetricsTests.cs (6)
78Assert.Empty(connectionDuration.GetMeasurementSnapshot()); 153Assert.Empty(connectionDuration.GetMeasurementSnapshot()); 154Assert.Empty(activeConnections.GetMeasurementSnapshot()); 155Assert.Empty(queuedConnections.GetMeasurementSnapshot()); 366Assert.Empty(connectionDuration.GetMeasurementSnapshot()); 471Assert.Empty(connectionDuration.GetMeasurementSnapshot());
RequestTests.cs (1)
1131Assert.Empty(ms2.ToArray());
Microsoft.Analyzers.Extra.Tests (3)
CoalesceAnalyzerTests.cs (1)
42Assert.Empty(d);
UsingToStringInLoggersTests.cs (2)
63Assert.Empty(generated.diagnostics); 118Assert.Empty(d);
Microsoft.Analyzers.Local.Tests (11)
ApiLifecycle\AnalysisModelTest.cs (9)
50Assert.Empty(analysis.MissingProperties); 51Assert.Empty(analysis.MissingBaseTypes); 52Assert.Empty(analysis.FoundInBaseline); 53Assert.Empty(analysis.NotFoundInBaseline); 54Assert.Empty(analysis.MissingTypes); 55Assert.Empty(analysis.MissingConstraints); 56Assert.Empty(analysis.MissingFields); 57Assert.Empty(analysis.MissingMethods); 58Assert.Empty(analysis.MissingProperties);
CallAnalysis\UseThrowsTests.cs (1)
47Assert.Empty(d);
InternalReferencedInPublicDocAnalyzerTests.cs (1)
481Assert.Empty(detected);
Microsoft.AspNetCore.App.Analyzers.Test (64)
Components\DisallowNonLiteralSequenceNumbersTest.cs (1)
27Assert.Empty(diagnostics);
Http\HeaderDictionaryIndexerAnalyzerTests.cs (1)
197Assert.Empty(propertyMapping);
RouteEmbeddedLanguage\FrameworkParametersCompletionProviderTests.cs (14)
287Assert.Empty(result.Completions.ItemsList); 309Assert.Empty(result.Completions.ItemsList); 381Assert.Empty(result.Completions.ItemsList); 476Assert.Empty(result.Completions.ItemsList); 498Assert.Empty(result.Completions.ItemsList); 595Assert.Empty(result.Completions.ItemsList); 621Assert.Empty(result.Completions.ItemsList); 696Assert.Empty(result.Completions.ItemsList); 723Assert.Empty(result.Completions.ItemsList); 776Assert.Empty(result.Completions.ItemsList); 823Assert.Empty(result.Completions.ItemsList); 902Assert.Empty(result.Completions.ItemsList); 1027Assert.Empty(result.Completions.ItemsList); 1091Assert.Empty(result.Completions.ItemsList);
RouteEmbeddedLanguage\RoutePatternAnalyzerTests.cs (10)
260Assert.Empty(diagnostics); 370Assert.Empty(diagnostics); 410Assert.Empty(diagnostics); 447Assert.Empty(diagnostics); 524Assert.Empty(diagnostics); 553Assert.Empty(diagnostics1); 563Assert.Empty(diagnostics2); 592Assert.Empty(diagnostics); 618Assert.Empty(diagnostics); 645Assert.Empty(diagnostics);
RouteEmbeddedLanguage\RoutePatternCompletionProviderTests.cs (5)
234Assert.Empty(result.Completions.ItemsList); 469Assert.Empty(result.Completions.ItemsList); 491Assert.Empty(result.Completions.ItemsList); 547Assert.Empty(result.Completions.ItemsList); 574Assert.Empty(result.Completions.ItemsList);
RouteEmbeddedLanguage\RoutePatternParserTests_ConformanceTests.cs (1)
785Assert.Empty(tree.Diagnostics);
RouteHandlers\DetectMisplacedLambdaAttributeTest.cs (4)
28Assert.Empty(diagnostics); 153Assert.Empty(diagnostics); 189Assert.Empty(diagnostics); 239Assert.Empty(diagnostics);
RouteHandlers\DisallowMvcBindArgumentsOnParametersTest.cs (2)
26Assert.Empty(diagnostics); 43Assert.Empty(diagnostics);
RouteHandlers\DisallowNonParsableComplexTypesOnParametersTest.cs (9)
42Assert.Empty(diagnostics); 59Assert.Empty(diagnostics); 76Assert.Empty(diagnostics); 94Assert.Empty(diagnostics); 112Assert.Empty(diagnostics); 130Assert.Empty(diagnostics); 147Assert.Empty(diagnostics); 164Assert.Empty(diagnostics); 181Assert.Empty(diagnostics);
RouteHandlers\DisallowReturningActionResultsFromMapMethodsTest.cs (4)
29Assert.Empty(diagnostics); 54Assert.Empty(diagnostics); 82Assert.Empty(diagnostics); 109Assert.Empty(diagnostics);
WebApplicationBuilder\DisallowConfigureHostBuilderConfigureWebHostTest.cs (3)
27Assert.Empty(diagnostics); 109Assert.Empty(diagnostics); 238Assert.Empty(diagnostics);
WebApplicationBuilder\DisallowConfigureWebHostBuilderConfigureTest.cs (3)
28Assert.Empty(diagnostics); 142Assert.Empty(diagnostics); 160Assert.Empty(diagnostics);
WebApplicationBuilder\DisallowConfigureWebHostBuilderUseStartupTest.cs (3)
27Assert.Empty(diagnostics); 186Assert.Empty(diagnostics); 207Assert.Empty(diagnostics);
WebApplicationBuilder\UseTopLevelRouteRegistrationInsteadOfUseEndpointsTest.cs (4)
34Assert.Empty(diagnostics); 58Assert.Empty(diagnostics); 76Assert.Empty(diagnostics); 100Assert.Empty(diagnostics);
Microsoft.AspNetCore.App.UnitTests (17)
SharedFxTests.cs (9)
54Assert.Empty(missing); 55Assert.Empty(unexpected); 81Assert.Empty(missing); 82Assert.Empty(unexpected); 117Assert.Empty(depsFile["compilationOptions"]); 296Assert.Empty(missing); 297Assert.Empty(unexpected); 351Assert.Empty(missing); 352Assert.Empty(unexpected);
TargetingPackTests.cs (8)
56Assert.Empty(missing); 57Assert.Empty(unexpected); 272Assert.Empty(missing); 273Assert.Empty(unexpected); 340Assert.Empty(missing); 341Assert.Empty(unexpected); 393Assert.Empty(missing); 394Assert.Empty(unexpected);
Microsoft.AspNetCore.Authentication.Core.Test (9)
AuthenticationPropertiesTests.cs (9)
42Assert.Empty(props.Items); 43Assert.Empty(props.Parameters); 55Assert.Empty(props.Parameters); 80Assert.Empty(props.Items); 115Assert.Empty(props.Parameters); 133Assert.Empty(props.Parameters); 151Assert.Empty(props.Parameters); 344Assert.Empty(deserialized.Parameters); 358Assert.Empty(deserialized.Parameters);
Microsoft.AspNetCore.Authentication.Test (6)
CookieTests.cs (1)
248Assert.Empty(sessionStore.Store.Keys);
JwtBearerTests.cs (1)
785Assert.Empty(response.Response.Headers.WwwAuthenticate);
JwtBearerTests_Handler.cs (1)
733Assert.Empty(response.Response.Headers.WwwAuthenticate);
OpenIdConnect\OpenIdConnectChallengeTests.cs (2)
814Assert.Empty(mockBackchannel.PushedParameters); 852Assert.Empty(mockBackchannel.PushedParameters);
TicketSerializerTests.cs (1)
26Assert.Empty(readTicket.Principal.Identities);
Microsoft.AspNetCore.Authorization.Test (1)
AuthorizationPolicyFacts.cs (1)
66Assert.Empty(combined.Requirements.OfType<DenyAnonymousAuthorizationRequirement>());
Microsoft.AspNetCore.Components.Authorization.Tests (3)
AuthorizeViewTest.cs (3)
38Assert.Empty(diff.Edits); 101Assert.Empty(diff.Edits); 269Assert.Empty(diff1.Edits);
Microsoft.AspNetCore.Components.Endpoints.Tests (8)
Binding\FormDataMapperTests.cs (4)
112Assert.Empty(errors); 600Assert.Empty(errors); 1097Assert.Empty(errors); 1867Assert.Empty(errors);
EndpointHtmlRendererTest.cs (1)
69Assert.Empty(httpContext.Items);
HotReloadServiceTests.cs (3)
96Assert.Empty(pageEndpoints); 147Assert.Empty(pageEndpoints); 148Assert.Empty(compositePageEndpoints);
Microsoft.AspNetCore.Components.Forms.Tests (6)
EditContextDataAnnotationsExtensionsTest.cs (1)
180Assert.Empty(editContext.GetValidationMessages());
EditContextTest.cs (1)
148Assert.Empty(editContext.GetValidationMessages(fieldWithNoState));
ValidationMessageStoreTest.cs (4)
38Assert.Empty(messages[field3]); 71Assert.Empty(messages[field1]); 89Assert.Empty(messages[field1]); 90Assert.Empty(messages[field2]);
Microsoft.AspNetCore.Components.Server.Tests (16)
Circuits\CircuitHostTest.cs (1)
273Assert.Empty(reportedErrors);
Circuits\CircuitRegistryTest.cs (1)
149Assert.Empty(registry.ConnectedCircuits);
Circuits\RemoteRendererTest.cs (3)
253Assert.Empty(exceptions); 316Assert.Empty(exceptions); 372Assert.Empty(exceptions);
Circuits\RevalidatingServerAuthenticationStateProviderTest.cs (2)
118Assert.Empty(provider.RevalidationCallLog.Skip(1)); 141Assert.Empty(provider.RevalidationCallLog);
Circuits\ServerComponentDeserializerTest.cs (9)
164Assert.Empty(descriptors); 178Assert.Empty(descriptors); 190Assert.Empty(descriptors); 206Assert.Empty(descriptors); 221Assert.Empty(descriptors); 236Assert.Empty(descriptors); 271Assert.Empty(descriptors); 288Assert.Empty(descriptors); 303Assert.Empty(descriptors);
Microsoft.AspNetCore.Components.Tests (52)
CascadingParameterStateTest.cs (10)
22Assert.Empty(result); 35Assert.Empty(result); 48Assert.Empty(result); 65Assert.Empty(result); 193Assert.Empty(result); 227Assert.Empty(result); 242Assert.Empty(result); 257Assert.Empty(result); 272Assert.Empty(result); 287Assert.Empty(result);
LayoutViewTest.cs (5)
33Assert.Empty(frames); 181Assert.Empty(batch.DisposedComponentIDs); 183diff => Assert.Empty(diff.Edits), // LayoutView rerendered, but with no changes 184diff => Assert.Empty(diff.Edits), // RootLayout rerendered, but with no changes 225diff => Assert.Empty(diff.Edits), // LayoutView rerendered, but with no changes
Lifetime\ComponentStatePersistenceManagerTest.cs (2)
35Assert.Empty(state); 179Assert.Empty(sequence);
NavigationManagerTest.cs (1)
697Assert.Empty(navigationManager.ExceptionsThrownFromLocationChangingHandlers);
ParameterViewTest.cs (4)
22Assert.Empty(ToEnumerable(parameters)); 36Assert.Empty(ToEnumerable(parameters)); 248Assert.Empty(collection.ToDictionary()); 356Assert.Empty(ToEnumerable(cloned));
RendererTest.cs (15)
712Assert.Empty(renderer.HandledExceptions); 1784Assert.Empty(renderer.HandledExceptions); 1822Assert.Empty(renderer.HandledExceptions); 1864Assert.Empty(renderer.HandledExceptions); 2371Assert.Empty(renderer.HandledExceptions); 2411Assert.Empty(renderer.HandledExceptions); 2416Assert.Empty(renderer.HandledExceptions); 2455Assert.Empty(renderer.HandledExceptions); 2533Assert.Empty(renderer.HandledExceptions); 3020Assert.Empty(diff4.Edits); 4067Assert.Empty(renderer.HandledExceptions); 4102Assert.Empty(renderer.HandledExceptions); 4143Assert.Empty(renderer.HandledExceptions); 4179Assert.Empty(renderer.Batches); 4202Assert.Empty(renderer.Batches);
Rendering\ArrayBuilderTest.cs (1)
244Assert.Empty(ArrayPool.ReturnedBuffers);
Rendering\RenderTreeBuilderTest.cs (2)
22Assert.Empty(frames.AsEnumerable()); 901Assert.Empty(builder.GetFrames().AsEnumerable());
RenderTreeDiffBuilderTest.cs (11)
45Assert.Empty(result.Edits); 1640Assert.Empty(result.Edits); 1665Assert.Empty(result.Edits); 1670Assert.Empty(batchBuilder.DisposedEventHandlerIDs.AsEnumerable()); 1697Assert.Empty(batchBuilder.DisposedEventHandlerIDs.AsEnumerable()); 1832Assert.Empty(batchBuilder.ComponentDisposalQueue); 1900Assert.Empty(diff.Edits); 1901Assert.Empty(referenceFrames); 1964Assert.Empty(diff.Edits); 1965Assert.Empty(referenceFrames); 2321Assert.Empty(result.Edits);
Routing\RouterTest.cs (1)
86Assert.Empty(_renderer.HandledExceptions);
Microsoft.AspNetCore.Components.Web.Tests (9)
Forms\InputBaseTest.cs (8)
146Assert.Empty(valueChangedCallLog); 169Assert.Empty(valueChangedCallLog); 175Assert.Empty(valueChangedCallLog); 301Assert.Empty(rootComponent.EditContext.GetValidationMessages(fieldIdentifier)); 324Assert.Empty(valueChangedArgs); 336Assert.Empty(rootComponent.EditContext.GetValidationMessages(fieldIdentifier)); 361Assert.Empty(rootComponent.EditContext.GetValidationMessages(fieldIdentifier)); 423Assert.Empty(renderer.Batches.Skip(1));
Forms\InputFileChangeEventArgsTest.cs (1)
46Assert.Empty(instance.GetMultipleFiles());
Microsoft.AspNetCore.Components.WebAssembly.Tests (1)
WebAssemblyHotReloadTest.cs (1)
26Assert.Empty(handlerActions.ClearCache);
Microsoft.AspNetCore.Components.WebView.Test (3)
WebViewManagerTests.cs (3)
20Assert.Empty(webViewManager.SentIpcMessages); 38Assert.Empty(webViewManager.SentIpcMessages); 63Assert.Empty(webViewManager.SentIpcMessages);
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (1)
ConcurrencyLimiterEventSourceTests.cs (1)
41Assert.Empty(eventData.Payload);
Microsoft.AspNetCore.Cors.Test (24)
CorsMiddlewareTests.cs (3)
328Assert.Empty(response.Headers); 370Assert.Empty(response.Headers); 428Assert.Empty(httpContext.Response.Headers);
CorsPolicyBuilderTests.cs (10)
63Assert.Empty(corsPolicy.Headers); 64Assert.Empty(corsPolicy.Methods); 65Assert.Empty(corsPolicy.ExposedHeaders); 80Assert.Empty(corsPolicy.ExposedHeaders); 81Assert.Empty(corsPolicy.Headers); 82Assert.Empty(corsPolicy.Methods); 83Assert.Empty(corsPolicy.Origins); 104Assert.Empty(corsPolicy.ExposedHeaders); 105Assert.Empty(corsPolicy.Headers); 106Assert.Empty(corsPolicy.Methods);
CorsPolicyTests.cs (4)
19Assert.Empty(corsPolicy.ExposedHeaders); 20Assert.Empty(corsPolicy.Headers); 21Assert.Empty(corsPolicy.Methods); 22Assert.Empty(corsPolicy.Origins);
CorsResultTests.cs (3)
15Assert.Empty(result.AllowedHeaders); 16Assert.Empty(result.AllowedExposedHeaders); 17Assert.Empty(result.AllowedMethods);
CorsServiceTests.cs (4)
254Assert.Empty(result.AllowedExposedHeaders); 488Assert.Empty(result.AllowedHeaders); 557Assert.Empty(result.AllowedHeaders); 573Assert.Empty(httpContext.Response.Headers);
Microsoft.AspNetCore.DataProtection.Extensions.Tests (8)
DataProtectionProviderTests.cs (8)
31Assert.Empty(directory.GetFiles()); 97Assert.Empty(directory.GetFiles()); 141Assert.Empty(directory.GetFiles()); 225Assert.Empty(directory.GetFiles()); 254Assert.Empty(directory.GetFiles()); 262Assert.Empty(directory.GetFiles()); 280Assert.Empty(store.Certificates.Find(X509FindType.FindByThumbprint, certificate.Thumbprint, false)); 294Assert.Empty(directory.GetFiles());
Microsoft.AspNetCore.DataProtection.Tests (8)
Internal\KeyManagementOptionsSetupTest.cs (1)
31Assert.Empty(options.KeyEscrowSinks);
KeyManagement\KeyRingBasedDataProtectorTests.cs (1)
345Assert.Empty(result);
KeyManagement\XmlKeyManagerTests.cs (1)
331Assert.Empty(keys);
RegistryPolicyResolverTests.cs (1)
29Assert.Empty(context.KeyEscrowSinks);
Repositories\EphemeralXmlRepositoryTests.cs (2)
18Assert.Empty(repository.GetAllElements()); 108Assert.Empty(repository.GetAllElements());
Repositories\FileSystemXmlRepositoryTests.cs (1)
58Assert.Empty(allElements);
Repositories\RegistryXmlRepositoryTests.cs (1)
45Assert.Empty(allElements);
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (3)
CertificateManagerTests.cs (3)
321Assert.Empty(_manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false)); 393Assert.Empty(httpsCertificateList); 411Assert.Empty(httpsCertificateList);
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (6)
Logging\HeaderReaderTests.cs (2)
24Assert.Empty(listToFill); 33Assert.Empty(listToFill);
Logging\IncomingHttpRouteUtilityTests.cs (1)
268Assert.Empty(sensitiveParameters);
Logging\RequestHeadersEnricherTests.cs (3)
73Assert.Empty(enrichedState); 215Assert.Empty(enrichedState); 248Assert.Empty(enrichedState);
Microsoft.AspNetCore.Diagnostics.Tests (3)
ExceptionHandlerMiddlewareTest.cs (2)
91Assert.Empty(context.Request.RouteValues); 226Assert.Empty(diagnosticsRequestExceptionCollector.GetMeasurementSnapshot());
StatusCodeMiddlewareTest.cs (1)
148Assert.Empty(context.Request.RouteValues);
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (19)
HttpRoutePatternParserTests.cs (8)
76Assert.Empty(pattern.Variables); 86Assert.Empty(pattern.Variables); 96Assert.Empty(pattern.Variables); 103Assert.Empty(pattern.Segments); 104Assert.Empty(pattern.Variables); 115Assert.Empty(pattern.Variables); 126Assert.Empty(pattern.Variables); 138Assert.Empty(pattern.Variables);
JsonTranscodingRouteAdapterTests.cs (9)
26Assert.Empty(adapter.RewriteVariableActions); 57Assert.Empty(adapter.RewriteVariableActions); 67Assert.Empty(adapter.RewriteVariableActions); 77Assert.Empty(adapter.RewriteVariableActions); 87Assert.Empty(adapter.RewriteVariableActions); 97Assert.Empty(adapter.RewriteVariableActions); 107Assert.Empty(adapter.RewriteVariableActions); 117Assert.Empty(adapter.RewriteVariableActions); 127Assert.Empty(adapter.RewriteVariableActions);
UnaryServerCallHandlerTests.cs (2)
258Assert.Empty(request!.Sub.Subfields); 1300Assert.Empty(requestData!);
Microsoft.AspNetCore.Grpc.Swagger.Tests (1)
SchemaGeneratorIntegrationTests.cs (1)
146Assert.Empty(resolvedSchema.Properties);
Microsoft.AspNetCore.HeaderPropagation.Tests (4)
HeaderPropagationMessageHandlerTest.cs (2)
135Assert.Empty(Handler.Headers); 148Assert.Empty(Handler.Headers);
HeaderPropagationMiddlewareTest.cs (2)
60Assert.Empty(CapturedHeaders); 73Assert.Empty(CapturedHeaders);
Microsoft.AspNetCore.Hosting.Tests (10)
HostingApplicationDiagnosticsTests.cs (2)
403Assert.Empty(requestDurationCollector.GetMeasurementSnapshot()); 458Assert.Empty(requestDurationCollector.GetMeasurementSnapshot());
HostingMetricsTests.cs (2)
149Assert.Empty(currentRequestsCollector.GetMeasurementSnapshot()); 150Assert.Empty(requestDurationCollector.GetMeasurementSnapshot());
Internal\HostingEventSourceTests.cs (4)
46Assert.Empty(eventData.Payload); 69Assert.Empty(eventData.Payload); 153Assert.Empty(eventData.Payload); 175Assert.Empty(eventData.Payload);
StaticWebAssets\ManifestStaticWebAssetsFileProviderTests.cs (1)
588Assert.Empty(directory);
WebHostTests.cs (1)
114Assert.Empty(serverAddressesFeature.Addresses);
Microsoft.AspNetCore.Html.Abstractions.Tests (1)
HtmlContentBuilderTest.cs (1)
108Assert.Empty(content.Entries);
Microsoft.AspNetCore.Http.Abstractions.Tests (28)
RouteValueDictionaryTests.cs (28)
18Assert.Empty(dict); 19Assert.Empty(dict._arrayStorage); 31Assert.Empty(dict); 32Assert.Empty(dict._arrayStorage); 262Assert.Empty(dict); 277Assert.Empty(dict); 337Assert.Empty(dict); 409Assert.Empty(dict); 737Assert.Empty(keys); 782Assert.Empty(values); 961Assert.Empty(dict); 974Assert.Empty(dict); 989Assert.Empty(dict); 991Assert.Empty(dict._arrayStorage); 1007Assert.Empty(dict); 1333Assert.Empty(dict); 1353Assert.Empty(dict); 1435Assert.Empty(dict); 1465Assert.Empty(dict); 1480Assert.Empty(dict); 1516Assert.Empty(dict); 1534Assert.Empty(dict); 1578Assert.Empty(dict); 1611Assert.Empty(dict); 1628Assert.Empty(dict); 1667Assert.Empty(dict); 1687Assert.Empty(dict); 2116Assert.Empty(dictionary);
Microsoft.AspNetCore.Http.Connections.Tests (4)
HttpConnectionDispatcherTests.cs (3)
1161Assert.Empty(currentConnections.GetMeasurementSnapshot()); 1162Assert.Empty(connectionDuration.GetMeasurementSnapshot()); 2279Assert.Empty(availableTransports);
MapConnectionHandlerTests.cs (1)
421Assert.Empty(endpoint.Metadata.GetOrderedMetadata<DisableRequestTimeoutAttribute>());
Microsoft.AspNetCore.Http.Extensions.Tests (30)
HeaderDictionaryTypeExtensionsTest.cs (4)
187Assert.Empty(result); 198Assert.Empty(result); 267Assert.Empty(results); 276Assert.Empty(results);
RequestDelegateFactoryTests.cs (3)
771Assert.Empty(TestSink.Writes); 2527Assert.Empty(result.EndpointMetadata); 2586Assert.Empty(result.EndpointMetadata);
RequestDelegateGenerator\CompileTimeCreationTests.AsParameters.cs (3)
34Assert.Empty(result.GeneratedSources); 86Assert.Empty(result.GeneratedSources); 104Assert.Empty(result.GeneratedSources);
RequestDelegateGenerator\CompileTimeCreationTests.cs (10)
28Assert.Empty(GetStaticEndpoints(results, GeneratorSteps.EndpointModelStep)); 71Assert.Empty(diagnostics.Where(d => d.Severity >= DiagnosticSeverity.Warning)); 97Assert.Empty(diagnostics.Where(d => d.Severity >= DiagnosticSeverity.Warning)); 179Assert.Empty(diagnostics.Where(d => d.Severity >= DiagnosticSeverity.Warning)); 203Assert.Empty(result.GeneratedSources); 248Assert.Empty(result.GeneratedSources); 302Assert.Empty(result.GeneratedSources); 685Assert.Empty(GetStaticEndpoints(result, GeneratorSteps.EndpointModelStep)); 740Assert.Empty(diagnostics.Where(d => d.Severity >= DiagnosticSeverity.Warning)); 755Assert.Empty(result.GeneratedSources);
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (2)
75Assert.Empty(diagnostics.Where(d => d.Severity >= DiagnosticSeverity.Warning)); 151Assert.Empty(result.Diagnostics.Where(d => d.Severity > DiagnosticSeverity.Warning));
RequestDelegateGenerator\RequestDelegateCreationTests.Forms.cs (1)
1014Assert.Empty(TestSink.Writes);
RequestDelegateGenerator\RequestDelegateCreationTests.Logging.cs (6)
162Assert.Empty(TestSink.Writes); 199Assert.Empty(TestSink.Writes); 279Assert.Empty(TestSink.Writes); 358Assert.Empty(TestSink.Writes); 572Assert.Empty(TestSink.Writes); 651Assert.Empty(TestSink.Writes);
RequestDelegateGenerator\RequestDelegateCreationTests.Metadata.cs (1)
66Assert.Empty(metadata);
Microsoft.AspNetCore.Http.Microbenchmarks (2)
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (2)
75Assert.Empty(diagnostics.Where(d => d.Severity >= DiagnosticSeverity.Warning)); 151Assert.Empty(result.Diagnostics.Where(d => d.Severity > DiagnosticSeverity.Warning));
Microsoft.AspNetCore.Http.Results.Tests (4)
ResultsTests.cs (2)
1338Assert.Empty(result.ProblemDetails.Extensions); 1354Assert.Empty(result.ProblemDetails.Extensions);
TypedResultsTests.cs (2)
1130Assert.Empty(result.ProblemDetails.Extensions); 1146Assert.Empty(result.ProblemDetails.Extensions);
Microsoft.AspNetCore.Http.Tests (14)
ApplicationBuilderTests.cs (1)
47Assert.Empty(builder.ServerFeatures);
DefaultHttpContextTests.cs (2)
76Assert.Empty(context.Session.Keys); 98Assert.Empty(context.User.Identities);
Features\FormFeatureTests.cs (3)
225Assert.Empty(formCollection.Files); 262Assert.Empty(formCollection.Files); 347Assert.Empty(formCollection.Files);
Features\QueryFeatureTests.cs (1)
148Assert.Empty(queryCollection);
Internal\DefaultHttpRequestTests.cs (4)
170Assert.Empty(cookies0); 207Assert.Empty(request.RouteValues); 227Assert.Empty(request.RouteValues); 239Assert.Empty(request.RouteValues);
Timeouts\RequestTimeoutsMiddlewareTests.cs (3)
198Assert.Empty(context.Response.Headers); 214Assert.Empty(context.Response.Headers); 234Assert.Empty(context.Response.Headers);
Microsoft.AspNetCore.HttpLogging.Tests (7)
FileLoggerProcessorTests.cs (2)
236Assert.Empty(testSink.Writes); 251Assert.Empty(testSink2.Writes);
HttpLoggingMiddlewareTests.cs (3)
112Assert.Empty(TestSink.Writes); 726Assert.Empty(TestSink.Writes); 1059Assert.Empty(TestSink.Writes);
HttpLoggingOptionsTests.cs (1)
51Assert.Empty(options.MediaTypeOptions.MediaTypeStates);
W3CLoggingMiddlewareTests.cs (1)
63Assert.Empty(logger.Processor.Lines);
Microsoft.AspNetCore.HttpsPolicy.Tests (3)
HstsMiddlewareTests.cs (3)
208Assert.Empty(response.Headers); 318Assert.Empty(response.Headers); 365Assert.Empty(response.Headers);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (4)
SqlStoreTestBase.cs (2)
176Assert.Empty(roles); 199Assert.Empty(roles);
UserStoreWithGenericsTest.cs (2)
121Assert.Empty(userClaims); 148Assert.Empty(userClaims);
Microsoft.AspNetCore.Identity.FunctionalTests (3)
MapIdentityApiTests.cs (2)
878Assert.Empty(recoveryCodes.Intersect(resetRecoveryCodes)); 1244Assert.Empty(emailSender.Emails);
Pages\RegisterConfirmation.cs (1)
23Assert.Empty(Document.QuerySelectorAll("#confirm-link"));
Microsoft.AspNetCore.Identity.Specification.Tests (9)
IdentitySpecificationTestBase.cs (3)
262Assert.Empty(roleClaims); 333Assert.Empty(manager.Roles.Where(func)); 595Assert.Empty((await manager.GetUsersInRoleAsync("123456")));
UserManagerSpecificationTests.cs (6)
564Assert.Empty(logins); 655Assert.Empty(logins); 725Assert.Empty(userClaims); 756Assert.Empty(userClaims); 942Assert.Empty(mgr.Users.Where(UserNameEqualsPredicate("bogus"))); 1933Assert.Empty((await manager.GetUsersForClaimAsync(new Claim("123", "456"))));
Microsoft.AspNetCore.Identity.Test (2)
IdentityResultTest.cs (2)
13Assert.Empty(result.Errors); 21Assert.Empty(result.Errors);
Microsoft.AspNetCore.JsonPatch.Tests (4)
Internal\DictionaryAdapterTest.cs (4)
213Assert.Empty(dictionary); 231Assert.Empty(dictionary); 273Assert.Empty(dictionary); 292Assert.Empty(dictionary);
Microsoft.AspNetCore.Mvc.Abstractions.Test (33)
ModelBinding\ModelStateDictionaryTest.cs (30)
120Assert.Empty(dictionary); 122Assert.Empty(dictionary); 136Assert.Empty(dictionary); 138Assert.Empty(dictionary); 601Assert.Empty(item.Errors); 638Assert.Empty(modelState.Errors); 1296Assert.Empty(dictionary["Property1"].Errors); 1298Assert.Empty(dictionary["Property2"].Errors); 1302Assert.Empty(dictionary["Property4"].Errors); 1323Assert.Empty(dictionary["Product"].Errors); 1325Assert.Empty(dictionary["Product.Detail1"].Errors); 1327Assert.Empty(dictionary["Product.Detail2[0]"].Errors); 1329Assert.Empty(dictionary["Product.Detail2[1]"].Errors); 1331Assert.Empty(dictionary["Product.Detail2[2]"].Errors); 1333Assert.Empty(dictionary["Product.Detail3"].Errors); 1354Assert.Empty(dictionary["Product.Detail1"].Errors); 1356Assert.Empty(dictionary["Product.Detail1.Name"].Errors); 1377Assert.Empty(dictionary["Property1"].Errors); 1379Assert.Empty(dictionary["Property2"].Errors); 1381Assert.Empty(dictionary["Property3"].Errors); 1383Assert.Empty(dictionary["Property4"].Errors); 1394Assert.Empty(dictionary); 1418Assert.Empty(entry.Value.Errors); 1426Assert.Empty(entry.Value.Errors); 1434Assert.Empty(entry.Value.Errors); 1485Assert.Empty(keys); 1518Assert.Empty(values); 1540Assert.Empty(value.Errors); 1547Assert.Empty(value.Errors); 1554Assert.Empty(value.Errors);
ModelBinding\ValueProviderResultTest.cs (3)
22Assert.Empty((string[])result); 37Assert.Empty((string[])result); 53Assert.Empty((string[])result);
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (40)
ApiResponseTypeProviderTest.cs (12)
55Assert.Empty(responseType.ApiResponseFormats); 62Assert.Empty(responseType.ApiResponseFormats); 133Assert.Empty(responseType.ApiResponseFormats); 178Assert.Empty(responseType.ApiResponseFormats); 185Assert.Empty(responseType.ApiResponseFormats); 272Assert.Empty(responseType.ApiResponseFormats); 320Assert.Empty(responseType.ApiResponseFormats); 507Assert.Empty(responseType.ApiResponseFormats); 513Assert.Empty(responseType.ApiResponseFormats); 545Assert.Empty(responseType.ApiResponseFormats); 561Assert.Empty(responseType.ApiResponseFormats); 749Assert.Empty(GetSortedMediaTypes(responseType));
DefaultApiDescriptionProviderTest.cs (11)
46Assert.Empty(descriptions); 59Assert.Empty(descriptions); 267Assert.Empty(description.ParameterDescriptions); 439Assert.Empty(id1.RouteInfo.Constraints); 633Assert.Empty(description.SupportedResponseTypes); 715Assert.Empty(responseType.ApiResponseFormats); 818Assert.Empty(responseType.ApiResponseFormats); 888Assert.Empty(GetSortedMediaTypes(responseType)); 958Assert.Empty(GetSortedMediaTypes(responseType)); 1219Assert.Empty(description.SupportedRequestFormats); 1491Assert.Empty(description.ParameterDescriptions);
EndpointMetadataApiDescriptionProviderTest.cs (17)
42Assert.Empty(apiDescriptions); 176Assert.Empty(responseType.ApiResponseFormats); 274Assert.Empty(badRequestResponseType.ApiResponseFormats); 300Assert.Empty(badRequestResponseType.ApiResponseFormats); 379Assert.Empty(badRequestResponseType.ApiResponseFormats); 413Assert.Empty(badRequestResponseType.ApiResponseFormats); 581Assert.Empty(GetApiDescription((IInferredServiceInterface foo) => { }).ParameterDescriptions); 582Assert.Empty(GetApiDescription(([FromServices] InferredServiceClass foo) => { }).ParameterDescriptions); 583Assert.Empty(GetApiDescription(([FromKeyedServices("foo")] InferredServiceClass foo) => { }).ParameterDescriptions); 584Assert.Empty(GetApiDescription((HttpContext context) => { }).ParameterDescriptions); 585Assert.Empty(GetApiDescription((HttpRequest request) => { }).ParameterDescriptions); 586Assert.Empty(GetApiDescription((HttpResponse response) => { }).ParameterDescriptions); 587Assert.Empty(GetApiDescription((ClaimsPrincipal user) => { }).ParameterDescriptions); 588Assert.Empty(GetApiDescription((CancellationToken token) => { }).ParameterDescriptions); 589Assert.Empty(GetApiDescription((BindAsyncRecord context) => { }).ParameterDescriptions); 899Assert.Empty(context.Results); 1392Assert.Empty(parameter.RouteInfo.Constraints);
Microsoft.AspNetCore.Mvc.Core.Test (163)
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (2)
80Assert.Empty(actionModel.Selectors[0].EndpointMetadata); 123Assert.Empty(actionModel.Selectors[0].EndpointMetadata);
ApplicationModels\AuthorizationApplicationModelProviderTest.cs (6)
33Assert.Empty(controller.Filters); 51Assert.Empty(controller.Filters); 94Assert.Empty(attributeRoutes); 188Assert.Empty(controller.Filters); 190Assert.Empty(action.Filters); 200Assert.Empty(controller.Filters);
ApplicationModels\DefaultApplicationModelProviderTest.cs (11)
93Assert.Empty(property.Attributes); 145Assert.Empty(property.Attributes); 198Assert.Empty(parameter.Attributes); 428Assert.Empty(model.Filters); 761Assert.Empty(GetAttributeRoutes(action.Selectors)); 784Assert.Empty(GetAttributeRoutes(action.Selectors)); 808Assert.Empty(GetAttributeRoutes(action.Selectors)); 833Assert.Empty(GetAttributeRoutes(action.Selectors)); 856Assert.Empty(GetAttributeRoutes(action.Selectors)); 1016Assert.Empty(GetAttributeRoutes(action.Selectors)); 1259Assert.Empty(model.Actions);
ApplicationParts\ApplicationPartManagerTest.cs (1)
73Assert.Empty(feature.Values.ToArray());
ApplicationParts\RelatedAssemblyPartTest.cs (1)
25Assert.Empty(result);
BadRequestObjectResultTests.cs (1)
32Assert.Empty(errors);
Builder\MvcApplicationBuilderExtensionsTest.cs (1)
56Assert.Empty(endpointDataSource.Endpoints);
Builder\MvcAreaRouteBuilderExtensionsTest.cs (4)
35Assert.Empty(route.DataTokens); 70Assert.Empty(route.DataTokens); 116Assert.Empty(route.DataTokens); 259Assert.Empty(route.DataTokens);
ConflictObjectResultTest.cs (1)
32Assert.Empty(errors);
ControllerBaseTest.cs (3)
2062Assert.Empty(errors); 2108Assert.Empty(errors); 2155Assert.Empty(errors);
Controllers\ControllerBinderDelegateProviderTest.cs (4)
73Assert.Empty(arguments); 128Assert.Empty(arguments); 178Assert.Empty(arguments); 220Assert.Empty(arguments);
Controllers\ControllerFeatureProviderTest.cs (10)
73Assert.Empty(feature.Controllers); 88Assert.Empty(feature.Controllers); 103Assert.Empty(feature.Controllers); 118Assert.Empty(feature.Controllers); 133Assert.Empty(feature.Controllers); 148Assert.Empty(feature.Controllers); 179Assert.Empty(feature.Controllers); 194Assert.Empty(feature.Controllers); 290Assert.Empty(feature.Controllers); 380Assert.Empty(feature.Controllers);
DependencyInjection\MvcCoreServiceCollectionExtensionsTest.cs (2)
160Assert.Empty(builder.PartManager.ApplicationParts); 184Assert.Empty(builder.PartManager.ApplicationParts);
Filters\FilterFactoryTest.cs (3)
23Assert.Empty(filterResult.CacheableFilters); 24Assert.Empty(filterResult.Filters); 49Assert.Empty(filterResult.Filters);
Formatters\FormatFilterTest.cs (1)
387Assert.Empty(result.ContentTypes);
Infrastructure\ActionSelectorTest.cs (3)
181Assert.Empty(candidates); 214Assert.Empty(candidates); 514Assert.Empty(sink.Scopes);
Infrastructure\JsonResultExecutorTestBase.cs (1)
229Assert.Empty(written);
ModelBinding\Binders\ArrayModelBinderTest.cs (2)
81Assert.Empty(Assert.IsType<string[]>(bindingContext.Result.Model)); 115Assert.Empty(Assert.IsType<string[]>(bindingContext.Result.Model));
ModelBinding\Binders\ByteArrayModelBinderTests.cs (1)
100Assert.Empty(bindingContext.ModelState); // No submitted data for "foo".
ModelBinding\Binders\CollectionModelBinderTest.cs (4)
191Assert.Empty(model); 267Assert.Empty(Assert.IsType<List<string>>(bindingContext.Result.Model)); 301Assert.Empty(Assert.IsType<List<string>>(bindingContext.Result.Model)); 376Assert.Empty(list);
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (2)
992Assert.Empty(modelState); 1015Assert.Empty(model.ReadOnlyList);
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (2)
1154Assert.Empty(modelState); 1177Assert.Empty(model.ReadOnlyList);
ModelBinding\Binders\DateTimeModelBinderTest.cs (2)
88Assert.Empty(bindingContext.ModelState); 103Assert.Empty(bindingContext.ModelState);
ModelBinding\Binders\DictionaryModelBinderTest.cs (3)
225Assert.Empty(resultDictionary); 452Assert.Empty(Assert.IsType<Dictionary<string, string>>(bindingContext.Result.Model)); 487Assert.Empty(Assert.IsType<Dictionary<string, string>>(bindingContext.Result.Model));
ModelBinding\Binders\FloatingPointTypeModelBinderTestOfT.cs (1)
184Assert.Empty(bindingContext.ModelState);
ModelBinding\Binders\FormCollectionModelBinderTest.cs (2)
32Assert.Empty(bindingContext.ValidationState); 54Assert.Empty(form);
ModelBinding\Binders\KeyValuePairModelBinderTest.cs (1)
139Assert.Empty(bindingContext.ModelState);
ModelBinding\Binders\SimpleTypeModelBinderTest.cs (1)
192Assert.Empty(bindingContext.ModelState);
ModelBinding\Binders\TryParseTypeModelBinderTest.cs (1)
141Assert.Empty(bindingContext.ModelState);
ModelBinding\CompositeValueProviderTest.cs (1)
102Assert.Empty(values);
ModelBinding\EnumerableValueProviderTest.cs (1)
113Assert.Empty(result);
ModelBinding\FormFileValueProviderFactoryTest.cs (2)
25Assert.Empty(context.ValueProviders); 39Assert.Empty(context.ValueProviders);
ModelBinding\FormValueProviderFactoryTest.cs (1)
26Assert.Empty(context.ValueProviders);
ModelBinding\JQueryFormValueProviderFactoryTest.cs (1)
50Assert.Empty(context.ValueProviders);
ModelBinding\JQueryQueryStringValueProviderFactoryTest.cs (1)
94Assert.Empty(context.ValueProviders);
ModelBinding\Metadata\DefaultModelMetadataTest.cs (1)
31Assert.Empty(metadata.AdditionalValues);
ModelBinding\Metadata\ModelAttributesTest.cs (1)
190Assert.Empty(attributes.ParameterAttributes);
ModelBinding\ModelBindingHelperTest.cs (13)
654Assert.Empty(dictionary["Name"].Errors); 656Assert.Empty(dictionary["Id"].Errors); 658Assert.Empty(dictionary["Category"].Errors); 683Assert.Empty(dictionary[string.Empty].Errors); 714Assert.Empty(dictionary["[0].Name"].Errors); 716Assert.Empty(dictionary["[0].Id"].Errors); 718Assert.Empty(dictionary["[0].Category"].Errors); 720Assert.Empty(dictionary["[1].Name"].Errors); 722Assert.Empty(dictionary["[1].Id"].Errors); 724Assert.Empty(dictionary["[1].Category"].Errors); 763Assert.Empty(dictionary[entry].Errors); 1456Assert.Empty(list); 1472Assert.Empty(list);
ModelBinding\PrefixContainerTest.cs (2)
196Assert.Empty(result); 239Assert.Empty(result);
ModelBinding\QueryStringValueProviderFactoryTest.cs (1)
26Assert.Empty(factoryContext.ValueProviders);
ModelBinding\Validation\DefaultObjectValidatorTests.cs (29)
44Assert.Empty(entry.Errors); 71Assert.Empty(entry.Errors); 100Assert.Empty(entry.Errors); 127Assert.Empty(entry.Errors); 149Assert.Empty(modelState); 177Assert.Empty(entry.Errors); 181Assert.Empty(entry.Errors); 209Assert.Empty(entry.Errors); 213Assert.Empty(entry.Errors); 282Assert.Empty(entry.Errors); 286Assert.Empty(entry.Errors); 540Assert.Empty(entry.Value.Errors); 637Assert.Empty(entry.Errors); 668Assert.Empty(entry.Errors); 704Assert.Empty(entry.Errors); 774Assert.Empty(entry.Errors); 778Assert.Empty(entry.Errors); 930Assert.Empty(entry.Errors); 934Assert.Empty(entry.Errors); 938Assert.Empty(entry.Errors); 1006Assert.Empty(entry.Errors); 1010Assert.Empty(entry.Errors); 1014Assert.Empty(entry.Errors); 1018Assert.Empty(entry.Errors); 1054Assert.Empty(entry.Errors); 1058Assert.Empty(entry.Errors); 1153Assert.Empty(entry.Errors); 1183Assert.Empty(entry.Errors); 1216Assert.Empty(entry.Value.Errors);
MvcCoreLoggerExtensionsTest.cs (1)
163Assert.Empty(testSink.Writes);
ObjectResultTests.cs (2)
28Assert.Empty(result.ContentTypes); 29Assert.Empty(result.Formatters);
ProducesAttributeTests.cs (2)
84Assert.Empty(objectResult.ContentTypes); 151Assert.Empty(producesAttribute.ContentTypes);
Routing\ActionEndpointFactoryTest.cs (7)
68Assert.Empty(endpoints); 86Assert.Empty(endpoints); 116Assert.Empty(endpoints); 131Assert.Empty(endpoints); 171Assert.Empty(endpoints); 202Assert.Empty(endpoints); 323Assert.Empty(endpoints);
Routing\AttributeRouteTest.cs (15)
108Assert.Empty(context.RouteData.Values); 146Assert.Empty(e.Constraints); 147Assert.Empty(e.Defaults); 191Assert.Empty(e.Defaults); 234Assert.Empty(e.Constraints); 295Assert.Empty(e.Constraints); 296Assert.Empty(e.Defaults); 305Assert.Empty(e.Constraints); 306Assert.Empty(e.Defaults); 349Assert.Empty(e.Constraints); 354Assert.Empty(e.Defaults); 397Assert.Empty(e.Defaults); 435Assert.Empty(e.Constraints); 497Assert.Empty(e.Constraints); 502Assert.Empty(e.Defaults);
Routing\ControllerActionEndpointDataSourceTest.cs (1)
45Assert.Empty(endpoints);
Routing\MvcRouteHandlerTests.cs (1)
44Assert.Empty(sink.Scopes);
SerializableErrorTests.cs (1)
78Assert.Empty(serializableError);
UnprocessableEntityObjectResultTests.cs (1)
32Assert.Empty(errors);
ValidationProblemDetailsTest.cs (1)
18Assert.Empty(problemDescription.Errors);
Microsoft.AspNetCore.Mvc.Cors.Test (2)
CorsAuthorizationFilterTest.cs (2)
70Assert.Empty(authorizationContext.HttpContext.Response.Headers); 113Assert.Empty(authorizationContext.HttpContext.Response.Headers);
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (7)
DataAnnotationsClientModelValidatorProviderTest.cs (1)
88Assert.Empty(providerContext.Results);
DataAnnotationsModelValidatorTest.cs (4)
119Assert.Empty(results); 149Assert.Empty(result); 210Assert.Empty(result); 258Assert.Empty(result);
DataTypeClientModelValidatorProviderTest.cs (1)
80Assert.Empty(providerContext.Results);
ValidatableObjectAdapterTest.cs (1)
132Assert.Empty(results);
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (8)
DelegatingEnumerableTest.cs (2)
27Assert.Empty(delegatingEnumerable); 65Assert.Empty(delegatingEnumerable);
EnumerableWrapperProviderTest.cs (1)
51Assert.Empty(delegatingEnumerable);
SerializableErrorWrapperTests.cs (1)
21Assert.Empty(wrapper.SerializableError);
ValidationProblemDetailsWrapperTest.cs (2)
110Assert.Empty(problemDetails.Errors); 133Assert.Empty(problemDetails.Errors);
XmlDataContractSerializerOutputFormatterTest.cs (1)
741Assert.Empty(body.ToArray());
XmlSerializerOutputFormatterTest.cs (1)
523Assert.Empty(body.ToArray());
Microsoft.AspNetCore.Mvc.FunctionalTests (29)
ApiExplorerTest.cs (15)
58Assert.Empty(result); 71Assert.Empty(result); 188Assert.Empty(parameter.RouteInfo.ConstraintTypes); 472Assert.Empty(responseType.ResponseFormats); 492Assert.Empty(responseType.ResponseFormats); 513Assert.Empty(description.SupportedResponseTypes); 1182Assert.Empty(description.ParameterDescriptions); 1203Assert.Empty(description.ParameterDescriptions); 1216Assert.Empty(description.ParameterDescriptions); 1340Assert.Empty(responseType.ResponseFormats); 1375Assert.Empty(responseType.ResponseFormats); 1410Assert.Empty(responseType.ResponseFormats); 1445Assert.Empty(responseType.ResponseFormats); 1485Assert.Empty(responseType.ResponseFormats); 1522Assert.Empty(responseType.ResponseFormats);
BasicTests.cs (2)
199Assert.Empty(responseBytes); 215Assert.Empty(responseBytes);
CorsTestsBase.cs (8)
73Assert.Empty(response.Headers); 91Assert.Empty(response.Headers); 233Assert.Empty(response.Headers); 259Assert.Empty(response.Headers); 286Assert.Empty(response.Headers); 381Assert.Empty(response.Headers); 404Assert.Empty(response.Headers); 424Assert.Empty(response.Headers);
RoutingTestsBase.cs (1)
210Assert.Empty(result);
VersioningTestsBase.cs (2)
208Assert.Empty(body); 259Assert.Empty(body);
XmlDataContractSerializerInputFormatterTest.cs (1)
75Assert.Empty(modelBindingInfo.ModelStateErrorMessages);
Microsoft.AspNetCore.Mvc.IntegrationTests (208)
ActionParametersIntegrationTest.cs (10)
71Assert.Empty(modelState[key].Errors); 109Assert.Empty(boundModel.Address); 165Assert.Empty(modelState[key].Errors); 203Assert.Empty(boundModel.Address); 207Assert.Empty(modelState.Keys); 251Assert.Empty(modelState[key].Errors); 288Assert.Empty(boundModel.Address); 342Assert.Empty(modelState[key].Errors); 379Assert.Empty(boundModel.Address); 383Assert.Empty(modelState.Keys);
ArrayModelBinderIntegrationTest.cs (4)
160Assert.Empty(Assert.IsType<int[]>(modelBindingResult.Model)); 162Assert.Empty(modelState); 322Assert.Empty(Assert.IsType<Person[]>(modelBindingResult.Model)); 324Assert.Empty(modelState);
BinderTypeBasedModelBinderIntegrationTest.cs (2)
45Assert.Empty(modelState); 76Assert.Empty(modelState);
BodyValidationIntegrationTests.cs (5)
430Assert.Empty(modelState); 544Assert.Empty(modelState); 789Assert.Empty(modelState); 845Assert.Empty(modelState); 890Assert.Empty(modelState);
ByteArrayModelBinderIntegrationTest.cs (3)
63Assert.Empty(entry.Value.Errors); 99Assert.Empty(modelState.Keys); 144Assert.Empty(entry.Value.Errors);
CancellationTokenModelBinderIntegrationTest.cs (3)
53Assert.Empty(modelState.Keys); 88Assert.Empty(modelState); 126Assert.Empty(modelState);
CollectionModelBinderIntegrationTest.cs (6)
158Assert.Empty(Assert.IsType<List<int>>(modelBindingResult.Model)); 160Assert.Empty(modelState); 271Assert.Empty(Assert.IsType<List<Person>>(modelBindingResult.Model)); 273Assert.Empty(modelState); 565Assert.Empty(Assert.IsType<List<Person2>>(modelBindingResult.Model)); 567Assert.Empty(modelState);
ComplexRecordIntegrationTest.cs (18)
324Assert.Empty(modelState); 954Assert.Empty(modelState); 1157Assert.Empty(modelState); 1360Assert.Empty(modelState); 1944Assert.Empty(modelState); 2678Assert.Empty(entry.Errors); 2726Assert.Empty(entry.Errors); 2786Assert.Empty(entry.Errors); 2839Assert.Empty(entry.Errors); 3015Assert.Empty(state.Value.Errors); 3088Assert.Empty(kvp.Value.Errors); 3096Assert.Empty(kvp.Value.Errors); 3151Assert.Empty(state.Value.Errors); 3213Assert.Empty(kvp.Value.Errors); 3220Assert.Empty(kvp.Value.Errors); 3476Assert.Empty(modelState); 4018Assert.Empty(modelState); 4196Assert.Empty(entry.Value.Errors);
ComplexTypeIntegrationTestBase.cs (15)
307Assert.Empty(modelState); 962Assert.Empty(modelState); 1170Assert.Empty(modelState); 1378Assert.Empty(modelState); 2091Assert.Empty(modelState); 2857Assert.Empty(entry.Errors); 2905Assert.Empty(entry.Errors); 2977Assert.Empty(entry.Errors); 3030Assert.Empty(entry.Errors); 3223Assert.Empty(state.Value.Errors); 3303Assert.Empty(kvp.Value.Errors); 3311Assert.Empty(kvp.Value.Errors); 3373Assert.Empty(state.Value.Errors); 3435Assert.Empty(kvp.Value.Errors); 3442Assert.Empty(kvp.Value.Errors);
DictionaryModelBinderIntegrationTest.cs (6)
422Assert.Empty(model); 424Assert.Empty(modelState); 458Assert.Empty(modelState); 844Assert.Empty(model); 846Assert.Empty(modelState); 880Assert.Empty(modelState);
FormCollectionModelBindingIntegrationTest.cs (6)
69Assert.Empty(entry.Value.Errors); 115Assert.Empty(modelState); 148Assert.Empty(modelState); 151Assert.Empty(collection); 152Assert.Empty(collection.Files); 153Assert.Empty(collection.Keys);
FormFileModelBindingIntegrationTest.cs (17)
70Assert.Empty(modelState[key].Errors); 120Assert.Empty(value.Errors); 171Assert.Empty(value.Errors); 234Assert.Empty(value.Errors); 242Assert.Empty(value.Errors); 324Assert.Empty(value.Errors); 390Assert.Empty(value.Errors); 452Assert.Empty(value.Errors); 460Assert.Empty(value.Errors); 511Assert.Empty(modelStateEntry.Errors); 546Assert.Empty(modelState); 600Assert.Empty(modelStateEntry.Errors); 649Assert.Empty(entry.Value.Errors); 685Assert.Empty(modelState.Keys); 913Assert.Empty(house.Garage.Cars); 917Assert.Empty(modelState); 1119Assert.Empty(container.FormFiles);
GenericModelBinderIntegrationTest.cs (11)
51Assert.Empty(modelState); 89Assert.Empty(modelState); 123Assert.Empty(model); 217Assert.Empty(modelState); 251Assert.Empty(modelState); 374Assert.Empty(model); 376Assert.Empty(modelState); 497Assert.Empty(model); 499Assert.Empty(modelState); 629Assert.Empty(model); 631Assert.Empty(modelState);
HeaderModelBinderIntegrationTest.cs (13)
103Assert.Empty(entry.Value.Errors); 145Assert.Empty(entry.Value.Errors); 192Assert.Empty(modelStateEntry.Errors); 239Assert.Empty(modelStateEntry.Errors); 299Assert.Empty(entry.Value.Errors); 365Assert.Empty(entry.Errors); 374Assert.Empty(entry.Errors); 383Assert.Empty(entry.Errors); 392Assert.Empty(entry.Errors); 401Assert.Empty(entry.Errors); 410Assert.Empty(entry.Errors); 419Assert.Empty(entry.Errors); 428Assert.Empty(entry.Errors);
KeyValuePairModelBinderIntegrationTest.cs (4)
85Assert.Empty(entry.Errors); 135Assert.Empty(entry.Errors); 167Assert.Empty(entry.Errors); 217Assert.Empty(entry.Errors);
ModelPrefixSelectionIntegrationTest.cs (5)
55Assert.Empty(modelState); 104Assert.Empty(modelState); 143Assert.Empty(modelState); 192Assert.Empty(modelState); 238Assert.Empty(modelState);
ServicesModelBinderIntegrationTest.cs (11)
48Assert.Empty(modelState.Keys); 84Assert.Empty(modelState); 120Assert.Empty(modelState); 152Assert.Empty(actionResultArray); 156Assert.Empty(modelState); 225Assert.Empty(modelState.Keys); 261Assert.Empty(modelState); 294Assert.Empty(modelState.Keys); 330Assert.Empty(modelState); 373Assert.Empty(modelState); 410Assert.Empty(modelState);
SimpleTypeModelBinderIntegrationTest.cs (12)
62Assert.Empty(modelState[key].Errors); 106Assert.Empty(modelState[key].Errors); 150Assert.Empty(modelState[key].Errors); 184Assert.Empty(modelState.Keys); 227Assert.Empty(modelState[key].Errors); 271Assert.Empty(modelState[key].Errors); 356Assert.Empty(modelState[key].Errors); 603Assert.Empty(modelState[key].Errors); 634Assert.Empty(modelState.Keys); 699Assert.Empty(entry.Errors); 745Assert.Empty(modelState[key].Errors); 789Assert.Empty(modelState[key].Errors);
TryUpdateModelIntegrationTest.cs (26)
56Assert.Empty(state.Errors); 90Assert.Empty(state.Errors); 200Assert.Empty(state.Errors); 241Assert.Empty(state.Errors); 282Assert.Empty(state.Errors); 343Assert.Empty(state.Errors); 447Assert.Empty(state.Errors); 495Assert.Empty(state.Errors); 526Assert.Empty(model.Address); 530Assert.Empty(modelState); 663Assert.Empty(state.Errors); 697Assert.Empty(state.Errors); 800Assert.Empty(state.Errors); 836Assert.Empty(state.Errors); 877Assert.Empty(state.Errors); 928Assert.Empty(state.Errors); 964Assert.Empty(state.Errors); 1012Assert.Empty(state.Errors); 1038Assert.Empty(model.Address); 1042Assert.Empty(modelState); 1080Assert.Empty(modelStateEntry.Errors); 1133Assert.Empty(state.Errors); 1204Assert.Empty(state.Errors); 1211Assert.Empty(state.Errors); 1259Assert.Empty(state.Errors); 1268Assert.Empty(state.Errors);
TryValidateModelIntegrationTest.cs (1)
72Assert.Empty(modelStateErrors);
ValidationIntegrationTests.cs (15)
197Assert.Empty(entry.Errors); 286Assert.Empty(entry.Errors); 377Assert.Empty(entry.Errors); 469Assert.Empty(entry.Errors); 555Assert.Empty(entry.Errors); 713Assert.Empty(entry.Errors); 801Assert.Empty(entry.Errors); 871Assert.Empty(modelState); 936Assert.Empty(entry.Errors); 1043Assert.Empty(entry.Errors); 1131Assert.Empty(entry.Errors); 1199Assert.Empty(model); 1201Assert.Empty(modelState); 1492Assert.Empty(modelState); 2003Assert.Empty(modelState);
ValidationWithRecordIntegrationTests.cs (15)
185Assert.Empty(entry.Errors); 267Assert.Empty(entry.Errors); 349Assert.Empty(entry.Errors); 434Assert.Empty(entry.Errors); 514Assert.Empty(entry.Errors); 596Assert.Empty(entry.Errors); 677Assert.Empty(entry.Errors); 747Assert.Empty(modelState); 805Assert.Empty(entry.Errors); 905Assert.Empty(entry.Errors); 989Assert.Empty(entry.Errors); 1057Assert.Empty(model); 1059Assert.Empty(modelState); 1336Assert.Empty(modelState); 1798Assert.Empty(modelState);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (4)
NewtonsoftJsonOutputFormatterTest.cs (2)
462Assert.Empty(body.ToArray()); 541Assert.Empty(body.ToArray());
src\Mvc\Mvc.Core\test\Infrastructure\JsonResultExecutorTestBase.cs (1)
229Assert.Empty(written);
src\Mvc\Mvc.ViewFeatures\test\Infrastructure\TempDataSerializerTestBase.cs (1)
21Assert.Empty(tempDataDictionary);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (2)
AssemblyPartExtensionTest.cs (1)
58Assert.Empty(references);
FileProviderRazorProjectFileSystemTest.cs (1)
28Assert.Empty(razorFiles);
Microsoft.AspNetCore.Mvc.Razor.Test (10)
DependencyInjection\MvcRazorMvcCoreBuilderExtensionsTest.cs (2)
26Assert.Empty(builder.PartManager.ApplicationParts); 49Assert.Empty(builder.PartManager.ApplicationParts);
RazorHotReloadTest.cs (1)
68Assert.Empty(pageActivator.ActivationInfo);
RazorPageTest.cs (5)
277Assert.Empty(bufferScope.CreatedBuffers); 286Assert.Empty(bufferScope.ReturnedBuffers); 289Assert.Empty(bufferScope.ReturnedBuffers); 301Assert.Empty(bufferScope.ReturnedBuffers); 1127Assert.Empty(output.Attributes);
RazorViewEngineTest.cs (2)
160Assert.Empty(view.ViewStartPages); 192Assert.Empty(view1.ViewStartPages);
Microsoft.AspNetCore.Mvc.RazorPages.Test (71)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (4)
456Assert.Empty(pageModel.HandlerMethods); 477Assert.Empty(pageModel.HandlerMethods); 732Assert.Empty(handlerMethods); 759Assert.Empty(handlerMethods);
ApplicationModels\TempDataFilterPageApplicationModelProviderTest.cs (1)
26Assert.Empty(context.PageApplicationModel.Filters);
ApplicationModels\ViewDataAttributePageApplicationModelProviderTest.cs (1)
24Assert.Empty(context.PageApplicationModel.Filters);
Builder\PageActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (3)
36Assert.Empty(list); 57Assert.Empty(list); 198Assert.Empty(list);
DependencyInjection\PageConventionCollectionExtensionsTest.cs (56)
61model => Assert.Empty(model.EndpointMetadata), 65Assert.Empty(model.Filters); 71Assert.Empty(model.Filters); 96model => Assert.Empty(model.Filters), 127model => Assert.Empty(model.Filters), 131Assert.Empty(model.Filters); 153model => Assert.Empty(model.Filters), 185Assert.Empty(model.Filters); 192Assert.Empty(model.Filters); 270Assert.Empty(model.Filters); 277Assert.Empty(model.Filters); 285Assert.Empty(model.Filters); 352model => Assert.Empty(model.EndpointMetadata), 353model => Assert.Empty(model.EndpointMetadata), 357Assert.Empty(model.Filters); 363Assert.Empty(model.Filters); 366model => Assert.Empty(model.EndpointMetadata)); 389model => Assert.Empty(model.Filters), 390model => Assert.Empty(model.Filters), 401model => Assert.Empty(model.Filters)); 422model => Assert.Empty(model.Filters), 426Assert.Empty(model.Filters); 430model => Assert.Empty(model.Filters)); 451model => Assert.Empty(model.Filters), 459model => Assert.Empty(model.Filters)); 479model => Assert.Empty(model.Filters), 483Assert.Empty(model.Filters); 506model => Assert.Empty(model.Filters), 533model => Assert.Empty(model.Filters), 537Assert.Empty(model.Filters); 560model => Assert.Empty(model.Filters), 588model => Assert.Empty(model.Filters), 592Assert.Empty(model.Filters); 596model => Assert.Empty(model.Filters)); 617model => Assert.Empty(model.Filters), 625model => Assert.Empty(model.Filters)); 648model => Assert.Empty(model.Filters), 652Assert.Empty(model.Filters); 659Assert.Empty(model.Filters); 685model => Assert.Empty(model.Filters), 722model => Assert.Empty(model.Filters), 723model => Assert.Empty(model.Filters), 727Assert.Empty(model.Filters); 734Assert.Empty(model.Filters); 738model => Assert.Empty(model.Filters)); 761model => Assert.Empty(model.Filters), 762model => Assert.Empty(model.Filters), 777model => Assert.Empty(model.Filters)); 800model => Assert.Empty(model.EndpointMetadata), 801model => Assert.Empty(model.EndpointMetadata), 805Assert.Empty(model.Filters); 812Assert.Empty(model.Filters); 816model => Assert.Empty(model.Filters)); 839model => Assert.Empty(model.Filters), 840model => Assert.Empty(model.Filters), 855model => Assert.Empty(model.Filters));
Infrastructure\PageActionDescriptorProviderTest.cs (1)
29Assert.Empty(context.Results);
Infrastructure\PageActionEndpointDataSourceTest.cs (1)
46Assert.Empty(endpoints);
Infrastructure\PageActionInvokerProviderTest.cs (2)
144Assert.Empty(pageContext.ValueProviderFactories); 146Assert.Empty(pageContext.ViewStartFactories);
Infrastructure\PageBinderFactoryTest.cs (1)
652Assert.Empty(arguments);
Infrastructure\PageViewLocationExpanderTest.cs (1)
23Assert.Empty(context.Values);
Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests (8)
RouteDataTest.cs (6)
17Assert.Empty(routeData.DataTokens); 18Assert.Empty(routeData.Routers); 19Assert.Empty(routeData.Values); 115Assert.Empty(routeData.DataTokens); 117Assert.Empty(routeData.Routers); 119Assert.Empty(routeData.Values);
VirtualPathDataTests.cs (2)
24Assert.Empty(pathData.DataTokens); 61Assert.Empty(pathData.DataTokens);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (21)
AnchorTagHelperTest.cs (5)
133Assert.Empty(output.Attributes); 185Assert.Empty(output.Attributes); 243Assert.Empty(output.Attributes); 302Assert.Empty(output.Attributes); 360Assert.Empty(output.Attributes);
FormTagHelperTest.cs (5)
549Assert.Empty(output.Attributes); 673Assert.Empty(output.Attributes); 730Assert.Empty(output.Attributes); 788Assert.Empty(output.Attributes); 842Assert.Empty(output.Attributes);
LinkTagHelperTest.cs (2)
542Assert.Empty(output.Attributes); 561Assert.Empty(output.Attributes);
ScriptTagHelperTest.cs (2)
470Assert.Empty(output.Attributes); 490Assert.Empty(output.Attributes);
ValidationMessageTagHelperTest.cs (2)
284Assert.Empty(output.Attributes); 449Assert.Empty(output.Attributes);
ValidationSummaryTagHelperTest.cs (5)
131Assert.Empty(output.Attributes); 199Assert.Empty(output.Attributes); 386Assert.Empty(output.Attributes); 501Assert.Empty(output.Attributes); 557Assert.Empty(output.Attributes);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (39)
AttributeDictionaryTest.cs (2)
76Assert.Empty(attributes); 77Assert.Empty(attributes);
Buffers\ViewBufferTest.cs (1)
287Assert.Empty(nestedItems);
Builder\ControllerActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (3)
44Assert.Empty(list); 74Assert.Empty(list); 270Assert.Empty(list);
CookieTempDataProviderTest.cs (2)
64Assert.Empty(tempDataDictionary); 88Assert.Empty(tempDataDictionary);
DefaultValidationHtmlAttributeProviderTest.cs (4)
112Assert.Empty(attributes); 145Assert.Empty(attributes); 220Assert.Empty(attributes); 248Assert.Empty(attributes);
Filters\AntiforgeryApplicationModelProviderTest.cs (5)
41Assert.Empty(model.Filters); 68Assert.Empty(controller.Filters); 95Assert.Empty(controller.Filters); 116Assert.Empty(model.Filters); 121Assert.Empty(model.Filters);
Filters\TempDataApplicationModelProviderTest.cs (1)
28Assert.Empty(controller.Filters);
Filters\ViewDataAttributeApplicationModelProviderTest.cs (1)
26Assert.Empty(controller.Filters);
Infrastructure\TempDataSerializerTestBase.cs (1)
21Assert.Empty(tempDataDictionary);
ModelStateDictionaryExtensionsTest.cs (4)
242Assert.Empty(dictionary); 256Assert.Empty(dictionary); 270Assert.Empty(dictionary); 285Assert.Empty(dictionary);
RemoteAttributeTest.cs (2)
81Assert.Empty(attribute.RouteData); 170Assert.Empty(routeDictionary);
SessionStateTempDataProviderTest.cs (1)
55Assert.Empty(tempDataDictionary);
TempDataDictionaryTest.cs (1)
20Assert.Empty(tempData);
ViewComponents\DefaultViewComponentHelperTest.cs (1)
25Assert.Empty(argumentDictionary);
ViewComponentTests.cs (3)
230Assert.Empty(viewComponent.ViewContext.ViewData); 232Assert.Empty(viewComponent.ViewData); 253Assert.Empty(viewComponent.ViewContext.TempData);
ViewDataDictionaryOfTModelTest.cs (1)
26Assert.Empty(viewData);
ViewDataDictionaryTest.cs (2)
26Assert.Empty(viewData); 44Assert.Empty(viewData);
ViewDataOfTTest.cs (4)
56Assert.Empty(viewData); 57Assert.Empty(viewData); 61Assert.Empty(viewData.Keys); 73Assert.Empty(viewData.Values);
Microsoft.AspNetCore.OpenApi.Tests (66)
Comparers\OpenApiSchemaComparerTests.cs (1)
312Assert.Empty(propertyNames);
Extensions\OpenApiEndpointRouteBuilderExtensionsTests.cs (1)
200Assert.Empty(diagnostic.Errors);
Extensions\OpenApiRouteHandlerBuilderExtensionTests.cs (1)
59Assert.Empty(operation.Responses);
Extensions\OpenApiSchemaExtensionsTests.cs (1)
262Assert.Empty(propertyNames);
Services\OpenApiDocumentProviderTests.cs (1)
55Assert.Empty(diagnostic.Errors);
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Servers.cs (2)
83Assert.Empty(servers); 107Assert.Empty(servers);
Services\OpenApiGeneratorTests.cs (40)
86Assert.Empty(operation.Parameters); 104Assert.Empty(operation.Parameters); 119Assert.Empty(operation.Parameters); 140Assert.Empty(operation.Parameters); 185Assert.Empty(response.Value.Content); 240Assert.Empty(badRequestResponseType.Content); 334Assert.Empty(param.Content); 348Assert.Empty(param.Content); 360Assert.Empty(param.Content); 374Assert.Empty(param.Content); 386Assert.Empty(param.Content); 405Assert.Empty(param.Content); 411Assert.Empty(GetOpenApiOperation((IInferredServiceInterface foo) => { }).Parameters); 412Assert.Empty(GetOpenApiOperation(([FromServices] int foo) => { }).Parameters); 413Assert.Empty(GetOpenApiOperation(([FromKeyedServices("foo")] int foo) => { }).Parameters); 414Assert.Empty(GetOpenApiOperation((HttpContext context) => { }).Parameters); 415Assert.Empty(GetOpenApiOperation((HttpRequest request) => { }).Parameters); 416Assert.Empty(GetOpenApiOperation((HttpResponse response) => { }).Parameters); 417Assert.Empty(GetOpenApiOperation((ClaimsPrincipal user) => { }).Parameters); 418Assert.Empty(GetOpenApiOperation((CancellationToken token) => { }).Parameters); 419Assert.Empty(GetOpenApiOperation((BindAsyncRecord context) => { }).Parameters); 430Assert.Empty(operation.Parameters); 449Assert.Empty(fooParam.Content); 455Assert.Empty(barParam.Content); 476Assert.Empty(param.Content); 483Assert.Empty(param.Content); 508Assert.Empty(fooParam.Content); 514Assert.Empty(barParam.Content); 666Assert.Empty(operation.Parameters); 693Assert.Empty(operation.Parameters); 709Assert.Empty(operation.Parameters); 723Assert.Empty(operation.Parameters); 737Assert.Empty(operation.Parameters); 751Assert.Empty(operation.Parameters); 765Assert.Empty(operation.Parameters); 779Assert.Empty(operation.Parameters); 799Assert.Empty(operation.Parameters); 829Assert.Empty(operation.Parameters); 852Assert.Empty(operation.Parameters); 914Assert.Empty(operationWithNoParams.Parameters);
Services\OpenApiSchemaService\OpenApiSchemaService.RequestBodySchemas.cs (1)
314Assert.Empty(schema.AnyOf);
Transformers\OpenApiOptionsTests.cs (18)
27Assert.Empty(options.OperationTransformers); 28Assert.Empty(options.SchemaTransformers); 45Assert.Empty(options.OperationTransformers); 46Assert.Empty(options.SchemaTransformers); 62Assert.Empty(options.OperationTransformers); 63Assert.Empty(options.SchemaTransformers); 84Assert.Empty(options.DocumentTransformers); 85Assert.Empty(options.SchemaTransformers); 102Assert.Empty(options.DocumentTransformers); 103Assert.Empty(options.SchemaTransformers); 119Assert.Empty(options.DocumentTransformers); 120Assert.Empty(options.SchemaTransformers); 141Assert.Empty(options.DocumentTransformers); 142Assert.Empty(options.OperationTransformers); 159Assert.Empty(options.DocumentTransformers); 160Assert.Empty(options.OperationTransformers); 176Assert.Empty(options.DocumentTransformers); 177Assert.Empty(options.OperationTransformers);
Microsoft.AspNetCore.OutputCaching.Tests (26)
CachedResponseBodyTests.cs (1)
39Assert.Empty(receivedSegments);
OutputCacheMiddlewareTests.cs (12)
166Assert.Empty(sink.Writes); 286Assert.Empty(sink.Writes); 300Assert.Empty(sink.Writes); 347Assert.Empty(sink.Writes); 415Assert.Empty(sink.Writes); 438Assert.Empty(sink.Writes); 466Assert.Empty(sink.Writes); 492Assert.Empty(sink.Writes); 530Assert.Empty(sink.Writes); 548Assert.Empty(sink.Writes); 570Assert.Empty(sink.Writes); 585Assert.Empty(sink.Writes);
OutputCachePolicyProviderTests.cs (13)
58Assert.Empty(sink.Writes); 107Assert.Empty(sink.Writes); 123Assert.Empty(sink.Writes); 137Assert.Empty(sink.Writes); 155Assert.Empty(sink.Writes); 173Assert.Empty(sink.Writes); 191Assert.Empty(sink.Writes); 219Assert.Empty(sink.Writes); 237Assert.Empty(sink.Writes); 253Assert.Empty(sink.Writes); 347Assert.Empty(sink.Writes); 370Assert.Empty(sink.Writes); 393Assert.Empty(sink.Writes);
Microsoft.AspNetCore.RateLimiting.Tests (12)
RateLimitingMetricsTests.cs (12)
50Assert.Empty(currentLeaseRequestsCollector.GetMeasurementSnapshot()); 51Assert.Empty(leaseRequestDurationCollector.GetMeasurementSnapshot()); 52Assert.Empty(currentRequestsQueuedCollector.GetMeasurementSnapshot()); 53Assert.Empty(queuedRequestDurationCollector.GetMeasurementSnapshot()); 98Assert.Empty(leaseRequestDurationCollector.GetMeasurementSnapshot()); 112Assert.Empty(currentRequestsQueuedCollector.GetMeasurementSnapshot()); 113Assert.Empty(queuedRequestDurationCollector.GetMeasurementSnapshot()); 162Assert.Empty(currentLeaseRequestsCollector.GetMeasurementSnapshot()); 223Assert.Empty(queuedRequestDurationCollector.GetMeasurementSnapshot()); 297Assert.Empty(currentRequestsQueuedCollector.GetMeasurementSnapshot()); 298Assert.Empty(queuedRequestDurationCollector.GetMeasurementSnapshot()); 306Assert.Empty(currentRequestsQueuedCollector.GetMeasurementSnapshot());
Microsoft.AspNetCore.Razor.Runtime.Test (2)
Runtime\TagHelpers\TagHelperScopeManagerTest.cs (2)
102Assert.Empty(parentExecutionContext.Items); 118Assert.Empty(executionContext.Items);
Microsoft.AspNetCore.Razor.Test (4)
TagHelpers\TagHelperAttributeListTest.cs (1)
593Assert.Empty(attributes);
TagHelpers\TagHelperContextTest.cs (1)
40Assert.Empty(context.AllAttributes);
TagHelpers\TagHelperOutputTest.cs (2)
48Assert.Empty(output.Attributes); 1085Assert.Empty(output.Attributes);
Microsoft.AspNetCore.ResponseCaching.Tests (28)
CachedResponseBodyTests.cs (1)
47Assert.Empty(receivedSegments);
ResponseCachingMiddlewareTests.cs (14)
184Assert.Empty(sink.Writes); 285Assert.Empty(sink.Writes); 297Assert.Empty(sink.Writes); 340Assert.Empty(sink.Writes); 413Assert.Empty(sink.Writes); 428Assert.Empty(sink.Writes); 441Assert.Empty(sink.Writes); 464Assert.Empty(sink.Writes); 489Assert.Empty(sink.Writes); 514Assert.Empty(sink.Writes); 614Assert.Empty(sink.Writes); 632Assert.Empty(sink.Writes); 651Assert.Empty(sink.Writes); 666Assert.Empty(sink.Writes);
ResponseCachingPolicyProviderTests.cs (13)
33Assert.Empty(sink.Writes); 93Assert.Empty(sink.Writes); 137Assert.Empty(sink.Writes); 152Assert.Empty(sink.Writes); 178Assert.Empty(sink.Writes); 279Assert.Empty(sink.Writes); 376Assert.Empty(sink.Writes); 418Assert.Empty(sink.Writes); 460Assert.Empty(sink.Writes); 496Assert.Empty(sink.Writes); 514Assert.Empty(sink.Writes); 555Assert.Empty(sink.Writes); 598Assert.Empty(sink.Writes);
Microsoft.AspNetCore.ResponseCompression.Tests (2)
ResponseCompressionMiddlewareTest.cs (2)
1007Assert.Empty(response.Content.Headers.ContentEncoding); 1326Assert.Empty(response.Content.Headers.ContentEncoding);
Microsoft.AspNetCore.Routing.Tests (158)
Builder\OpenApiRouteHandlerBuilderExtensionsTest.cs (1)
68Assert.Empty(metadata.ContentTypes);
ConstraintMatcherTest.cs (5)
40Assert.Empty(sink.Scopes); 43Assert.Empty(sink.Writes); 60Assert.Empty(sink.Scopes); 77Assert.Empty(sink.Scopes); 78Assert.Empty(sink.Writes);
DecisionTreeBuilderTest.cs (7)
18Assert.Empty(tree.Criteria); 19Assert.Empty(tree.Matches); 35Assert.Empty(tree.Criteria); 55Assert.Empty(tree.Matches); 100Assert.Empty(tree.Matches); 152Assert.Empty(tree.Matches); 185Assert.Empty(tree.Matches);
EndpointNameAddressSchemeTest.cs (4)
48Assert.Empty(endpoints); 65Assert.Empty(endpoints); 117Assert.Empty(addressScheme.Entries); 147Assert.Empty(addressScheme.Entries);
EndpointRoutingMiddlewareTest.cs (1)
86Assert.Empty(sink.Scopes);
InlineRouteParameterParserTests.cs (4)
24Assert.Empty(templatePart.InlineConstraints); 36Assert.Empty(templatePart.InlineConstraints); 74Assert.Empty(templatePart.InlineConstraints); 940Assert.Empty(templatePart.InlineConstraints);
Matching\DataSourceDependentMatcherTest.cs (4)
24Assert.Empty(inner.Endpoints); 76Assert.Empty(inner.Endpoints); 93Assert.Empty(inner.Endpoints); 115Assert.Empty(inner.Endpoints);
Matching\DfaMatcherBuilderTest.cs (20)
3201Assert.Empty(candidate.Slots); 3202Assert.Empty(candidate.Captures); 3204Assert.Empty(candidate.ComplexSegments); 3205Assert.Empty(candidate.Constraints); 3228Assert.Empty(candidate.ComplexSegments); 3229Assert.Empty(candidate.Constraints); 3258Assert.Empty(candidate.ComplexSegments); 3259Assert.Empty(candidate.Constraints); 3289Assert.Empty(candidate.ComplexSegments); 3290Assert.Empty(candidate.Constraints); 3321Assert.Empty(candidate.ComplexSegments); 3322Assert.Empty(candidate.Constraints); 3353Assert.Empty(candidate.Constraints); 3369Assert.Empty(candidate.Slots); 3370Assert.Empty(candidate.Captures); 3372Assert.Empty(candidate.ComplexSegments); 3458Assert.Empty(candidate.Slots); 3459Assert.Empty(candidate.Captures); 3461Assert.Empty(candidate.ComplexSegments); 3462Assert.Empty(candidate.Constraints);
Matching\DfaMatcherTest.cs (6)
403Assert.Empty(set.candidates); 508Assert.Empty(set.candidates); 702Assert.Empty(cs[0].Values); 707Assert.Empty(cs[1].Values); 749Assert.Empty(cs[0].Values); 754Assert.Empty(cs[1].Values);
Patterns\InlineRouteParameterParserTest.cs (6)
19Assert.Empty(templatePart.ParameterPolicies); 31Assert.Empty(templatePart.ParameterPolicies); 43Assert.Empty(templatePart.ParameterPolicies); 55Assert.Empty(templatePart.ParameterPolicies); 67Assert.Empty(templatePart.ParameterPolicies); 933Assert.Empty(templatePart.ParameterPolicies);
Patterns\RoutePatternMatcherTest.cs (5)
251Assert.Empty(values); 282Assert.Empty(values); 298Assert.Empty(values); 948Assert.Empty(values); 966Assert.Empty(values);
RouteCollectionTest.cs (8)
54Assert.Empty(pathData.DataTokens); 82Assert.Empty(pathData.DataTokens); 120Assert.Empty(pathData.DataTokens); 233Assert.Empty(context.RouteData.Routers); 254Assert.Empty(pathData.DataTokens); 288Assert.Empty(pathData.DataTokens); 395Assert.Empty(pathData.DataTokens); 450Assert.Empty(pathData.DataTokens);
RouterMiddlewareTest.cs (3)
91Assert.Empty(sink.Scopes); 122Assert.Empty(sink.Scopes); 123Assert.Empty(sink.Writes);
RouteTest.cs (35)
408Assert.Empty(context.RouteData.Values); 612Assert.Empty(pathData.DataTokens); 644Assert.Empty(pathData.DataTokens); 677Assert.Empty(pathData.DataTokens); 695Assert.Empty(pathData.DataTokens); 713Assert.Empty(pathData.DataTokens); 731Assert.Empty(pathData.DataTokens); 749Assert.Empty(pathData.DataTokens); 848Assert.Empty(pathData.DataTokens); 864Assert.Empty(pathData.DataTokens); 905Assert.Empty(pathData.DataTokens); 946Assert.Empty(pathData.DataTokens); 980Assert.Empty(pathData.DataTokens); 1011Assert.Empty(pathData.DataTokens); 1042Assert.Empty(pathData.DataTokens); 1072Assert.Empty(pathData.DataTokens); 1103Assert.Empty(pathData.DataTokens); 1122Assert.Empty(pathData.DataTokens); 1154Assert.Empty(pathData.DataTokens); 1171Assert.Empty(pathData.DataTokens); 1203Assert.Empty(pathData.DataTokens); 1226Assert.Empty(pathData.DataTokens); 1248Assert.Empty(pathData.DataTokens); 1270Assert.Empty(pathData.DataTokens); 1292Assert.Empty(pathData.DataTokens); 1314Assert.Empty(pathData.DataTokens); 1336Assert.Empty(pathData.DataTokens); 1358Assert.Empty(pathData.DataTokens); 1380Assert.Empty(pathData.DataTokens); 1402Assert.Empty(pathData.DataTokens); 1426Assert.Empty(pathData.DataTokens); 1450Assert.Empty(pathData.DataTokens); 1474Assert.Empty(pathData.DataTokens); 1498Assert.Empty(pathData.DataTokens); 1599Assert.Empty(templateRoute.Constraints);
RouteValuesAddressSchemeTest.cs (2)
174Assert.Empty(foundEndpoints); 396Assert.Empty(allMatches);
Template\TemplateMatcherTests.cs (5)
250Assert.Empty(values); 281Assert.Empty(values); 297Assert.Empty(values); 947Assert.Empty(values); 965Assert.Empty(values);
Tree\LinkGenerationDecisionTreeTest.cs (2)
159Assert.Empty(matches); 181Assert.Empty(matches);
Tree\TreeRouteBuilderTest.cs (7)
94Assert.Empty(secondSegment.Matches); 126Assert.Empty(secondSegment.Matches); 130Assert.Empty(thirdSegment.Value.Matches); 134Assert.Empty(fourthSegment.Matches); 170Assert.Empty(secondSegment.Matches); 202Assert.Empty(secondSegment.Matches); 234Assert.Empty(secondSegment.Matches);
Tree\TreeRouterTest.cs (33)
822Assert.Empty(result.DataTokens); 845Assert.Empty(result.DataTokens); 877Assert.Empty(result.DataTokens); 909Assert.Empty(result.DataTokens); 944Assert.Empty(result.DataTokens); 990Assert.Empty(result.DataTokens); 1027Assert.Empty(result.DataTokens); 1057Assert.Empty(result.DataTokens); 1087Assert.Empty(result.DataTokens); 1145Assert.Empty(result.DataTokens); 1231Assert.Empty(result.DataTokens); 1251Assert.Empty(pathData.DataTokens); 1271Assert.Empty(pathData.DataTokens); 1308Assert.Empty(pathData.DataTokens); 1328Assert.Empty(pathData.DataTokens); 1348Assert.Empty(pathData.DataTokens); 1373Assert.Empty(pathData.DataTokens); 1393Assert.Empty(pathData.DataTokens); 1414Assert.Empty(pathData.DataTokens); 1452Assert.Empty(pathData.DataTokens); 1472Assert.Empty(pathData.DataTokens); 1494Assert.Empty(pathData.DataTokens); 1519Assert.Empty(pathData.DataTokens); 1544Assert.Empty(pathData.DataTokens); 1571Assert.Empty(pathData.DataTokens); 1598Assert.Empty(pathData.DataTokens); 1692Assert.Empty(pathData.DataTokens); 1810Assert.Empty(context.RouteData.Routers); 1852Assert.Empty(context.RouteData.Routers); 1915Assert.Empty(pathData.DataTokens); 1937Assert.Empty(pathData.DataTokens); 1959Assert.Empty(pathData.DataTokens); 1981Assert.Empty(pathData.DataTokens);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (15)
AuthenticationTests.cs (3)
40Assert.Empty(response.Headers.WwwAuthenticate); 215Assert.Empty(response.Headers.WwwAuthenticate); 345Assert.Empty(response.Headers.WwwAuthenticate);
Listener\AuthenticationOnExistingQueueTests.cs (1)
70Assert.Empty(response.Headers.WwwAuthenticate);
Listener\ResponseHeaderTests.cs (4)
90Assert.Empty(response.Content.Headers); 119Assert.Empty(response.Content.Headers); 177Assert.Empty(response.Content.Headers); 200Assert.Empty(response.Content.Headers);
ResponseSendFileTests.cs (2)
210Assert.Empty((await response.Content.ReadAsByteArrayAsync())); 273Assert.Empty((await response.Content.ReadAsByteArrayAsync()));
ResponseTrailersTests.cs (5)
35Assert.Empty(response.TrailingHeaders); 53Assert.Empty(response.TrailingHeaders); 74Assert.Empty(response.TrailingHeaders); 142Assert.Empty(response.TrailingHeaders); 219Assert.Empty(response.TrailingHeaders);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (25)
Http2\Http2HPackEncoderTests.cs (2)
372Assert.Empty(GetHeaderEntries(hpackEncoder)); 389Assert.Empty(GetHeaderEntries(hpackEncoder));
HttpRequestHeadersTests.cs (3)
25Assert.Empty(headers); 323Assert.Empty(headers); 361Assert.Empty(headers);
HttpResponseHeadersTests.cs (1)
49Assert.Empty(headers);
KestrelServerTests.cs (4)
164Assert.Empty(warnings); 165Assert.Empty(infos); 173Assert.Empty(warnings); 183Assert.Empty(infos);
SniOptionsSelectorTests.cs (1)
910Assert.Empty(propertyNames);
src\Shared\test\Shared.Tests\runtime\Http2\HPackDecoderTest.cs (13)
179Assert.Empty(_handler.DecodedHeaders); 255Assert.Empty(_handler.DecodedHeaders); 279Assert.Empty(_handler.DecodedHeaders); 303Assert.Empty(_handler.DecodedHeaders); 327Assert.Empty(_handler.DecodedHeaders); 373Assert.Empty(_handler.DecodedHeaders); 405Assert.Empty(_handler.DecodedHeaders); 500Assert.Empty(_handler.DecodedHeaders); 609Assert.Empty(_handler.DecodedHeaders); 666Assert.Empty(_handler.DecodedHeaders); 678Assert.Empty(_handler.DecodedHeaders); 869Assert.Empty(_handler.DecodedHeaders); 904Assert.Empty(_handler.DecodedHeaders);
src\Shared\test\Shared.Tests\runtime\Http3\QPackDecoderTest.cs (1)
297Assert.Empty(_handler.DecodedHeaders);
Microsoft.AspNetCore.Server.Kestrel.Tests (8)
KestrelConfigurationLoaderTests.cs (8)
85Assert.Empty(serverOptions.GetListenOptions()); 102Assert.Empty(serverOptions.GetListenOptions()); 130Assert.Empty(serverOptions.GetListenOptions()); 1737Assert.Empty(serverOptions.ConfigurationBackedListenOptions); 1750Assert.Empty(serverOptions.ConfigurationBackedListenOptions); 1769Assert.Empty(serverOptions.ConfigurationBackedListenOptions); 1776Assert.Empty(serverOptions.ConfigurationBackedListenOptions); 1855Assert.Empty(serverOptions.GetListenOptions());
Microsoft.AspNetCore.Session.Tests (1)
SessionTests.cs (1)
827Assert.Empty(sink.Writes);
Microsoft.AspNetCore.Shared.Tests (37)
AdaptiveCapacityDictionaryTests.cs (14)
24Assert.Empty(dict); 25Assert.Empty(dict._arrayStorage); 37Assert.Empty(dict); 38Assert.Empty(dict._arrayStorage); 296Assert.Empty(keys); 327Assert.Empty(values); 467Assert.Empty(dict); 483Assert.Empty(dict); 683Assert.Empty(dict); 703Assert.Empty(dict); 806Assert.Empty(dict); 824Assert.Empty(dict); 891Assert.Empty(dict); 911Assert.Empty(dict);
CommandLineApplicationTests.cs (4)
732Assert.Empty(app.RemainingArguments); 734Assert.Empty(subCmd.RemainingArguments); 753Assert.Empty(app.RemainingArguments); 754Assert.Empty(testCmd.RemainingArguments);
PropertyHelperTest.cs (3)
192Assert.Empty(properties); 639Assert.Empty(dictValues); 653Assert.Empty(dictValues);
QueryStringEnumerableTest.cs (1)
74Assert.Empty(Parse(queryString));
runtime\Http2\HPackDecoderTest.cs (13)
179Assert.Empty(_handler.DecodedHeaders); 255Assert.Empty(_handler.DecodedHeaders); 279Assert.Empty(_handler.DecodedHeaders); 303Assert.Empty(_handler.DecodedHeaders); 327Assert.Empty(_handler.DecodedHeaders); 373Assert.Empty(_handler.DecodedHeaders); 405Assert.Empty(_handler.DecodedHeaders); 500Assert.Empty(_handler.DecodedHeaders); 609Assert.Empty(_handler.DecodedHeaders); 666Assert.Empty(_handler.DecodedHeaders); 678Assert.Empty(_handler.DecodedHeaders); 869Assert.Empty(_handler.DecodedHeaders); 904Assert.Empty(_handler.DecodedHeaders);
runtime\Http3\QPackDecoderTest.cs (1)
297Assert.Empty(_handler.DecodedHeaders);
SegmentWriteStreamTests.cs (1)
37Assert.Empty(stream.GetSegments());
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (6)
HubConnectionTests.cs (2)
809Assert.Empty(results); 856Assert.Empty(results);
HubConnectionTests.Tracing.cs (4)
149Assert.Empty(a.Baggage); 182Assert.Empty(a.Baggage); 321Assert.Empty(a.Baggage); 344Assert.Empty(a.Baggage);
Microsoft.AspNetCore.SignalR.Client.Tests (2)
HttpConnectionFactoryTests.cs (1)
123Assert.Empty(testValues);
HubConnectionTests.Protocol.cs (1)
262Assert.Empty(await channel.ReadAndCollectAllAsync().DefaultTimeout());
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Internal\Protocol\MemoryBufferWriterTests.cs (1)
45Assert.Empty(data);
Microsoft.AspNetCore.SignalR.Tests (5)
AddSignalRTests.cs (1)
87Assert.Empty(serviceProvider.GetRequiredService<IOptions<HubOptions<CustomHub>>>().Value.SupportedProtocols);
HubReflectionHelperTests.cs (1)
17Assert.Empty(hubMethods);
Internal\TypedClientBuilderTests.cs (3)
122Assert.Empty(send2.Arguments); 241Assert.Empty(clientProxy.Sends); 270Assert.Empty(send2.Arguments);
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
StaticFileMiddlewareTests.cs (1)
207Assert.Empty((await response.Content.ReadAsByteArrayAsync()));
Microsoft.AspNetCore.StaticFiles.Tests (4)
DefaultFilesMiddlewareTests.cs (1)
269Assert.Empty((await response.Content.ReadAsByteArrayAsync()));
DirectoryBrowserMiddlewareTests.cs (2)
273Assert.Empty((await response.Content.ReadAsByteArrayAsync())); 373Assert.Empty((await response.Content.ReadAsByteArrayAsync()));
StaticFileMiddlewareTests.cs (1)
484Assert.Empty((await response.Content.ReadAsByteArrayAsync()));
Microsoft.AspNetCore.TestHost.Tests (3)
ClientHandlerTests.cs (3)
223Assert.Empty(response.TrailingHeaders); 230Assert.Empty(response.TrailingHeaders); 239Assert.Empty(response.TrailingHeaders);
Microsoft.AspNetCore.WebUtilities.Tests (2)
PagedByteBufferTest.cs (1)
163Assert.Empty(buffer.Pages);
QueryHelpersTests.cs (1)
101Assert.Empty(collection);
Microsoft.Build.CommandLine.UnitTests (5)
CommandLineSwitches_Tests.cs (5)
812Assert.Empty(parameters); 826Assert.Empty(parameters); 855Assert.Empty(parameters); 1318Assert.Empty(actualWarningsAsErrors); 1359Assert.Empty(actualWarningsAsErrors);
Microsoft.Build.Engine.OM.UnitTests (67)
Construction\ProjectImportElement_Tests.cs (1)
31Assert.Empty(project.Imports);
Construction\ProjectImportGroupElement_Tests.cs (2)
149Assert.Empty(project.Imports); 169Assert.Empty(project.Imports);
Construction\ProjectItemDefinitionGroupElement_Tests.cs (1)
27Assert.Empty(project.ItemDefinitionGroups);
Construction\ProjectItemElement_Tests.cs (2)
964Assert.Empty(Helpers.MakeList(project.Items)); 996Assert.Empty(Helpers.MakeList(project.Items));
Construction\ProjectItemGroupElement_tests.cs (1)
27Assert.Empty(project.ItemGroups);
Construction\ProjectMetadataElement_Tests.cs (4)
1063Assert.Empty(items[0].Metadata); 1103Assert.Empty(itemDefinitions[0].Metadata); 1174Assert.Empty(items[0].Metadata); 1221Assert.Empty(itemDefinitions[0].Metadata);
Construction\ProjectPropertyGroupElement_Tests.cs (1)
26Assert.Empty(project.PropertyGroups);
Construction\ProjectRootElement_Tests.cs (2)
476Assert.Empty(root2.Items); 1079Assert.Empty(collection.LoadedProjects);
Construction\ProjectTargetElement_Tests.cs (1)
44Assert.Empty(project.Targets);
Construction\ProjectTaskElement_Tests.cs (2)
37Assert.Empty(parameters); 246Assert.Empty(parameters);
Construction\ProjectUsingTaskElement_Tests.cs (1)
28Assert.Empty(project.UsingTasks);
Construction\SolutionFile_Tests.cs (7)
194Assert.Empty(consoleApplication1.Dependencies); 199Assert.Empty(vbClassLibrary.Dependencies); 204Assert.Empty(classLibrary1.Dependencies); 276Assert.Empty(classLibrary1.Dependencies); 282Assert.Empty(myPhysicalFolderClassLibrary1.Dependencies); 287Assert.Empty(classLibrary2.Dependencies); 375Assert.Empty(solution.ProjectsInOrder[2].Dependencies);
Construction\UsingTaskParameterGroup_Tests.cs (1)
68Assert.Empty(parameterGroup.Parameters);
Construction\WhiteSpacePreservation_Tests.cs (1)
515Assert.Empty(Regex.Matches(projectResults, @"\r\n", RegexOptions.Multiline));
Definition\DefinitionEditing_Tests.cs (7)
335Assert.Empty(items); 1195Assert.Empty(Helpers.MakeList(project.GetItems("i"))); 1196Assert.Empty(Helpers.MakeList(project.GetItemsIgnoringCondition("i"))); 1313Assert.Empty(Helpers.MakeList(project.CreateProjectInstance().GetItems("i"))); 1437Assert.Empty(Helpers.MakeList(project.GetItems("i"))); 1447Assert.Empty(itemsIgnoringCondition); 2256Assert.Empty(items);
Definition\ProjectCollection_Tests.cs (7)
53Assert.Empty(ProjectCollection.GlobalProjectCollection.GlobalProperties); 587Assert.Empty(project1.GlobalProperties); 636Assert.Empty(project1.GlobalProperties); 668Assert.Empty(project1.GlobalProperties); 669Assert.Empty(project2.GlobalProperties); 688Assert.Empty(project1.GlobalProperties); 705Assert.Empty(Helpers.MakeList(ProjectCollection.GlobalProjectCollection.LoadedProjects));
Definition\ProjectItem_Tests.cs (1)
2372Assert.Empty(items);
Definition\ProjectItemDefinition_Tests.cs (1)
88Assert.Empty(metadataList);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (23)
182Assert.Empty(xmlPair.QueryChildrenWithValidation<ProjectTargetElement>((t) => string.Equals(t.Name, NewTargetName))); 186Assert.Empty(xmlPair.QueryChildrenWithValidation<ProjectTargetElement>((t) => string.Equals(t.Name, NewTargetRenamed))); 187Assert.Empty(xmlPair.QueryChildrenWithValidation<ProjectTargetElement>((t) => string.Equals(t.Name, NewTargetName))); 201Assert.Empty(newTarget1.View.Tasks); 207Assert.Empty(newTarget1.View.ItemGroups); 208Assert.Empty(newTarget1.View.PropertyGroups); 383Assert.Empty(choose.View.WhenElements); 417Assert.Empty(when.View.ChooseElements); 421Assert.Empty(when.View.ItemGroups); 425Assert.Empty(when.View.PropertyGroups); 434Assert.Empty(when.View.ChooseElements); 455Assert.Empty(otherwise.View.ChooseElements); 459Assert.Empty(otherwise.View.ItemGroups); 463Assert.Empty(otherwise.View.PropertyGroups); 472Assert.Empty(otherwise.View.ChooseElements); 542Assert.Empty(taskParamGroup.View.Parameters); 600Assert.Empty(importGroup.View.Imports); 614Assert.Empty(itemDef.View.Metadata); 632Assert.Empty(itemDefGrp.View.ItemDefinitions); 670Assert.Empty(item.View.Metadata); 696Assert.Empty(itemGrp.View.Items); 731Assert.Empty(propGrp.View.Properties); 732Assert.Empty(propGrp.View.PropertiesReversed);
ObjectModelRemoting\LinkedSpecialCasesScenarios.cs (1)
173Assert.Empty(newCopyFrom.View.Items);
Microsoft.Build.Engine.UnitTests (83)
BackEnd\BuildManager_Tests.cs (6)
1053Assert.Empty(_logger.TargetStartedEvents); 1054Assert.Empty(_logger.TargetFinishedEvents); 1055Assert.Empty(_logger.TaskStartedEvents); 1056Assert.Empty(_logger.TaskFinishedEvents); 3709Assert.Empty(mainInstance.GlobalProperties); 3744Assert.Empty(p2pInstance.GlobalProperties);
BackEnd\BuildRequest_Tests.cs (1)
72Assert.Empty(request.Targets);
BackEnd\IntrinsicTask_Tests.cs (16)
81Assert.Empty(properties); 703Assert.Empty(i1Group); 1631Assert.Empty(lookup.GetItems("i1")); 1649Assert.Empty(lookup.GetItems("i1")); 1712Assert.Empty(lookup.GetItems("i1")); 1731Assert.Empty(lookup.GetItems("i1")); 1750Assert.Empty(lookup.GetItems("i1")); 2304Assert.Empty(p.ItemsToBuildWith["i0"]); 2305Assert.Empty(p.ItemsToBuildWith.ItemTypes); 2337Assert.Empty(p.ItemsToBuildWith["i0"]); 2338Assert.Empty(p.ItemsToBuildWith.ItemTypes); 2411Assert.Empty(p.ItemsToBuildWith["i0"]); 2412Assert.Empty(p.ItemsToBuildWith.ItemTypes); 2455Assert.Empty(p.ItemsToBuildWith["i1"]); 2834Assert.Empty(lookup.GetItems("i1")); 3260Assert.Empty(p.ItemsToBuildWith["i1"]);
BackEnd\LoggingService_Tests.cs (2)
602Assert.Empty(_initializedService.LoggerDescriptions); 651Assert.Empty(loggingService.LoggerDescriptions); // "Expected LoggerDescriptions to be empty"
BackEnd\Lookup_Tests.cs (16)
72Assert.Empty(lookup.GetItems("i1")); 278Assert.Empty(lookup.GetItems("i1")); 284Assert.Empty(lookup.GetItems("i1")); 294Assert.Empty(lookup.GetItems("i1")); 297Assert.Empty(table1["i1"]); 333Assert.Empty(lookup.GetItems("i1")); 342Assert.Empty(lookup.GetItems("i1")); 345Assert.Empty(lookup2.GetItems("i1")); 351Assert.Empty(lookup.GetItems("i1")); 352Assert.Empty(lookup2.GetItems("i1")); 379Assert.Empty(lookup.GetItems("i1")); 385Assert.Empty(lookup.GetItems("i1")); 391Assert.Empty(lookup.GetItems("i1")); 1157Assert.Empty(group3); 1194Assert.Empty(group3); 1200Assert.Empty(table1["i1"]);
BackEnd\TargetBuilder_Tests.cs (1)
110Assert.Empty(result["Empty"].Items);
BackEnd\TargetEntry_Tests.cs (6)
174Assert.Empty(deps); 217Assert.Empty(taskBuilder.ExecutedTasks); 364Assert.Empty(results.Items); 381Assert.Empty(results.Items); 401Assert.Empty(results.Items); 474Assert.Empty(results.Items);
BackEnd\TargetResult_Tests.cs (1)
29Assert.Empty(result.Items);
BackEnd\TaskHostTaskComplete_Tests.cs (1)
126Assert.Empty(deserializedComplete.TaskOutputParameters);
BackEnd\TaskRegistry_Tests.cs (2)
1230Assert.Empty(registeredTaskRecords[0].ParameterGroupAndTaskBody.UsingTaskParameters); 1285Assert.Empty(inlineTaskRecord.UsingTaskParameters);
Collections\MultiDictionary_Tests.cs (1)
119Assert.Empty(values);
Collections\OMcollections_tests.cs (6)
58Assert.Empty(properties); 130Assert.Empty(list); 141Assert.Empty(list); 146Assert.Empty(items["j"]); 189Assert.Empty(dictionary); 199Assert.Empty(dictionary);
Construction\SolutionProjectGenerator_Tests.cs (5)
1898Assert.Empty(ProjectCollection.GlobalProjectCollection.LoadedProjects); 1902Assert.Empty(ProjectCollection.GlobalProjectCollection.LoadedProjects); 1955Assert.Empty(ProjectCollection.GlobalProjectCollection.LoadedProjects); 1960Assert.Empty(ProjectCollection.GlobalProjectCollection.LoadedProjects); 2054Assert.Empty(logger.Errors);
Definition\ToolsetConfigurationReader_Tests.cs (3)
53Assert.Empty(msbuildToolsetSection.Toolsets); 88Assert.Empty(msbuildToolsetSection.Toolsets.GetElement(0).AllProjectImportSearchPaths); 188Assert.Empty(msbuildToolsetSection.Toolsets.GetElement(0).AllProjectImportSearchPaths);
Definition\ToolsVersion_Tests.cs (4)
91Assert.Empty(taskoverrideRegistry.TaskRegistrations); 110Assert.Empty(taskoverrideRegistry.TaskRegistrations); 129Assert.Empty(taskoverrideRegistry.TaskRegistrations); 149Assert.Empty(taskoverrideRegistry.TaskRegistrations);
Evaluation\Evaluator_Tests.cs (5)
1729Assert.Empty(project.GetItems("i")); 1810Assert.Empty(project.GetItems("i")); 2204Assert.Empty(project.AllEvaluatedItemDefinitionMetadata); 2227Assert.Empty(project.AllEvaluatedItemDefinitionMetadata); 2228Assert.Empty(project.AllEvaluatedItems);
Evaluation\Expander_Tests.cs (1)
738Assert.Empty(items[5].Metadata);
Evaluation\ExpressionShredder_Tests.cs (3)
518Assert.Empty(messages); 567Assert.Empty(messages); 629Assert.Empty(matches);
Evaluation\ProjectSdkImplicitImport_Tests.cs (1)
335Assert.Empty(project.Imports);
ExpressionTree_Tests.cs (1)
344Assert.Empty(conditionedProperties);
TypeLoader_Tests.cs (1)
206Assert.Empty(Directory.EnumerateFiles(tempDirectoryPath));
Microsoft.Build.Tasks.UnitTests (78)
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (5)
3039Assert.Empty(t.ResolvedDependencyFiles); 3040Assert.Empty(t.SatelliteFiles); 3041Assert.Empty(t.RelatedFiles); 3042Assert.Empty(t.SuggestedRedirects); 3043Assert.Empty(t.FilesWritten);
AssemblyDependency\SuggestedRedirects.cs (5)
209Assert.Empty(t.SuggestedRedirects); 254Assert.Empty(t.SuggestedRedirects); 294Assert.Empty(t.SuggestedRedirects); 417Assert.Empty(t.SuggestedRedirects); 460Assert.Empty(t.SuggestedRedirects);
AssignCulture_Tests.cs (1)
178Assert.Empty(t.AssignedFilesWithCulture);
AssignLinkMetadata_Tests.cs (5)
36Assert.Empty(t.OutputItems); 57Assert.Empty(t.OutputItems); 127Assert.Empty(t.OutputItems); 149Assert.Empty(t.OutputItems); 169Assert.Empty(t.OutputItems);
Copy_Tests.cs (1)
733Assert.Empty(t.CopiedFiles);
CreateItem_Tests.cs (4)
64Assert.Empty(t.Include); 119Assert.Empty(t.Include); 134Assert.Empty(t.Include); 153Assert.Empty(t.Include);
Exec_Tests.cs (4)
128Assert.Empty(tempFiles); 141Assert.Empty(tempFiles); 828Assert.Empty(exec.Outputs); 912Assert.Empty(exec.ConsoleOutput);
GetSDKReference_Tests.cs (23)
356Assert.Empty(t.CopyLocalFiles); 357Assert.Empty(t.References); 358Assert.Empty(t.RedistFiles); 381Assert.Empty(t.CopyLocalFiles); 382Assert.Empty(t.References); 383Assert.Empty(t.RedistFiles); 407Assert.Empty(t.CopyLocalFiles); 408Assert.Empty(t.References); 409Assert.Empty(t.RedistFiles); 530Assert.Empty(t.References); 556Assert.Empty(t.CopyLocalFiles); 674Assert.Empty(t.CopyLocalFiles); 723Assert.Empty(t.CopyLocalFiles); 815Assert.Empty(t.CopyLocalFiles); 867Assert.Empty(t.CopyLocalFiles); 918Assert.Empty(t.CopyLocalFiles); 955Assert.Empty(t.CopyLocalFiles); 1017Assert.Empty(t.CopyLocalFiles); 1048Assert.Empty(t.CopyLocalFiles); 1080Assert.Empty(t.CopyLocalFiles); 1233Assert.Empty(t.CopyLocalFiles); 1279Assert.Empty(t.CopyLocalFiles); 1322Assert.Empty(t.CopyLocalFiles);
Hash_Tests.cs (1)
101Assert.Empty(hashGroups);
MakeDir_Tests.cs (1)
254Assert.Empty(t.DirectoriesCreated);
MockUnmanagedMemoryHelper.cs (1)
110Assert.Empty(_allocatedHandles);
Move_Tests.cs (1)
147Assert.Empty(t.MovedFiles);
ReadLinesFromFile_Tests.cs (1)
162Assert.Empty(r.Lines);
RemoveDuplicates_Tests.cs (1)
150Assert.Empty(t.Filtered);
ResolveNonMSBuildProjectOutput_Tests.cs (6)
258Assert.Empty(resolvedOutputs); // "No resolved refs expected for case 1" 290Assert.Empty(unresolvedOutputs); // "No unresolved refs expected for case 3" 302Assert.Empty(resolvedOutputs); // "No resolved refs expected for case 4" 303Assert.Empty(unresolvedOutputs); // "No unresolved refs expected for case 4" 317Assert.Empty(unresolvedOutputs); // "No unresolved refs expected for case 5" 328Assert.Empty(resolvedOutputs); // "No resolved refs expected for case 6"
ResolveSDKReference_Tests.cs (13)
75Assert.Empty(ResolveSDKReference.ParseDependsOnSDK(null)); 76Assert.Empty(ResolveSDKReference.ParseDependsOnSDK(String.Empty)); 77Assert.Empty(ResolveSDKReference.ParseDependsOnSDK(";;")); 78Assert.Empty(ResolveSDKReference.ParseDependsOnSDK("; ;")); 103Assert.Empty(result); 113Assert.Empty(result); 1315Assert.Empty(t.ResolvedSDKReferences); 1392Assert.Empty(t.ResolvedSDKReferences); 1482Assert.Empty(t.ResolvedSDKReferences); 2430Assert.Empty(t.ResolvedSDKReferences); 3405Assert.Empty(t.ResolvedSDKReferences); 3547Assert.Empty(t.ResolvedSDKReferences); 3683Assert.Empty(t.ResolvedSDKReferences);
ResourceHandling\GenerateResource_Tests.cs (5)
2796Assert.Empty(t.FilesWritten); 2889Assert.Empty(t.FilesWritten); 2926Assert.Empty(t.FilesWritten); 2963Assert.Empty(t.FilesWritten); 3008Assert.Empty(t.FilesWritten);
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (2)
src\Analyzers\CSharp\Tests\UpgradeProject\UpgradeProjectTests.cs (2)
51Assert.Empty(changedDocs); 63Assert.Empty(actions);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (5)
CommandLineTests.cs (5)
2328Assert.Empty(parsedArgs.EmbeddedFiles); 2472Assert.Empty(expectedEmbeddedMap); 2549Assert.Empty(fileMap); 2552Assert.Empty(expectedFilesMap); 6495Assert.Empty(diagnostics);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (29)
CodeGeneration\SyntaxGeneratorTests.cs (2)
51Assert.Empty(diagnostics); 81Assert.Empty(diagnostics);
Completion\ArgumentProviders\ArgumentProviderOrderTests.cs (3)
68Assert.Empty(orderedCSharpArgumentProviders[i].Metadata.BeforeTyped); 69Assert.Empty(orderedCSharpArgumentProviders[i].Metadata.AfterTyped); 74Assert.Empty(orderedCSharpArgumentProviders[i].Metadata.BeforeTyped);
Completion\CompletionProviders\CompletionProviderOrderTests.cs (3)
100Assert.Empty(orderedCSharpCompletionProviders[i].Metadata.BeforeTyped); 101Assert.Empty(orderedCSharpCompletionProviders[i].Metadata.AfterTyped); 106Assert.Empty(orderedCSharpCompletionProviders[i].Metadata.BeforeTyped);
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (1)
156Assert.Empty(exceptions);
Diagnostics\NamingStyles\EditorConfigNamingStyleParserTests.cs (4)
146Assert.Empty(result.NamingStyles); 331Assert.Empty(result.NamingRules); 332Assert.Empty(result.NamingStyles); 333Assert.Empty(result.SymbolSpecifications);
Intents\IntentTestsBase.cs (1)
35Assert.Empty(results);
Interactive\NavigateTo\InteractiveNavigateToTests.cs (3)
34Assert.Empty(await _aggregator.GetItemsAsync("Hello")); 692Assert.Empty(items); 735Assert.Empty(items);
NavigateTo\NavigateToTests.cs (5)
35Assert.Empty(await _aggregator.GetItemsAsync("Hello")); 378Assert.Empty(await _aggregator.GetItemsAsync("ar")); 413Assert.Empty(await _aggregator.GetItemsAsync("ar")); 1078Assert.Empty(items); 1120Assert.Empty(items);
PdbSourceDocument\AbstractPdbSourceDocumentTests.cs (1)
327Assert.Empty(result.Diagnostics.Where(d => d.Severity == DiagnosticSeverity.Error));
Workspaces\WorkspaceTests_EditorFeatures.cs (6)
362Assert.Empty(workspace.CurrentSolution.Projects); 394Assert.Empty(workspace.CurrentSolution.Projects.Single().Documents); 1183Assert.Empty(workspace.GetOpenDocumentIds()); 1188Assert.Empty(workspace.GetOpenDocumentIds()); 1212Assert.Empty(workspace.GetOpenDocumentIds()); 1217Assert.Empty(workspace.GetOpenDocumentIds());
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (26)
BreakingChanges.cs (1)
221Assert.Empty(tree.GetDiagnostics());
CodeGen\CodeGenAsyncIteratorTests.cs (1)
1173Assert.Empty(GetAttributeNames(method.GetAttributes()));
CodeGen\CodeGenDeconstructTests.cs (16)
272Assert.Empty(nested[0].Nested); 276Assert.Empty(nested[1].Nested); 282Assert.Empty(defaultInfo.Nested); 316Assert.Empty(deconstructionInfo.Nested); 1122Assert.Empty(nested[0].Nested); 1126Assert.Empty(nested[1].Nested); 2302Assert.Empty(nested[0].Nested); 2315Assert.Empty(nested2[0].Nested); 2319Assert.Empty(nested2[1].Nested); 4053Assert.Empty(nested[0].Nested); 4057Assert.Empty(nested[1].Nested); 6182Assert.Empty(GetDiscardIdentifiers(tree)); 6212Assert.Empty(GetDiscardIdentifiers(tree)); 7311Assert.Empty(symbolInfo.CandidateSymbols); 7318Assert.Empty(symbolInfo.CandidateSymbols); 9014Assert.Empty(info.Nested);
CodeGen\CodeGenReadonlyStructTests.cs (1)
912Assert.Empty(s1.GetAttributes());
CodeGen\CodeGenTupleTest.cs (4)
5823Assert.Empty(ElementTypeNames(tupleWithoutNames)); 27980Assert.Empty(retargetingValueTupleType.GetFieldsToEmit()); 27992Assert.Empty(type.GetFieldsToEmit()); 28075Assert.Empty(type.GetFieldsToEmit());
Emit\CompilationEmitTests.cs (1)
4640Assert.Empty(result.Diagnostics);
Emit\EntryPointTests.cs (1)
1598Assert.Empty(model.GetDiagnostics());
Emit\InAttributeModifierTests.cs (1)
51Assert.Empty(m.Parameters[0].GetAttributes());
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\EditAndContinue\EditAndContinueTests.cs (1)
12461Assert.Empty(pdbReader.CustomDebugInformation.Select(cdi => pdbReader.GetGuid(pdbReader.GetCustomDebugInformation(cdi).Kind)));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (260)
Attributes\AttributeTests.cs (5)
776Assert.Empty(result.Arguments); 786Assert.Empty(result.Arguments); 1927Assert.Empty(GetAttributeStrings(attributes3)); 1989Assert.Empty(GetAttributeStrings(attributes3)); 2274Assert.Empty(GetAttributeStrings(field3.GetAttributes()));
Attributes\AttributeTests_Assembly.cs (16)
32Assert.Empty(other.GetDiagnostics()); 145Assert.Empty(other.GetDiagnostics()); 155Assert.Empty(other.GetDiagnostics()); 165Assert.Empty(other.GetDiagnostics()); 268Assert.Empty(other.GetDiagnostics()); 278Assert.Empty(other.GetDiagnostics()); 288Assert.Empty(other.GetDiagnostics()); 298Assert.Empty(other.GetDiagnostics()); 519Assert.Empty(other.GetDiagnostics()); 525Assert.Empty(other.GetDiagnostics()); 535Assert.Empty(other.GetDiagnostics()); 545Assert.Empty(other.GetDiagnostics()); 555Assert.Empty(other.GetDiagnostics()); 561Assert.Empty(other.GetDiagnostics()); 870Assert.Empty(comp.GetDiagnostics()); 893Assert.Empty(comp.GetDiagnostics());
Attributes\AttributeTests_Dynamic.cs (3)
525Assert.Empty(synthesizedDynamicAttributes); 533Assert.Empty(dynamicAttribute.AttributeConstructor.Parameters); 534Assert.Empty(dynamicAttribute.CommonConstructorArguments);
Attributes\AttributeTests_IsByRefLike.cs (1)
1043Assert.Empty(peType.GetAttributes());
Attributes\AttributeTests_RefReadOnly.cs (5)
313Assert.Empty(property.GetAttributes()); 342Assert.Empty(property.GetAttributes()); 378Assert.Empty(property.GetAttributes()); 1386Assert.Empty(result.CandidateSymbols); 1428Assert.Empty(result.CandidateSymbols);
Attributes\AttributeTests_Synthesized.cs (6)
66Assert.Empty(attribute.CommonNamedArguments); 76Assert.Empty(attribute.AttributeConstructor.Parameters); 77Assert.Empty(attribute.CommonConstructorArguments); 94Assert.Empty(attribute.CommonNamedArguments); 234Assert.Empty(peModule.GetCustomAttributesForToken(((PEMethodSymbol)q.GetMethod).Handle)); 235Assert.Empty(peModule.GetCustomAttributesForToken(((PEMethodSymbol)q.SetMethod).Handle));
Attributes\AttributeTests_Tuples.cs (1)
622Assert.Empty(synthesizedTupleElementNamesAttr);
Attributes\InternalsVisibleToAndStrongNameTests.cs (9)
184Assert.Empty(comp.GetDiagnostics()); 313Assert.Empty(comp.GetDiagnostics()); 359Assert.Empty(comp.GetDiagnostics()); 839Assert.Empty(c2.GetDiagnostics()); 888Assert.Empty(c2.GetDiagnostics()); 921Assert.Empty(requestor.GetDiagnostics()); 1110Assert.Empty(requestor.GetDiagnostics()); 1275Assert.Empty(requestor.GetDiagnostics()); 1388Assert.Empty(requestor.GetDiagnostics());
Diagnostics\DiagnosticAnalyzerTests.cs (5)
381Assert.Empty(diagIds); 3362Assert.Empty(analyzer2.SymbolsStarted); 3363Assert.Empty(tree1SemanticDiagnostics); 3993Assert.Empty(diagnostics); 4234Assert.Empty(analyzer.CanceledCompilations);
Diagnostics\GetDiagnosticsTests.cs (22)
925Assert.Empty(result.SyntaxDiagnostics); 1084Assert.Empty(diagnosticsByAnalyzerMap); 1146Assert.Empty(result.SemanticDiagnostics); 1152Assert.Empty(result.SyntaxDiagnostics); 1525Assert.Empty(syntaxResult.GetAllDiagnostics()); 1530Assert.Empty(analyzer.AnalyzedSymbols); 1531Assert.Empty(analyzer.AnalyzedSymbolStartSymbols); 1532Assert.Empty(analyzer.AnalyzedSymbolEndSymbols); 1533Assert.Empty(analyzer.AnalyzedCodeBlockSymbols); 1534Assert.Empty(analyzer.AnalyzedCodeBlockStartSymbols); 1535Assert.Empty(analyzer.AnalyzedCodeBlockEndSymbols); 1536Assert.Empty(analyzer.AnalyzedOperationBlockSymbols); 1537Assert.Empty(analyzer.AnalyzedOperationBlockStartSymbols); 1538Assert.Empty(analyzer.AnalyzedOperationBlockEndSymbols); 1539Assert.Empty(analyzer.AnalyzedOperations); 1540Assert.Empty(analyzer.AnalyzedOperationsInsideOperationBlock); 1541Assert.Empty(analyzer.AnalyzedSyntaxNodes); 1542Assert.Empty(analyzer.AnalyzedSyntaxNodesInsideCodeBlock); 1543Assert.Empty(analyzer.AnalyzedSemanticModels); 1554Assert.Empty(result.GetAllDiagnostics()); 1557Assert.Empty(analyzer.AnalyzedTrees); 1706Assert.Empty(result.CompilationDiagnostics);
FlowAnalysis\FlowDiagnosticTests.cs (2)
514Assert.Empty(this.FlowDiagnostics(comp).Where(e => e.Severity >= DiagnosticSeverity.Error)); 552Assert.Empty(this.FlowDiagnostics(comp).Where(e => e.Severity >= DiagnosticSeverity.Error));
FlowAnalysis\IterationJumpYieldStatementTests.cs (2)
1102Assert.Empty(controlFlowAnalysisResults.EntryPoints); 1351Assert.Empty(ctrlFlowAnalysis.ExitPoints);
FlowAnalysis\RegionAnalysisTests.cs (47)
1538Assert.Empty(dataFlows.VariablesDeclared); 1552Assert.Empty(dataFlows.VariablesDeclared); 4203Assert.Empty(controlFlowAnalysisResults.EntryPoints); 4272Assert.Empty(controlFlowAnalysisResults.EntryPoints); 4409Assert.Empty(dataFlows.VariablesDeclared); 4936Assert.Empty(analysis.ReturnStatements); 5249Assert.Empty(controlFlowAnalysisResults.ReturnStatements); 5990Assert.Empty(dataFlows.DataFlowsOut); 6051Assert.Empty(dataFlowAnalysisResults.Captured); 6052Assert.Empty(dataFlowAnalysisResults.CapturedInside); 6053Assert.Empty(dataFlowAnalysisResults.CapturedOutside); 6054Assert.Empty(dataFlowAnalysisResults.VariablesDeclared); 6055Assert.Empty(dataFlowAnalysisResults.AlwaysAssigned); 6056Assert.Empty(dataFlowAnalysisResults.DataFlowsIn); 6057Assert.Empty(dataFlowAnalysisResults.DataFlowsOut); 6060Assert.Empty(dataFlowAnalysisResults.ReadInside); 6062Assert.Empty(dataFlowAnalysisResults.WrittenInside); 6088Assert.Empty(dataFlowAnalysisResults.Captured); 6089Assert.Empty(dataFlowAnalysisResults.CapturedInside); 6090Assert.Empty(dataFlowAnalysisResults.CapturedOutside); 6091Assert.Empty(dataFlowAnalysisResults.VariablesDeclared); 6092Assert.Empty(dataFlowAnalysisResults.AlwaysAssigned); 6093Assert.Empty(dataFlowAnalysisResults.DataFlowsIn); 6094Assert.Empty(dataFlowAnalysisResults.DataFlowsOut); 6097Assert.Empty(dataFlowAnalysisResults.ReadInside); 6099Assert.Empty(dataFlowAnalysisResults.WrittenInside); 6127Assert.Empty(dataFlowAnalysisResults.Captured); 6128Assert.Empty(dataFlowAnalysisResults.CapturedInside); 6129Assert.Empty(dataFlowAnalysisResults.CapturedOutside); 6130Assert.Empty(dataFlowAnalysisResults.VariablesDeclared); 6131Assert.Empty(dataFlowAnalysisResults.AlwaysAssigned); 6133Assert.Empty(dataFlowAnalysisResults.DataFlowsOut); 6138Assert.Empty(dataFlowAnalysisResults.WrittenInside); 6166Assert.Empty(dataFlowAnalysisResults.Captured); 6167Assert.Empty(dataFlowAnalysisResults.CapturedInside); 6168Assert.Empty(dataFlowAnalysisResults.CapturedOutside); 6169Assert.Empty(dataFlowAnalysisResults.VariablesDeclared); 6170Assert.Empty(dataFlowAnalysisResults.AlwaysAssigned); 6172Assert.Empty(dataFlowAnalysisResults.DataFlowsOut); 6177Assert.Empty(dataFlowAnalysisResults.WrittenInside); 6219Assert.Empty(flowAnalysis.Captured); 6220Assert.Empty(flowAnalysis.CapturedInside); 6221Assert.Empty(flowAnalysis.CapturedOutside); 6223Assert.Empty(flowAnalysis.DataFlowsOut); 6225Assert.Empty(flowAnalysis.WrittenInside); 6232Assert.Empty(flowAnalysis.DataFlowsOut); 6234Assert.Empty(flowAnalysis.WrittenInside);
FlowAnalysis\TryLockUsingStatementTests.cs (5)
48Assert.Empty(controlFlowAnalysisResults.EntryPoints); 49Assert.Empty(controlFlowAnalysisResults.ExitPoints); 50Assert.Empty(controlFlowAnalysisResults.ReturnStatements); 1513Assert.Empty(analysisControlFlow.EntryPoints); 1514Assert.Empty(analysisControlFlow.ExitPoints);
RefReadonlyParameterTests.cs (2)
70Assert.Empty(parameter.GetAttributes()); 76Assert.Empty(parameter.RefCustomModifiers);
Semantics\InlineArrayTests.cs (6)
2529Assert.Empty(symbolInfo.CandidateSymbols); 6220Assert.Empty(symbolInfo.CandidateSymbols); 8128Assert.Empty(symbolInfo.CandidateSymbols); 8856Assert.Empty(symbolInfo.CandidateSymbols); 10568Assert.Empty(symbolInfo.CandidateSymbols); 11312Assert.Empty(symbolInfo.CandidateSymbols);
Semantics\OutVarTests.cs (4)
1012Assert.Empty(symbolInfo.CandidateSymbols); 18451Assert.Empty(group); // https://github.com/dotnet/roslyn/issues/24936 20828Assert.Empty(GetOutVarDeclarations(tree, "x1")); 20958=> Assert.Empty(decl.Ancestors().OfType<VariableDeclaratorSyntax>());
Semantics\ParamsCollectionTests.cs (15)
242Assert.Empty(attributeData1.ConstructorArguments); 358Assert.Empty(attributeData1.ConstructorArguments); 540Assert.Empty(attributeData1.ConstructorArguments); 686Assert.Empty(attributeData1.ConstructorArguments); 1430Assert.Empty(attributeData1.ConstructorArguments); 2554Assert.Empty(attributeData1.ConstructorArguments); 2690Assert.Empty(attributeData1.ConstructorArguments); 2747Assert.Empty(((NamespaceSymbol)m.GlobalNamespace.GetMember("System.Runtime.CompilerServices")).GetMembers("ParamCollectionAttribute")); 2949Assert.Empty(((NamespaceSymbol)m.GlobalNamespace.GetMember("System.Runtime.CompilerServices")).GetMembers("ParamCollectionAttribute")); 9033Assert.Empty(p1.GetAttributes()); 9040Assert.Empty(p1.GetAttributes()); 12836Assert.Empty(((NamespaceSymbol)m.GlobalNamespace.GetMember("System.Runtime.CompilerServices")).GetMembers("ParamCollectionAttribute")); 13168Assert.Empty(((NamespaceSymbol)module.GlobalNamespace.GetMember("System.Runtime.CompilerServices")).GetMembers("ParamCollectionAttribute")); 13228Assert.Empty(((NamespaceSymbol)module.GlobalNamespace.GetMember("System.Runtime.CompilerServices")).GetMembers("ParamCollectionAttribute")); 13291Assert.Empty(((NamespaceSymbol)module.GlobalNamespace.GetMember("System.Runtime.CompilerServices")).GetMembers("ParamCollectionAttribute"));
Semantics\PatternMatchingTestBase.cs (3)
354=> Assert.Empty(decl.Ancestors().OfType<VariableDeclaratorSyntax>()); 428Assert.Empty(tree.GetRoot().DescendantNodes().OfType<GlobalStatementSyntax>()); 449Assert.Empty(info.CandidateSymbols);
Semantics\PatternMatchingTests4.cs (1)
1025Assert.Empty(symbolInfo.CandidateSymbols);
Semantics\PatternMatchingTests5.cs (2)
1246Assert.Empty(xSymbol.CandidateSymbols); 1254Assert.Empty(ySymbol.CandidateSymbols);
Semantics\PrimaryConstructorTests.cs (70)
137Assert.Empty(members); 1093Assert.Empty(model.GetMemberGroup((SyntaxNode)baseWithargs)); 1094Assert.Empty(model.GetMemberGroup(baseWithargs)); 1104Assert.Empty(model.GetMemberGroup((SyntaxNode)baseWithargs)); 1106Assert.Empty(model.GetMemberGroup(baseWithargs)); 1370Assert.Empty(symbolInfo.CandidateSymbols); 1373Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 1416Assert.Empty(symbolInfo.CandidateSymbols); 1419Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 1476Assert.Empty(symbolInfo.CandidateSymbols); 1479Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 1545Assert.Empty(symbolInfo.CandidateSymbols); 1548Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 1634Assert.Empty(symbolInfo.CandidateSymbols); 1637Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 1819Assert.Empty(symbolInfo.CandidateSymbols); 1822Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 1859Assert.Empty(symbolInfo.CandidateSymbols); 1862Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 1978Assert.Empty(((SynthesizedPrimaryConstructor)symbol.GetSymbol().ContainingSymbol).GetCapturedParameters()); 2136Assert.Empty(model.GetMemberGroup((SyntaxNode)baseWithargs)); 2137Assert.Empty(model.GetMemberGroup(baseWithargs)); 2156Assert.Empty(model.GetMemberGroup((SyntaxNode)baseWithargs)); 2158Assert.Empty(model.GetMemberGroup(baseWithargs)); 2311Assert.Empty(model.GetMemberGroup((SyntaxNode)baseWithargs)); 2312Assert.Empty(model.GetMemberGroup(baseWithargs)); 2430Assert.Empty(symbolInfo.CandidateSymbols); 2433Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 3221Assert.Empty(c.GetAttributes()); 3249Assert.Empty(c.GetAttributes()); 3281Assert.Empty(i.GetAttributes()); 3284Assert.Empty(i.Constructors); 3323Assert.Empty(e.GetAttributes()); 3355Assert.Empty(c.GetAttributes()); 3442Assert.Empty(c1.GetAttributes()); 3448Assert.Empty(c2.GetAttributes()); 3504Assert.Empty(c1.GetAttributes()); 3510Assert.Empty(c2.GetAttributes()); 6099Assert.Empty(symbolInfo.CandidateSymbols); 7803Assert.Empty(symbolInfo.CandidateSymbols); 7805Assert.Empty(model.LookupSymbols(p1.SpanStart, name: "p1")); 7846Assert.Empty(capturedParameters); 8702Assert.Empty(((CSharpCompilation)verifier.Compilation).GetTypeByMetadataName("C1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 9885Assert.Empty(comp.GetTypeByMetadataName("C1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 9946Assert.Empty(comp.GetTypeByMetadataName("C1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 9998Assert.Empty(comp.GetTypeByMetadataName("C1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 10192Assert.Empty(comp.GetTypeByMetadataName("Color+C1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 10227Assert.Empty(comp.GetTypeByMetadataName("Color+C1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 10270Assert.Empty(comp.GetTypeByMetadataName("Color+C1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 10877Assert.Empty(comp.GetTypeByMetadataName("S1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 10921Assert.Empty(comp.GetTypeByMetadataName("S1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 11051Assert.Empty(comp.GetTypeByMetadataName("S1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 11093Assert.Empty(comp.GetTypeByMetadataName("S1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 11138Assert.Empty(comp.GetTypeByMetadataName("S1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 11173Assert.Empty(comp.GetTypeByMetadataName("S1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 11203Assert.Empty(comp.GetTypeByMetadataName("S1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 11238Assert.Empty(comp.GetTypeByMetadataName("S1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 11268Assert.Empty(comp.GetTypeByMetadataName("S1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 11303Assert.Empty(comp.GetTypeByMetadataName("S1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 11334Assert.Empty(comp.GetTypeByMetadataName("S1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 11444Assert.Empty(comp.GetTypeByMetadataName("S1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 11483Assert.Empty(comp.GetTypeByMetadataName("S1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 11522Assert.Empty(comp.GetTypeByMetadataName("Color+C1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 11562Assert.Empty(comp.GetTypeByMetadataName("Color+C1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 11605Assert.Empty(comp.GetTypeByMetadataName("Color+C1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 11840Assert.Empty(comp.GetTypeByMetadataName("S2").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 12072Assert.Empty(comp2.GetTypeByMetadataName("C1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 12073Assert.Empty(comp2.GetTypeByMetadataName("C2").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 12157Assert.Empty(comp.GetTypeByMetadataName("S1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters()); 20221Assert.Empty(comp.GetTypeByMetadataName("C").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters());
Semantics\RecordTests.cs (28)
21210Assert.Empty(model.GetMemberGroup((SyntaxNode)baseWithargs)); 21211Assert.Empty(model.GetMemberGroup(baseWithargs)); 21221Assert.Empty(model.GetMemberGroup((SyntaxNode)baseWithargs)); 21223Assert.Empty(model.GetMemberGroup(baseWithargs)); 21489Assert.Empty(symbolInfo.CandidateSymbols); 21492Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 21535Assert.Empty(symbolInfo.CandidateSymbols); 21538Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 21595Assert.Empty(symbolInfo.CandidateSymbols); 21598Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 21664Assert.Empty(symbolInfo.CandidateSymbols); 21667Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 21753Assert.Empty(symbolInfo.CandidateSymbols); 21756Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 21938Assert.Empty(symbolInfo.CandidateSymbols); 21941Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 21975Assert.Empty(symbolInfo.CandidateSymbols); 21978Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 22050Assert.Empty(symbolInfo.CandidateSymbols); 22053Assert.Empty(model.LookupSymbols(x.SpanStart, name: "X")); 22135Assert.Empty(((SynthesizedPrimaryConstructor)symbol.GetSymbol().ContainingSymbol).GetCapturedParameters()); 22293Assert.Empty(model.GetMemberGroup((SyntaxNode)baseWithargs)); 22294Assert.Empty(model.GetMemberGroup(baseWithargs)); 22313Assert.Empty(model.GetMemberGroup((SyntaxNode)baseWithargs)); 22315Assert.Empty(model.GetMemberGroup(baseWithargs)); 22468Assert.Empty(model.GetMemberGroup((SyntaxNode)baseWithargs)); 22469Assert.Empty(model.GetMemberGroup(baseWithargs)); 28240Assert.Empty(symbolInfo.CandidateSymbols);
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (5)
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (2)
683Assert.Empty(result.Single().RudeEdits); 729Assert.Empty(result.Single().RudeEdits);
SemanticSearch\CSharpSemanticSearchServiceTests.cs (1)
133Assert.Empty(exceptions);
src\Analyzers\CSharp\Tests\UpgradeProject\UpgradeProjectTests.cs (2)
51Assert.Empty(changedDocs); 63Assert.Empty(actions);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests_IVariableDeclaration.cs (1)
676Assert.Empty(operation.ChildOperations);
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (7)
InteractiveSessionReferencesTests.cs (4)
49Assert.Empty(diagnostics); 105Assert.Empty(diagnostics0); 143Assert.Empty(diagnostics0); 151Assert.Empty(diagnostics1);
InteractiveSessionTests.cs (3)
1185Assert.Empty(scope.Aliases); 1186Assert.Empty(scope.ExternAliases); 1187Assert.Empty(scope.XmlNamespaces);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (302)
Semantics\AccessCheckTests.cs (4)
985Assert.Empty(other.GetDiagnostics()); 995Assert.Empty(c.GetDiagnostics()); 1005Assert.Empty(other.GetDiagnostics()); 1038Assert.Empty(c.GetDiagnostics());
Semantics\DeconstructionTests.cs (60)
4266Assert.Empty(symbolInfo.CandidateSymbols); 4278Assert.Empty(symbolInfo.CandidateSymbols); 4296Assert.Empty(symbolInfo.CandidateSymbols); 4321Assert.Empty(symbolInfo.CandidateSymbols); 4401Assert.Empty(symbolInfo.CandidateSymbols); 4409Assert.Empty(symbolInfo.CandidateSymbols); 4427Assert.Empty(symbolInfo.CandidateSymbols); 4452Assert.Empty(symbolInfo.CandidateSymbols); 4525Assert.Empty(symbolInfo.CandidateSymbols); 4537Assert.Empty(symbolInfo.CandidateSymbols); 4549Assert.Empty(symbolInfo.CandidateSymbols); 4558Assert.Empty(symbolInfo.CandidateSymbols); 4569Assert.Empty(symbolInfo.CandidateSymbols); 4586Assert.Empty(symbolInfo.CandidateSymbols); 4675Assert.Empty(symbolInfo.CandidateSymbols); 4683Assert.Empty(symbolInfo.CandidateSymbols); 4769Assert.Empty(symbolInfo.CandidateSymbols); 4777Assert.Empty(symbolInfo.CandidateSymbols); 4847Assert.Empty(symbolInfo.CandidateSymbols); 4855Assert.Empty(symbolInfo.CandidateSymbols); 4866Assert.Empty(symbolInfo.CandidateSymbols); 5055Assert.Empty(symbolInfo.CandidateSymbols); 5215Assert.Empty(symbolInfo.CandidateSymbols); 5223Assert.Empty(symbolInfo.CandidateSymbols); 5241Assert.Empty(symbolInfo.CandidateSymbols); 5269Assert.Empty(symbolInfo.CandidateSymbols); 5279Assert.Empty(symbolInfo.CandidateSymbols); 5359Assert.Empty(symbolInfo.CandidateSymbols); 5367Assert.Empty(symbolInfo.CandidateSymbols); 5385Assert.Empty(symbolInfo.CandidateSymbols); 5413Assert.Empty(symbolInfo.CandidateSymbols); 5423Assert.Empty(symbolInfo.CandidateSymbols); 5496Assert.Empty(symbolInfo.CandidateSymbols); 5504Assert.Empty(symbolInfo.CandidateSymbols); 5516Assert.Empty(symbolInfo.CandidateSymbols); 5525Assert.Empty(symbolInfo.CandidateSymbols); 5536Assert.Empty(symbolInfo.CandidateSymbols); 5556Assert.Empty(symbolInfo.CandidateSymbols); 5566Assert.Empty(symbolInfo.CandidateSymbols); 5683Assert.Empty(symbolInfo.CandidateSymbols); 5691Assert.Empty(symbolInfo.CandidateSymbols); 5716Assert.Empty(symbolInfo.CandidateSymbols); 5793Assert.Empty(symbolInfo.CandidateSymbols); 5801Assert.Empty(symbolInfo.CandidateSymbols); 5826Assert.Empty(symbolInfo.CandidateSymbols); 5896Assert.Empty(symbolInfo.CandidateSymbols); 5904Assert.Empty(symbolInfo.CandidateSymbols); 5915Assert.Empty(symbolInfo.CandidateSymbols); 5932Assert.Empty(symbolInfo.CandidateSymbols); 5993Assert.Empty(symbols.CandidateSymbols); 6003Assert.Empty(symbols.CandidateSymbols); 6036Assert.Empty(symbols.CandidateSymbols); 6046Assert.Empty(symbols.CandidateSymbols); 6076Assert.Empty(symbols.CandidateSymbols); 6086Assert.Empty(symbols.CandidateSymbols); 6118Assert.Empty(symbols.CandidateSymbols); 6128Assert.Empty(symbols.CandidateSymbols); 6158Assert.Empty(symbols.CandidateSymbols); 6168Assert.Empty(symbols.CandidateSymbols); 6558Assert.All(nestedConversions, n => Assert.Empty(n.Nested));
Semantics\DelegateTypeTests.cs (1)
1467Assert.Empty(model.GetMemberGroup(expr));
Semantics\FunctionPointerTests.cs (1)
3969Assert.Empty(semanticInfo.CandidateSymbols);
Semantics\GlobalUsingDirectiveTests.cs (2)
3172Assert.Empty(comp2.UsageOfUsingsRecordedInTrees); 3281Assert.Empty(comp2.UsageOfUsingsRecordedInTrees);
Semantics\InitOnlyMemberTests.cs (1)
3991Assert.Empty(property0.RefCustomModifiers);
Semantics\LocalFunctionTests.cs (6)
510Assert.Empty(returnAttributes); 562Assert.Empty(returnAttributes); 825Assert.Empty(attributes); 1445Assert.Empty(comp.GetDeclarationDiagnostics()); 1783Assert.Empty(model.LookupNamespacesAndTypes(a.SpanStart, name: "A")); 1858Assert.Empty(model.LookupNamespacesAndTypes(a.SpanStart, name: "A"));
Semantics\LookupTests.cs (5)
247Assert.Empty(actual_lookupSymbols); 1456Assert.Empty(globalNS.GetMembers("Y")); 1457Assert.Empty(globalNS.GetMembers("Z")); 1458Assert.Empty(globalNS.GetMembers("StaticZ")); 1459Assert.Empty(globalNS.GetMembers("B"));
Semantics\NameOfTests.cs (1)
3065Assert.Empty(typeofType.GetMembers("Count"));
Semantics\NativeIntegerTests.cs (2)
299Assert.Empty(nativeIntegerType.GetTypeMembers()); 408Assert.Empty(nativeIntegerType.GetTypeMembers());
Semantics\NullableReferenceTypesTests.cs (110)
48000Assert.Empty(getter.GetAttributes()); 97653Assert.Empty(t1.GetAttributes()); 97665Assert.Empty(t2.GetAttributes()); 97706Assert.Empty(t1.GetAttributes()); 97719Assert.Empty(t2.GetAttributes()); 97764Assert.Empty(t1.GetAttributes()); 97770Assert.Empty(t2.GetAttributes()); 97813Assert.Empty(t1.GetAttributes()); 97826Assert.Empty(t2.GetAttributes()); 98422Assert.Empty(bf1.GetAttributes()); 98430Assert.Empty(t11.GetAttributes()); 98436Assert.Empty(bf2.GetAttributes()); 98445Assert.Empty(t22.GetAttributes()); 98613Assert.Empty(bf1.GetAttributes()); 98621Assert.Empty(t11.GetAttributes()); 98627Assert.Empty(bf2.GetAttributes()); 98636Assert.Empty(t22.GetAttributes()); 98720Assert.Empty(bf1.GetAttributes()); 98728Assert.Empty(t11.GetAttributes()); 98734Assert.Empty(bf2.GetAttributes()); 98743Assert.Empty(t22.GetAttributes()); 98786Assert.Empty(bf1.GetAttributes()); 98794Assert.Empty(t11.GetAttributes()); 98800Assert.Empty(bf2.GetAttributes()); 98812Assert.Empty(t22.GetAttributes()); 98858Assert.Empty(bf1.GetAttributes()); 98867Assert.Empty(t11.GetAttributes()); 98873Assert.Empty(bf2.GetAttributes()); 98884Assert.Empty(t22.GetAttributes()); 98927Assert.Empty(bf1.GetAttributes()); 98935Assert.Empty(t11.GetAttributes()); 98941Assert.Empty(bf2.GetAttributes()); 98950Assert.Empty(t22.GetAttributes()); 99017Assert.Empty(f2.GetAttributes()); 99025Assert.Empty(t2.GetAttributes()); 99052Assert.Empty(t2.GetAttributes()); 99093Assert.Empty(t2.GetAttributes()); 99301Assert.Empty(bf1.GetAttributes()); 99309Assert.Empty(t11.GetAttributes()); 99315Assert.Empty(bf2.GetAttributes()); 99324Assert.Empty(t22.GetAttributes()); 100295Assert.Empty(f1.GetAttributes()); 100305Assert.Empty(attributes); 100333Assert.Empty(f1.GetAttributes()); 100344Assert.Empty(attributes); 100386Assert.Empty(t1.GetAttributes()); 100393Assert.Empty(t2.GetAttributes()); 100425Assert.Empty(t1.GetAttributes()); 100445Assert.Empty(t1.GetAttributes()); 100501Assert.Empty(t1.GetAttributes()); 100509Assert.Empty(t2.GetAttributes()); 100544Assert.Empty(t1.GetAttributes()); 100551Assert.Empty(t2.GetAttributes()); 100589Assert.Empty(t1.GetAttributes()); 100596Assert.Empty(t2.GetAttributes()); 100681Assert.Empty(at1.GetAttributes()); 100710Assert.Empty(tf1.GetAttributes()); 100776Assert.Empty(at1.GetAttributes()); 100795Assert.Empty(bf1.GetAttributes()); 100803Assert.Empty(tf1.GetAttributes()); 100808Assert.Empty(tf1.GetAttributes()); 101930Assert.Empty(tf1.GetAttributes()); 101954Assert.Empty(tf1.GetAttributes()); 101982Assert.Empty(tf1.GetAttributes()); 102009Assert.Empty(tf1.GetAttributes()); 102036Assert.Empty(tf1.GetAttributes()); 102063Assert.Empty(tf1.GetAttributes()); 102090Assert.Empty(tf1.GetAttributes()); 102132Assert.Empty(tf1.GetAttributes()); 102163Assert.Empty(tf1.GetAttributes()); 102201Assert.Empty(tf1.GetAttributes()); 102236Assert.Empty(tf1.GetAttributes()); 102275Assert.Empty(tf1.GetAttributes()); 102313Assert.Empty(tf1.GetAttributes()); 102341Assert.Empty(attributes); 102369Assert.Empty(attributes); 102397Assert.Empty(attributes); 102436Assert.Empty(attributes); 102464Assert.Empty(attributes); 102490Assert.Empty(tf1.GetAttributes()); 102513Assert.Empty(tf1.GetAttributes()); 102540Assert.Empty(tf1.GetAttributes()); 102566Assert.Empty(tf1.GetAttributes()); 102592Assert.Empty(tf1.GetAttributes()); 102618Assert.Empty(tf1.GetAttributes()); 102644Assert.Empty(tf1.GetAttributes()); 102685Assert.Empty(attributes); 102715Assert.Empty(tf1.GetAttributes()); 102752Assert.Empty(attributes); 102786Assert.Empty(attributes); 102824Assert.Empty(attributes); 102861Assert.Empty(attributes); 102888Assert.Empty(attributes); 102915Assert.Empty(attributes); 102942Assert.Empty(attributes); 102979Assert.Empty(attributes); 103006Assert.Empty(attributes); 103038Assert.Empty(attributes); 103079Assert.Empty(attributes); 103122Assert.Empty(attributes); 103166Assert.Empty(attributes); 104814Assert.Empty(t11.GetAttributes()); 104827Assert.Empty(t1.GetAttributes()); 104841Assert.Empty(t22.GetAttributes()); 104855Assert.Empty(t2.GetAttributes()); 104916Assert.Empty(t11.GetAttributes()); 104925Assert.Empty(t22.GetAttributes()); 104993Assert.Empty(t11.GetAttributes()); 105002Assert.Empty(t22.GetAttributes()); 108277Assert.Empty(tm1.GetAttributes());
Semantics\OverloadResolutionTests.cs (2)
2302Assert.Empty(cCommon.GetDiagnostics()); 2308Assert.Empty(cCS.GetDiagnostics());
Semantics\QueryTests.cs (1)
2399Assert.Empty(symbolInfoForSelect.CandidateSymbols);
Semantics\RecordStructTests.cs (1)
3251Assert.Empty(symbolInfo.CandidateSymbols);
Semantics\ScriptSemanticsTests.cs (1)
510Assert.Empty(model.LookupLabels(source.Length - 1)); // Used to assert.
Semantics\TopLevelStatementsTests.cs (21)
251Assert.Empty(symbolInfo.CandidateSymbols); 262Assert.Empty(symbolInfo.CandidateSymbols); 326Assert.Empty(model1.LookupSymbols(localRef.SpanStart).Where(s => s.Name == name)); 327Assert.Empty(model1.LookupSymbols(localRef.SpanStart, name: name)); 402Assert.Empty(symbolInfo.CandidateSymbols); 413Assert.Empty(symbolInfo.CandidateSymbols); 505Assert.Empty(model2.LookupSymbols(localRef.SpanStart).Where(s => s.Name == name)); 506Assert.Empty(model2.LookupSymbols(localRef.SpanStart, name: name)); 1726Assert.Empty(model.LookupSymbols(nameRef.SpanStart, name: getHashCode.Name)); 1894Assert.Empty(model2.LookupSymbols(nameRef.SpanStart, name: getHashCode.Name)); 2460Assert.Empty(model1.LookupLabels(nameRef.SpanStart)); 2461Assert.Empty(model1.LookupLabels(nameRef.SpanStart, name: "Test")); 2518Assert.Empty(model2.LookupLabels(nameRef.SpanStart)); 2519Assert.Empty(model2.LookupLabels(nameRef.SpanStart, name: "Test")); 2922Assert.Empty(model1.LookupNamespacesAndTypes(nameRef.SpanStart, name: "alias2")); 2943Assert.Empty(model2.LookupNamespacesAndTypes(nameRef.SpanStart, name: "alias1")); 6175Assert.Empty(programAttributes); 6183Assert.Empty(method.GetAttributes()); 6240Assert.Empty(semanticModel.LookupSymbols(invocation.SpanStart, container: a, name: "M")); 8581Assert.Empty(symbols); 9508Assert.Empty(fieldAttributes);
Semantics\VarianceTests.cs (2)
121Assert.Empty(errors); 237Assert.Empty(errors);
SourceGeneration\AdditionalSourcesCollectionTests.cs (1)
215Assert.Empty(sources);
SourceGeneration\GeneratorDriverTests.cs (45)
43Assert.Empty(diagnostics); 548Assert.Empty(results.GeneratedTrees); 549Assert.Empty(results.Diagnostics); 550Assert.Empty(results.Results); 561Assert.Empty(results.GeneratedTrees); 562Assert.Empty(results.Diagnostics); 595Assert.Empty(results.Diagnostics); 600Assert.Empty(result.Diagnostics); 627Assert.Empty(results.Diagnostics); 634Assert.Empty(result1.Diagnostics); 640Assert.Empty(result2.Diagnostics); 645Assert.Empty(result3.Diagnostics); 680Assert.Empty(results.GeneratedTrees); 687Assert.Empty(result1.GeneratedSources); 693Assert.Empty(result2.GeneratedSources); 1071Assert.Empty(results.Diagnostics); 1075Assert.Empty(result.Diagnostics); 1101Assert.Empty(results.Diagnostics); 1108Assert.Empty(result1.Diagnostics); 1114Assert.Empty(result2.Diagnostics); 1119Assert.Empty(result3.Diagnostics); 1456Assert.Empty(runResults.GeneratedTrees); 1481Assert.Empty(runResults.GeneratedTrees); 1511Assert.Empty(runResults.Diagnostics); 1524Assert.Empty(runResults.GeneratedTrees); 1553Assert.Empty(runResults.GeneratedTrees); 1608Assert.Empty(diagnostics); 1629Assert.Empty(diagnostics); 2044Assert.Empty((ImmutableArray<AdditionalText>)source.Source.Outputs[source.OutputIndex].Value); 2096Assert.Empty((ImmutableArray<AdditionalText>)source.Source.Outputs[source.OutputIndex].Value); 2104Assert.Empty(value.Item2); 3100Assert.Empty(result.Results[0].Diagnostics); 3247Assert.Empty(referenceList); 3550Assert.Empty(runResult.GeneratedTrees); 3551Assert.Empty(runResult.Diagnostics); 3553Assert.Empty(result.GeneratedSources); 3554Assert.Empty(result.Diagnostics); 3577Assert.Empty(diagnostics); 4359Assert.Empty(outputDiagnostics); 4367Assert.Empty(outputDiagnostics); 4445Assert.Empty(results.GeneratedTrees); 4469Assert.Empty(result.GeneratedTrees); 4546Assert.Empty(result.HostOutputs); 4582Assert.Empty(result.HostOutputs); 4635Assert.Empty(result.HostOutputs);
SourceGeneration\StateTableTests.cs (6)
793Assert.Empty(step.Inputs); 798Assert.Empty(step.Inputs); 803Assert.Empty(step.Inputs); 808Assert.Empty(step.Inputs); 813Assert.Empty(step.Inputs); 818Assert.Empty(step.Inputs);
SourceGeneration\SyntaxAwareGeneratorTests.cs (29)
385Assert.Empty(results.GeneratedTrees); 427Assert.Empty(results.GeneratedTrees); 525Assert.Empty(results.Results[1].Diagnostics); 597Assert.Empty(results.GeneratedTrees); 834Assert.Empty(results.GeneratedTrees); 868Assert.Empty(results.Diagnostics); 914Assert.Empty(results.Diagnostics); 960Assert.Empty(results.Diagnostics); 971Assert.Empty(results.Diagnostics); 976Assert.Empty(syntaxFilterVisited); 982Assert.Empty(results.Diagnostics); 1027Assert.Empty(results.Diagnostics); 1045Assert.Empty(results.Diagnostics); 1102Assert.Empty(results.Diagnostics); 1126Assert.Empty(results.Diagnostics); 1235Assert.Empty(results.Diagnostics); 1261Assert.Empty(results.Diagnostics); 1322Assert.Empty(results.Diagnostics); 1332Assert.Empty(results.Diagnostics); 1339Assert.Empty(fieldsCalledFor); 1345Assert.Empty(results.Diagnostics); 1352Assert.Empty(fieldsCalledFor); 1409Assert.Empty(results.Diagnostics); 1439Assert.Empty(results.Diagnostics); 1458Assert.Empty(syntaxFieldsCalledFor); 1472Assert.Empty(results.Diagnostics); 1659Assert.Empty(compareCalledFor); 1865Assert.Empty(results.GeneratedTrees); 1906Assert.Empty(results.GeneratedTrees);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (224)
Compilation\CompilationAPITests.cs (3)
628Assert.Empty(comp.GetDiagnostics()); 696Assert.Empty(comp.GetDiagnostics()); 3408Assert.Empty(types);
Compilation\GetImportScopesTests.cs (60)
33Assert.Empty(scopes); 42Assert.Empty(scopes); 57Assert.Empty(scopes.Single().Aliases); 58Assert.Empty(scopes.Single().ExternAliases); 59Assert.Empty(scopes.Single().XmlNamespaces); 73Assert.Empty(scopes.Single().Aliases); 74Assert.Empty(scopes.Single().ExternAliases); 75Assert.Empty(scopes.Single().XmlNamespaces); 88Assert.Empty(scopes); 104Assert.Empty(scopes.Single().Aliases); 105Assert.Empty(scopes.Single().ExternAliases); 106Assert.Empty(scopes.Single().XmlNamespaces); 117Assert.Empty(scopes); 132Assert.Empty(scopes.Single().Aliases); 133Assert.Empty(scopes.Single().ExternAliases); 134Assert.Empty(scopes.Single().XmlNamespaces); 151Assert.Empty(scopes.Single().Aliases); 152Assert.Empty(scopes.Single().ExternAliases); 153Assert.Empty(scopes.Single().XmlNamespaces); 246Assert.Empty(scopes.Single().Imports); 247Assert.Empty(scopes.Single().ExternAliases); 248Assert.Empty(scopes.Single().XmlNamespaces); 262Assert.Empty(scopes.Single().Imports); 263Assert.Empty(scopes.Single().ExternAliases); 264Assert.Empty(scopes.Single().XmlNamespaces); 277Assert.Empty(scopes); 293Assert.Empty(scopes.Single().Imports); 294Assert.Empty(scopes.Single().ExternAliases); 295Assert.Empty(scopes.Single().XmlNamespaces); 306Assert.Empty(scopes); 321Assert.Empty(scopes.Single().Imports); 322Assert.Empty(scopes.Single().ExternAliases); 323Assert.Empty(scopes.Single().XmlNamespaces); 340Assert.Empty(scopes.Single().Imports); 341Assert.Empty(scopes.Single().ExternAliases); 342Assert.Empty(scopes.Single().XmlNamespaces); 420Assert.Empty(scopes.Single().Imports); 421Assert.Empty(scopes.Single().Aliases); 422Assert.Empty(scopes.Single().XmlNamespaces); 439Assert.Empty(scopes.Single().Imports); 440Assert.Empty(scopes.Single().Aliases); 441Assert.Empty(scopes.Single().XmlNamespaces); 461Assert.Empty(scopes.Single().Imports); 462Assert.Empty(scopes.Single().Aliases); 463Assert.Empty(scopes.Single().XmlNamespaces); 482Assert.Empty(scopes.Single().Imports); 483Assert.Empty(scopes.Single().Aliases); 484Assert.Empty(scopes.Single().XmlNamespaces); 518Assert.Empty(scopes.Single().Imports); 519Assert.Empty(scopes.Single().Aliases); 520Assert.Empty(scopes.Single().XmlNamespaces); 540Assert.Empty(scopes.Single().Imports); 541Assert.Empty(scopes.Single().Aliases); 542Assert.Empty(scopes.Single().XmlNamespaces); 619Assert.Empty(scopes.Single().ExternAliases); 620Assert.Empty(scopes.Single().XmlNamespaces); 655Assert.Empty(scopes.Single().ExternAliases); 656Assert.Empty(scopes.Single().XmlNamespaces); 693Assert.Empty(scopes.Single().ExternAliases); 694Assert.Empty(scopes.Single().XmlNamespaces);
Compilation\GetSemanticInfoBrokenCodeTests.cs (1)
200Assert.Empty(tree.GetCompilationUnitRoot().DescendantNodes().OfType<UsingDirectiveSyntax>());
Compilation\LoadDirectiveTests.cs (2)
170Assert.Empty(compilation.SyntaxTrees); 190Assert.Empty(compilation.SyntaxTrees);
Compilation\SemanticModelAPITests.cs (6)
147Assert.Empty(symbolInfo.CandidateSymbols); 157Assert.Empty(symbolInfo.CandidateSymbols); 1372Assert.Empty(method.Parameters); 2088Assert.Empty(method.Parameters); 4511Assert.Empty(symbolInfo.CandidateSymbols); 4589Assert.Empty(symbolInfo.CandidateSymbols);
Compilation\SemanticModelGetSemanticInfoTests.cs (4)
8026Assert.Empty(semanticInfo.CandidateSymbols); 8079Assert.Empty(semanticInfo.CandidateSymbols); 9284Assert.Empty(type.Interfaces); 9286Assert.Empty(type.GetMembers());
Compilation\UsedAssembliesTests.cs (6)
38Assert.Empty(comp1.GetUsedAssemblyReferences()); 72Assert.Empty(comp1.GetUsedAssemblyReferences()); 105Assert.Empty(used.Where(r => r.Properties.Kind == MetadataImageKind.Module)); 329Assert.Empty(used.Where(r => r.Properties.Kind == MetadataImageKind.Module)); 399Assert.Empty(comp1.GetUsedAssemblyReferences()); 433Assert.Empty(comp1.GetUsedAssemblyReferences());
DocumentationComments\CrefTests.cs (3)
6677Assert.Empty(model.LookupSymbols(name.SpanStart, typeParameter, "GetAwaiter")); 6802Assert.Empty(cref.Parameters.Parameters); 6845Assert.Empty(cref.Parameters.Parameters);
DocumentationComments\DocumentationCommentCompilerTests.cs (4)
5860Assert.Empty(comp.GetDeclarationDiagnostics()); 5861Assert.Empty(comp.GetMethodBodyDiagnostics()); 5881Assert.Empty(comp.GetParseDiagnostics()); 5882Assert.Empty(comp.GetDeclarationDiagnostics());
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (2)
1036Assert.Empty(methodDispose.Parameters); 1040Assert.Empty(methodDispose.ExplicitInterfaceImplementations);
Symbols\ConversionTests.cs (1)
811Assert.Empty(diagnostics);
Symbols\DefaultInterfaceImplementationTests.cs (5)
18363Assert.Empty(implementingProperty.ExplicitInterfaceImplementations); 44648Assert.Empty(compilation1.GetTypeByMetadataName("I1").GetMembers("I1")); 67148Assert.Empty(i1.GetMembers().OfType<MethodSymbol>().Single().ExplicitInterfaceImplementations); 67331Assert.Empty(m.ExplicitInterfaceImplementations); 67519Assert.Empty(m.ExplicitInterfaceImplementations);
Symbols\ExtensionMethodTests.cs (4)
3918Assert.Empty(model.LookupSymbols(instance.Position, baseClass, "SetMember", includeReducedExtensionMethods: true)); 3919Assert.Empty(model.LookupSymbols(instance.Position, baseClass, includeReducedExtensionMethods: true).Where(s => s.Name == "SetMembers")); 4013Assert.Empty(model.LookupSymbols(instance.Position, baseClass, "SetMember", includeReducedExtensionMethods: true)); 4014Assert.Empty(model.LookupSymbols(instance.Position, baseClass, includeReducedExtensionMethods: true).Where(s => s.Name == "SetMembers"));
Symbols\FunctionPointerTypeSymbolTests.cs (1)
401Assert.Empty(sixthParamParam.Parameters);
Symbols\IndexerTests.cs (2)
2138Assert.Empty(peIndexer.GetAttributes()); 2139Assert.Empty(((PEModuleSymbol)module).GetCustomAttributesForToken(peIndexer.Handle));
Symbols\Metadata\MetadataMemberTests.cs (11)
178Assert.Empty(compilation.GetDeclarationDiagnostics()); 229Assert.Empty(compilation.GetDeclarationDiagnostics()); 291Assert.Empty(compilation.GetDeclarationDiagnostics()); 336Assert.Empty(compilation.GetDeclarationDiagnostics()); 381Assert.Empty(compilation.GetDeclarationDiagnostics()); 737Assert.Empty(c.GetMembers("P2")); 738Assert.Empty(c.GetMembers("P3")); 745Assert.Empty(c.GetMembers("P3")); 759Assert.Empty(c.GetMembers("P3")); 800Assert.Empty(c.GetMembers("P3")); 814Assert.Empty(c.GetMembers("P3"));
Symbols\Metadata\MetadataTypeTests.cs (6)
60Assert.Empty(compilation.GetDeclarationDiagnostics()); 110Assert.Empty(compilation.GetDeclarationDiagnostics()); 160Assert.Empty(compilation.GetDeclarationDiagnostics()); 208Assert.Empty(compilation.GetDeclarationDiagnostics()); 256Assert.Empty(compilation.GetDeclarationDiagnostics()); 341Assert.Empty(compilation2.GetDeclarationDiagnostics());
Symbols\Metadata\PE\LoadingAttributes.cs (1)
1313Assert.Empty(parameter.GetAttributes());
Symbols\OverriddenOrHiddenMembersTests.cs (2)
1136Assert.Empty(comp.GetDiagnostics()); 1154Assert.Empty(comp.GetDiagnostics());
Symbols\RequiredMembersTests.cs (4)
7187Assert.Empty(field1.GetAttributes()); 7188Assert.Empty(property1.GetAttributes()); 7190Assert.Empty(field2.GetAttributes()); 7191Assert.Empty(property2.GetAttributes());
Symbols\Retargeting\RetargetCustomAttributes.cs (2)
110Assert.Empty(symbol.GetAttributes(oldMsCorLib_debuggerTypeProxyAttributeType)); 116Assert.Empty(symbol.GetAttributes(oldMsCorLib_debuggerTypeProxyAttributeType));
Symbols\Source\BaseClassTests.cs (1)
1497Assert.Empty(diags);
Symbols\Source\ExternAliasTests.cs (1)
443Assert.Empty(firstTarget.GetMembers());
Symbols\Source\FileModifierTests.cs (14)
2603Assert.Empty(symbolInfo.CandidateSymbols); 2642Assert.Empty(symbolInfo.CandidateSymbols); 3673Assert.Empty(symbols); 3717Assert.Empty(info.CandidateSymbols); 3725Assert.Empty(symbols); 3735Assert.Empty(symbols); 3745Assert.Empty(symbols); 3822Assert.Empty(info.CandidateSymbols); 3826Assert.Empty(symbols); 3982Assert.Empty(symbolInfo.CandidateSymbols); 4293Assert.Empty(comp.GetTypesByMetadataName("C")); 4320Assert.Empty(comp.GetTypesByMetadataName("C")); 4335Assert.Empty(comp.GetTypesByMetadataName($"<>F{checksum}__C")); 4338Assert.Empty(comp.GetTypesByMetadataName($"<WrongName>F{checksum}__C"));
Symbols\Source\MethodTests.cs (2)
1429Assert.Empty(comp.GetDeclarationDiagnostics()); 1644Assert.Empty(c1.GetMembers("@float"));
Symbols\Source\NullablePublicAPITests.cs (1)
2667Assert.Empty(symbolInfo.CandidateSymbols);
Symbols\Source\PropertyTests.cs (3)
1655Assert.Empty(diagnostics); 1692Assert.Empty(diagnostics); 1727Assert.Empty(diagnostics);
Symbols\StaticAbstractMembersInInterfacesTests.cs (64)
16093Assert.Empty(cM01.ExplicitInterfaceImplementations); 16513Assert.Empty(c2M01.ExplicitInterfaceImplementations); 16594Assert.Empty(c1M01.ExplicitInterfaceImplementations); 16600Assert.Empty(c1M01.ExplicitInterfaceImplementations); 16885Assert.Empty(c1M01.ExplicitInterfaceImplementations); 16967Assert.Empty(c1M01.ExplicitInterfaceImplementations); 17195Assert.Empty(c1M01.ExplicitInterfaceImplementations); 17282Assert.Empty(c1M01.ExplicitInterfaceImplementations); 19330Assert.Empty(cM01.ExplicitInterfaceImplementations); 19411Assert.Empty(cM01.ExplicitInterfaceImplementations); 19503Assert.Empty(cM01.ExplicitInterfaceImplementations); 20838Assert.Empty(c2M01.ExplicitInterfaceImplementations); 20942Assert.Empty(c1M01.ExplicitInterfaceImplementations); 20948Assert.Empty(c1M01.ExplicitInterfaceImplementations); 21053Assert.Empty(c1M01.ExplicitInterfaceImplementations); 21059Assert.Empty(c1M01.ExplicitInterfaceImplementations); 21188Assert.Empty(c1M01.ExplicitInterfaceImplementations); 21194Assert.Empty(c1M01.ExplicitInterfaceImplementations); 21723Assert.Empty(c1M01.ExplicitInterfaceImplementations); 21935Assert.Empty(c1M01.ExplicitInterfaceImplementations); 22986Assert.Empty(cM01.ExplicitInterfaceImplementations); 22987Assert.Empty(cM01Get.ExplicitInterfaceImplementations); 22988Assert.Empty(cM01Set.ExplicitInterfaceImplementations); 23076Assert.Empty(cM01.ExplicitInterfaceImplementations); 23077Assert.Empty(cM01Get.ExplicitInterfaceImplementations); 23080Assert.Empty(cM01Set.ExplicitInterfaceImplementations); 23761Assert.Empty(cM01.ExplicitInterfaceImplementations); 23762Assert.Empty(cM01Get.ExplicitInterfaceImplementations); 23763Assert.Empty(cM01Set.ExplicitInterfaceImplementations); 23851Assert.Empty(cM01Get.ExplicitInterfaceImplementations); 23854Assert.Empty(cM01.ExplicitInterfaceImplementations); 24113Assert.Empty(cM01.ExplicitInterfaceImplementations); 24114Assert.Empty(cM01Set.ExplicitInterfaceImplementations); 24115Assert.Empty(cM01Get.ExplicitInterfaceImplementations); 24203Assert.Empty(cM01Set.ExplicitInterfaceImplementations); 24206Assert.Empty(cM01.ExplicitInterfaceImplementations); 24470Assert.Empty(c2M01.ExplicitInterfaceImplementations); 24476Assert.Empty(c2M01Get.ExplicitInterfaceImplementations); 24482Assert.Empty(c2M01Set.ExplicitInterfaceImplementations); 24591Assert.Empty(c1M01.ExplicitInterfaceImplementations); 24608Assert.Empty(c1M01Set.ExplicitInterfaceImplementations); 24634Assert.Empty(c1M01Get.ExplicitInterfaceImplementations); 25764Assert.Empty(cM01.ExplicitInterfaceImplementations); 25765Assert.Empty(cM01Add.ExplicitInterfaceImplementations); 25766Assert.Empty(cM01Remove.ExplicitInterfaceImplementations); 26404Assert.Empty(cM01Add.ExplicitInterfaceImplementations); 26405Assert.Empty(cM01.ExplicitInterfaceImplementations); 26406Assert.Empty(cM01Remove.ExplicitInterfaceImplementations); 26678Assert.Empty(cM01Remove.ExplicitInterfaceImplementations); 26679Assert.Empty(cM01.ExplicitInterfaceImplementations); 26680Assert.Empty(cM01Add.ExplicitInterfaceImplementations); 26998Assert.Empty(c2M01.ExplicitInterfaceImplementations); 27004Assert.Empty(c2M01Add.ExplicitInterfaceImplementations); 27010Assert.Empty(c2M01Remove.ExplicitInterfaceImplementations); 28687Assert.Empty(cM01.ExplicitInterfaceImplementations); 28712Assert.Empty(cM02.ExplicitInterfaceImplementations); 29297Assert.Empty(c2M01.ExplicitInterfaceImplementations); 29400Assert.Empty(c1M01.ExplicitInterfaceImplementations); 29406Assert.Empty(c1M01.ExplicitInterfaceImplementations); 29658Assert.Empty(c1M01.ExplicitInterfaceImplementations); 31653Assert.Empty(bM1Impl); 31654Assert.Empty(bM2Impl); 31812Assert.Empty(dM1Impl); 31813Assert.Empty(dM2Impl);
Symbols\TypeTests.cs (8)
1386Assert.Empty(comp.GetDiagnostics()); 1407Assert.Empty(comp.GetDiagnostics()); 2350Assert.Empty(m1.UnmanagedCallingConventionTypes); 2355Assert.Empty(m2.UnmanagedCallingConventionTypes); 2360Assert.Empty(m3.UnmanagedCallingConventionTypes); 2398Assert.Empty(m1.UnmanagedCallingConventionTypes); 2403Assert.Empty(m2.UnmanagedCallingConventionTypes); 2408Assert.Empty(m3.UnmanagedCallingConventionTypes);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (47)
Diagnostics\LocationsTests.cs (1)
242Assert.Empty(InspectLineMapping(syntaxTree));
IncrementalParsing\IncrementalParsingTests.cs (6)
563Assert.Empty(tree.GetDiagnostics()); 577Assert.Empty(tree.GetDiagnostics()); 580Assert.Empty(fullTree.GetDiagnostics()); 616Assert.Empty(initialTree.GetDiagnostics()); 841Assert.Empty(withCloseBraceDeletedTree.GetDiagnostics()); 844Assert.Empty(fullTree.GetDiagnostics());
LexicalAndXml\LexicalTests.cs (7)
457Assert.Empty(token.LeadingTrivia); 458Assert.Empty(token.TrailingTrivia); 475Assert.Empty(token.Errors()); 484Assert.Empty(token.LeadingTrivia); 518Assert.Empty(token.LeadingTrivia); 584Assert.Empty(token.GetTrailingTrivia()); 3822Assert.Empty(diagnostics);
LexicalAndXml\PreprocessorTests.cs (2)
112Assert.Empty(node.GetDiagnostics()); 3891Assert.Empty(comp.GetParseDiagnostics());
LexicalAndXml\RawStringLiteralLexingTests.cs (1)
201Assert.Empty(token.GetDiagnostics());
LexicalAndXml\SyntaxTokenParserTests.cs (18)
277Assert.Empty(result.Token.LeadingTrivia); 278Assert.Empty(result.Token.TrailingTrivia); 282Assert.Empty(result.Token.LeadingTrivia); 283Assert.Empty(result.Token.TrailingTrivia); 299Assert.Empty(result.Token.TrailingTrivia); 303Assert.Empty(intermediateResult.Token.LeadingTrivia); 304Assert.Empty(intermediateResult.Token.TrailingTrivia); 308Assert.Empty(intermediateResult.Token.LeadingTrivia); 309Assert.Empty(intermediateResult.Token.TrailingTrivia); 333Assert.Empty(result.Token.TrailingTrivia); 337Assert.Empty(intermediateResult.Token.LeadingTrivia); 338Assert.Empty(intermediateResult.Token.TrailingTrivia); 342Assert.Empty(intermediateResult.Token.LeadingTrivia); 343Assert.Empty(intermediateResult.Token.TrailingTrivia); 359Assert.Empty(result.Token.LeadingTrivia); 360Assert.Empty(result.Token.TrailingTrivia); 373Assert.Empty(result.Token.LeadingTrivia); 396Assert.Empty(result.Token.LeadingTrivia);
Parsing\LocalFunctionParsingTests.cs (2)
1354Assert.Empty(s1.ParameterList.Parameters); 1364Assert.Empty(s1.ParameterList.Parameters);
Parsing\ParsingErrorRecoveryTests.cs (1)
7576Assert.Empty(syntaxTree.GetDiagnostics());
Parsing\RecordParsing.cs (1)
342Assert.Empty(comp.GetTypeByMetadataName("P").GetMembers());
Parsing\ScriptParsingTests.cs (4)
45Assert.Empty(actualErrors); 9636Assert.Empty(root.ChildNodes()); 9647Assert.Empty(root.ChildNodes()); 9710Assert.Empty(root.ChildNodes());
Syntax\SyntaxAnnotationTests.cs (2)
136Assert.Empty(matchingNodesOrTokens); 146Assert.Empty(matchingTrivia);
Syntax\SyntaxTests.cs (2)
325Assert.Empty(returnedKindsInts); 343Assert.Empty(returnedKindsInts);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (18)
FunctionPointerUtilities.cs (18)
47Assert.Empty(symbol.Locations); 48Assert.Empty(symbol.DeclaringSyntaxReferences); 50Assert.Empty(symbol.GetTypeMembers()); 51Assert.Empty(symbol.InterfacesNoUseSiteDiagnostics()); 94Assert.Empty(symbol.TypeParameters); 95Assert.Empty(symbol.ExplicitInterfaceImplementations); 96Assert.Empty(symbol.Locations); 97Assert.Empty(symbol.DeclaringSyntaxReferences); 98Assert.Empty(symbol.TypeArgumentsWithAnnotations); 99Assert.Empty(symbol.GetAppliedConditionalSymbols()); 100Assert.Empty(symbol.ReturnNotNullIfParameterNotNull); 129Assert.Empty(symbol.Locations); 130Assert.Empty(symbol.DeclaringSyntaxReferences); 131Assert.Empty(symbol.NotNullIfParameterNotNull); 184Assert.Empty(semanticInfo.MemberGroup); 218Assert.Empty(semanticInfo.CandidateSymbols); 231Assert.Empty(semanticInfo.CandidateSymbols); 260Assert.Empty(semanticInfo.CandidateSymbols);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
Completion\AbstractCompletionProviderTests.cs (1)
219Assert.Empty(items);
Rename\RenamerTests.cs (2)
208Assert.Empty(documentRenameResult.ApplicableActions); 239Assert.Empty(documentRenameResult.ApplicableActions);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (25)
CodeFixes\CodeFixServiceTests.cs (4)
165Assert.Empty(documentDiagnosticAnalyzer.SupportedDiagnostics); 194Assert.Empty(GeneratorDiagnosticsPlaceholderAnalyzer.Instance.SupportedDiagnostics); 1111Assert.Empty(lowPriorityAnalyzerData.Analyzers); 1112Assert.Empty(lowPriorityAnalyzerData.SupportedDiagnosticIds);
Diagnostics\DiagnosticAnalyzerServiceTests.cs (1)
826Assert.Empty(analyzer.CanceledCompilations);
EditAndContinue\EditAndContinueLanguageServiceTests.cs (4)
135Assert.Empty(sessionState.ApplyChangesDiagnostics); 140Assert.Empty(sessionState.ApplyChangesDiagnostics); 152Assert.Empty(sessionState.ApplyChangesDiagnostics); 226Assert.Empty(sessionState.ApplyChangesDiagnostics);
Tagging\TagSpanIntervalTreeTests.cs (1)
46Assert.Empty(GetIntersectingSpans(tree, buffer.CurrentSnapshot.GetFullSpan()));
UnusedReferences\ProjectAssets\ProjectAssetsReaderTests.cs (2)
32Assert.Empty(realizedReferences); 53Assert.Empty(realizedReferences);
UnusedReferences\UnusedReferencesRemoverTests.cs (7)
34Assert.Empty(unusedReferences); 45Assert.Empty(unusedReferences); 56Assert.Empty(unusedReferences); 79Assert.Empty(unusedReferences); 90Assert.Empty(unusedReferences); 119Assert.Empty(unusedReferences); 133Assert.Empty(appliedUpdates);
Utilities\PatternMatcherTests.cs (2)
466Assert.Empty(spans); 485Assert.Empty(expectedSpans);
ValueTracking\AbstractBaseValueTrackingTests.cs (1)
71Assert.Empty(children);
ValueTracking\CSharpValueTrackingTests.cs (3)
286Assert.Empty(initialItems); 306Assert.Empty(initialItems); 329Assert.Empty(initialItems);
Microsoft.CodeAnalysis.Features.UnitTests (14)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (5)
1363Assert.Empty(result.ProjectsToRebuild); 1364Assert.Empty(result.ProjectsToRestart); 2496Assert.Empty(delta.ActiveStatements); 2503Assert.Empty(delta.ExceptionRegions); 2504Assert.Empty(delta.SequencePoints);
EditAndContinue\EmitSolutionUpdateResultsTests.cs (4)
179Assert.Empty(projectsToRestart); 180Assert.Empty(projectsToRebuild); 234Assert.Empty(projectsToRestart); 235Assert.Empty(projectsToRebuild);
FindUsages\DefinitionItemFactoryTests.cs (5)
935Assert.Empty(compilation.GetDiagnostics().Where(d => d.Severity == DiagnosticSeverity.Error)); 1340Assert.Empty(compilation.GetDiagnostics().Where(d => d.Severity == DiagnosticSeverity.Error)); 1400Assert.Empty(compilation.GetDiagnostics().Where(d => d.Severity == DiagnosticSeverity.Error)); 1515Assert.Empty(compilation.GetDiagnostics().Where(d => d.Severity == DiagnosticSeverity.Error)); 1586Assert.Empty(compilation.GetDiagnostics());
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (14)
DocumentChanges\DocumentChangesTests.cs (3)
45Assert.Empty(testLspServer.GetTrackedTexts()); 61Assert.Empty(testLspServer.GetTrackedTexts()); 171Assert.Empty(testLspServer.GetTrackedTexts());
DocumentChanges\DocumentChangesTests.WithFindAllReferences.cs (1)
39Assert.Empty(testLspServer.GetTrackedTexts());
Options\SolutionAnalyzerConfigOptionsUpdaterTests.cs (3)
49Assert.Empty(workspace.CurrentSolution.FallbackAnalyzerOptions); 71Assert.Empty(workspace.CurrentSolution.FallbackAnalyzerOptions); 262Assert.Empty(workspace.CurrentSolution.FallbackAnalyzerOptions);
Ordering\RequestOrderingTests.cs (6)
126Assert.Empty(responses.Where(r => r == null)); 127Assert.Empty(responses.Where(r => r!.StartTime == default)); 149Assert.Empty(responses.Where(r => r == null)); 150Assert.Empty(responses.Where(r => r!.StartTime == default)); 290Assert.Empty(responses.Where(r => r == null)); 291Assert.Empty(responses.Where(r => r!.StartTime == default));
Workspaces\LspWorkspaceRegistrationServiceTests.cs (1)
27Assert.Empty(registrationService.GetAllRegistrations());
Microsoft.CodeAnalysis.LanguageServer.UnitTests (2)
LspFileChangeWatcherTests.cs (2)
71Assert.Empty(dynamicCapabilitiesRpcTarget.Registrations); 102Assert.Empty(dynamicCapabilitiesRpcTarget.Registrations);
Microsoft.CodeAnalysis.Rebuild.UnitTests (2)
DeterministicKeyBuilderTests.cs (1)
434Assert.Empty(obj.Value<JObject>("features")!.Properties());
RoundTripUtil.cs (1)
108Assert.Empty(result.Diagnostics);
Microsoft.CodeAnalysis.Test.Utilities (55)
Assert\AssertEx.cs (2)
1063/// The core <see cref="Xunit.Assert.Empty(IEnumerable)"/> is annotated to not accept null but many 1069Assert.Empty(collection);
Compilation\ControlFlowGraphVerifier.cs (15)
137Assert.Empty(block.Operations); 138Assert.Empty(block.Predecessors); 148Assert.Empty(currentRegion.Locals); 149Assert.Empty(currentRegion.LocalFunctions); 150Assert.Empty(currentRegion.CaptureIds); 157Assert.Empty(block.Operations); 1434Assert.Empty(region.Locals); 1435Assert.Empty(region.LocalFunctions); 1475Assert.Empty(region.Locals); 1476Assert.Empty(region.LocalFunctions); 1477Assert.Empty(region.CaptureIds); 1483Assert.Empty(region.Locals); 1573Assert.Empty(branch.FinallyRegions); 1574Assert.Empty(branch.LeavingRegions); 1575Assert.Empty(branch.EnteringRegions);
Compilation\OperationTreeVerifier.cs (2)
1460Assert.Empty(propertyReference.Arguments); 1559Assert.Empty(operation.Locals);
Compilation\TestOperationVisitor.cs (36)
239Assert.Empty(operation.ChildOperations); 372Assert.Empty(operation.ChildOperations); 396Assert.Empty(operation.ChildOperations); 402Assert.Empty(operation.ChildOperations); 411Assert.Empty(operation.ChildOperations); 520Assert.Empty(operation.ChildOperations); 526Assert.Empty(operation.ChildOperations); 595Assert.Empty(operation.ChildOperations); 630Assert.Empty(operation.ChildOperations); 637Assert.Empty(operation.ChildOperations); 643Assert.Empty(operation.ChildOperations); 736Assert.Empty(operation.ChildOperations); 742Assert.Empty(operation.ChildOperations); 926Assert.Empty(operation.ChildOperations); 933Assert.Empty(operation.ChildOperations); 947Assert.Empty(operation.ChildOperations); 972Assert.Empty(operation.ChildOperations); 979Assert.Empty(operation.ChildOperations); 985Assert.Empty(operation.ChildOperations); 1006Assert.Empty(operation.ChildOperations); 1032Assert.Empty(operation.Arguments); 1053Assert.Empty(propertyReference.Arguments); 1115Assert.Empty(operation.Locals); 1229Assert.Empty(operation.ChildOperations); 1240Assert.Empty(operation.ChildOperations); 1248Assert.Empty(operation.ChildOperations); 1261Assert.Empty(operation.ChildOperations); 1408Assert.Empty(operation.ChildOperations); 1441Assert.Empty(operation.ChildOperations); 1455Assert.Empty(operation.ChildOperations); 1679Assert.Empty(operation.ChildOperations); 1686Assert.Empty(operation.ChildOperations); 1696Assert.Empty(operation.ChildOperations); 1735Assert.Empty(operation.ChildOperations); 1749Assert.Empty(operation.ChildOperations); 1756Assert.Empty(operation.ChildOperations);
Microsoft.CodeAnalysis.UnitTests (24)
AnalyzerAssemblyLoaderTests.cs (1)
1223Assert.Empty(compilationWithAnalyzers.GetAllDiagnosticsAsync().Result);
Analyzers\AnalyzerConfigTests.cs (13)
1646Assert.Empty(globalConfig.NamedSections); 2238Assert.Empty(globalOptions.AnalyzerOptions); 2239Assert.Empty(globalOptions.Diagnostics); 2240Assert.Empty(globalOptions.TreeOptions); 2375Assert.Empty(globalOptions.AnalyzerOptions); 2376Assert.Empty(globalOptions.TreeOptions); 2377Assert.Empty(globalOptions.Diagnostics); 2390Assert.Empty(globalOptions.AnalyzerOptions); 2391Assert.Empty(globalOptions.TreeOptions); 2392Assert.Empty(globalOptions.Diagnostics); 2398Assert.Empty(sectionOptions.TreeOptions); 2399Assert.Empty(sectionOptions.Diagnostics); 2615Assert.Empty(options.AnalyzerOptions);
Analyzers\AnalyzerFileReferenceTests.cs (4)
448Assert.Empty(errors); 452Assert.Empty(errors); 456Assert.Empty(errors); 503Assert.Empty(builder);
AssemblyUtilitiesTests.cs (2)
50Assert.Empty(results); 63Assert.Empty(results);
CachingLookupTests.cs (1)
116Assert.Empty(look1[k]);
Collections\List\ICollection.Generic.Tests.cs (1)
666Assert.Empty(collection);
Collections\List\IList.NonGeneric.Tests.cs (1)
986Assert.Empty(collection);
Diagnostics\CompilationWithAnalyzersTests.cs (1)
65Assert.Empty(analysisResult.CompilationDiagnostics);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (13)
CommandLineTests.vb (13)
3242Assert.Empty(parsedArgs.EmbeddedFiles) 7770Assert.Empty(args.ParseOptions.Features) 8719Assert.Empty(arguments.Errors) 8739Assert.Empty(arguments.Errors) 8760Assert.Empty(arguments.Errors) 8781Assert.Empty(arguments.Errors) 8802Assert.Empty(arguments.Errors) 8823Assert.Empty(arguments.Errors) 8844Assert.Empty(arguments.Errors) 8866Assert.Empty(arguments.Errors) 8887Assert.Empty(arguments.Errors) 8910Assert.Empty(arguments.Errors) 8933Assert.Empty(arguments.Errors)
Microsoft.CodeAnalysis.VisualBasic.Scripting.UnitTests (1)
ScriptTests.vb (1)
77Assert.Empty(ScriptOptions.Default.Imports)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (90)
FlowAnalysis\IterationJumpYieldStatementTests.vb (33)
792Assert.Empty(dataFlowAnalysisResults.AlwaysAssigned) 793Assert.Empty(dataFlowAnalysisResults.Captured) 796Assert.Empty(dataFlowAnalysisResults.DataFlowsOut) 801Assert.Empty(dataFlowAnalysisResults.VariablesDeclared) 802Assert.Empty(dataFlowAnalysisResults.WrittenInside) 831Assert.Empty(dataFlowAnalysisResults.AlwaysAssigned) 833Assert.Empty(dataFlowAnalysisResults.Captured) 834Assert.Empty(dataFlowAnalysisResults.DataFlowsIn) 835Assert.Empty(dataFlowAnalysisResults.DataFlowsOut) 838Assert.Empty(dataFlowAnalysisResults.ReadOutside) 841Assert.Empty(dataFlowAnalysisResults.WrittenOutside) 867Assert.Empty(dataFlowAnalysisResults.AlwaysAssigned) 868Assert.Empty(dataFlowAnalysisResults.VariablesDeclared) 869Assert.Empty(dataFlowAnalysisResults.Captured) 870Assert.Empty(dataFlowAnalysisResults.DataFlowsIn) 871Assert.Empty(dataFlowAnalysisResults.DataFlowsOut) 872Assert.Empty(dataFlowAnalysisResults.ReadInside) 875Assert.Empty(dataFlowAnalysisResults.WrittenInside) 899Assert.Empty(dataFlowAnalysisResults.AlwaysAssigned) 900Assert.Empty(dataFlowAnalysisResults.VariablesDeclared) ' should be empty, or it could not be extracted. 901Assert.Empty(dataFlowAnalysisResults.Captured) 902Assert.Empty(dataFlowAnalysisResults.DataFlowsIn) 903Assert.Empty(dataFlowAnalysisResults.DataFlowsOut) 904Assert.Empty(dataFlowAnalysisResults.ReadInside) 906Assert.Empty(dataFlowAnalysisResults.WrittenInside) 986Assert.Empty(dataFlowAnalysisResults.AlwaysAssigned) 987Assert.Empty(dataFlowAnalysisResults.VariablesDeclared) 988Assert.Empty(dataFlowAnalysisResults.Captured) 994Assert.Empty(dataFlowAnalysisResults.WrittenOutside) 1300Assert.Empty(controlFlowAnalysisResults.ExitPoints) 1410Assert.Empty(dataFlowAnalysis.AlwaysAssigned) 1412Assert.Empty(dataFlowAnalysis.DataFlowsOut) 1450Assert.Empty(dataFlowAnalysis.DataFlowsOut)
FlowAnalysis\TryLockUsingStatementTests.vb (57)
192Assert.Empty(controlFlowAnalysis.EntryPoints) 239Assert.Empty(controlFlowAnalysis.EntryPoints) 296Assert.Empty(controlFlowAnalysis.EntryPoints) 355Assert.Empty(controlFlowAnalysis.EntryPoints) 412Assert.Empty(controlFlowAnalysis.EntryPoints) 468Assert.Empty(controlFlowAnalysis.EntryPoints) 524Assert.Empty(controlFlowAnalysis.EntryPoints) 573Assert.Empty(controlFlowAnalysis.EntryPoints) 574Assert.Empty(controlFlowAnalysis.ExitPoints) 617Assert.Empty(controlFlowAnalysis.EntryPoints) 618Assert.Empty(controlFlowAnalysis.ExitPoints) 751Assert.Empty(controlFlowAnalysis.EntryPoints) 752Assert.Empty(controlFlowAnalysis.ExitPoints) 797Assert.Empty(controlFlowAnalysis.EntryPoints) 798Assert.Empty(controlFlowAnalysis.ExitPoints) 846Assert.Empty(controlFlowAnalysis.EntryPoints) 847Assert.Empty(controlFlowAnalysis.ExitPoints) 891Assert.Empty(controlFlowAnalysis.EntryPoints) 892Assert.Empty(controlFlowAnalysis.ExitPoints) 971Assert.Empty(controlFlowAnalysis.EntryPoints) 972Assert.Empty(controlFlowAnalysis.ExitPoints) 1029Assert.Empty(controlFlowAnalysis.EntryPoints) 1123Assert.Empty(controlFlowAnalysis.EntryPoints) 1124Assert.Empty(controlFlowAnalysis.ExitPoints) 1167Assert.Empty(controlFlowAnalysis.EntryPoints) 1168Assert.Empty(controlFlowAnalysis.ExitPoints) 1223Assert.Empty(controlFlowAnalysis.EntryPoints) 1224Assert.Empty(controlFlowAnalysis.ExitPoints) 1278Assert.Empty(controlFlowAnalysis.EntryPoints) 1279Assert.Empty(controlFlowAnalysis.ExitPoints) 1429Assert.Empty(dataFlowAnalysisResults.DataFlowsOut) 1474Assert.Empty(dataFlowAnalysisResults.AlwaysAssigned) 1477Assert.Empty(dataFlowAnalysisResults.DataFlowsOut) 1526Assert.Empty(dataFlowAnalysisResults.DataFlowsOut) 1570Assert.Empty(dataFlowAnalysisResults.AlwaysAssigned) 1573Assert.Empty(dataFlowAnalysisResults.DataFlowsOut) 1605Assert.Empty(dataFlowAnalysisResults.AlwaysAssigned) 1891Assert.Empty(analysis.VariablesDeclared) 1893Assert.Empty(analysis.DataFlowsIn) 1894Assert.Empty(analysis.DataFlowsOut) 1895Assert.Empty(analysis.ReadInside) 1932Assert.Empty(analysis.ReadOutside) 1934Assert.Empty(analysis.WrittenOutside) 1935Assert.Empty(analysis.DataFlowsIn) 1936Assert.Empty(analysis.DataFlowsOut) 1971Assert.Empty(analysis.ReadOutside) 1973Assert.Empty(analysis.WrittenOutside) 1974Assert.Empty(analysis.DataFlowsIn) 1975Assert.Empty(analysis.DataFlowsOut) 2003Assert.Empty(analysis.ReadOutside) 2005Assert.Empty(analysis.WrittenOutside) 2006Assert.Empty(analysis.DataFlowsIn) 2007Assert.Empty(analysis.DataFlowsOut) 2039Assert.Empty(analysis.ReadOutside) 2043Assert.Empty(analysis.DataFlowsOut) 2078Assert.Empty(analysis.ReadOutside) 2082Assert.Empty(analysis.DataFlowsOut)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Syntax\SyntaxAnnotationTests.vb (2)
124Assert.Empty(matchingNodesOrTokens) 133Assert.Empty(matchingTrivia)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (37)
NetCoreTests.cs (9)
93Assert.Empty(diagnostics); 118Assert.Empty(diagnostics); 158Assert.Empty(diagnostics); 218Assert.Empty(diagnostics); 342Assert.Empty(diagnostics); 391Assert.Empty(project.ProjectReferences); 420Assert.Empty(project.ProjectReferences); 421Assert.Empty(workspace.Diagnostics); 509Assert.Empty(diagnostics.Where(d => d.Severity >= DiagnosticSeverity.Warning));
VisualStudioMSBuildWorkspaceTests.cs (28)
378Assert.Empty(diagnostics); 728Assert.Empty(workspace.Diagnostics); 743Assert.Empty(project.ProjectReferences); 897Assert.Empty(diagnostics); 916Assert.Empty(diagnostics); 973Assert.Empty(ws.Diagnostics); 1020Assert.Empty(workspace.Diagnostics); 1079Assert.Empty(solution.ProjectIds); 1109Assert.Empty(solution.ProjectIds); 1225Assert.Empty(project.ProjectReferences); // no resolved project references 1254Assert.Empty(project.ProjectReferences); // no resolved project references 1287Assert.Empty(project.ProjectReferences); // no resolved project references 1325Assert.Empty(project.ProjectReferences); 1326Assert.Empty(project.AllProjectReferences); 1349Assert.Empty(project.ProjectReferences); 1350Assert.Empty(project.AllProjectReferences); 1372Assert.Empty(project.ProjectReferences); 1396Assert.Empty(projRefs); 1438Assert.Empty(vbProject.ProjectReferences); 2309Assert.Empty(errs); 2449Assert.Empty(project.ProjectReferences); 2469Assert.Empty(project.ProjectReferences); 2734Assert.Empty(libraryProject.AllProjectReferences); 2764Assert.Empty(library2Project.AllProjectReferences); 2967Assert.Empty(workspace.CurrentSolution.GetProject(project.Id).ProjectReferences); 3009Assert.Empty(proj.DocumentIds); 3137Assert.Empty(commandLineArgs.Errors); 3263Assert.Empty(project.AnalyzerConfigDocuments);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
MEF\TestComposition.cs (1)
133Assert.Empty(configurationOverlap);
Microsoft.CodeAnalysis.Workspaces.UnitTests (45)
FindReferencesTests.cs (3)
335Assert.Empty(expectedMatchedLines); 346Assert.Empty(expectedMatchedLines); 357Assert.Empty(expectedMatchedLines);
Options\OptionKeyTests.cs (1)
174Assert.Empty(publicOption.StorageLocations);
SolutionTests\SolutionTestHelpers.cs (1)
53Assert.Empty(getter(instanceWithNoItem));
SolutionTests\SolutionTests.cs (22)
238Assert.Empty(newSolution3.GetDocumentIdsWithFilePath("")); 242Assert.Empty(newSolution4.GetDocumentIdsWithFilePath(null)); 1955Assert.Empty(newSolution1.GetProject(projectId)!.ProjectReferences); 2023Assert.Empty(solution4.GetProject(projectId)!.AllProjectReferences); 2129Assert.Empty(solution3.GetProject(projectId)!.MetadataReferences); 2202Assert.Empty(solution3.GetProject(projectId)!.AnalyzerReferences); 2268Assert.Empty(solution3.AnalyzerReferences); 2698Assert.Empty(finalProject.Documents); 2699Assert.Empty((await finalProject.GetCompilationAsync()).SyntaxTrees); 2721Assert.All(solution.Projects, p => Assert.Empty(p.Documents)); 2984Assert.Empty(solution.Projects.Single().AnalyzerReferences); 3003Assert.Empty(removedAnalyzerReferences); 3009Assert.Empty(actualAnalyzerReferences); 4009Assert.Empty(project.GetCompilationAsync().Result.ExternalReferences); 4260Assert.Empty(frozenDocument.Project.AdditionalDocuments); 4951Assert.Empty(solution.GetDocumentIdsWithFilePath(editorConfigFilePath)); 5584Assert.Empty(frozenProject.Documents); 5587Assert.Empty(frozenCompilation.SyntaxTrees); 5628Assert.Empty(frozenProject2.Documents); 5635Assert.Empty(frozenCompilation2.SyntaxTrees); 5662Assert.Empty(frozenProject2.Documents); 5665Assert.Empty(frozenCompilation2.SyntaxTrees);
SolutionTests\SolutionWithSourceGeneratorTests.cs (2)
578Assert.Empty(await project.GetSourceGeneratedDocumentsAsync()); 645Assert.Empty(await workspace.CurrentSolution.Projects.Single().GetSourceGeneratedDocumentsAsync());
TestCompositionTests.cs (7)
32Assert.Empty(composition2.RemoveAssemblies(assembly1).Assemblies); 49Assert.Empty(composition3.Parts); 50Assert.Empty(composition3.ExcludedPartTypes); 54Assert.Empty(composition3.ExcludedPartTypes); 68Assert.Empty(composition3.Parts); 70Assert.Empty(composition3.ExcludedPartTypes); 71Assert.Empty(composition3.Parts);
UtilityTest\IntervalTreeTests.cs (8)
42Assert.Empty(spans); 53Assert.Empty(spans); 64Assert.Empty(spans); 75Assert.Empty(spans); 86Assert.Empty(spans); 173Assert.Empty(GetIntervalsThatOverlapWith(tree, 2, 2)); 174Assert.Empty(GetIntervalsThatOverlapWith(tree, 11, 2)); 175Assert.Empty(GetIntervalsThatOverlapWith(tree, 22, 2));
UtilityTest\WeakEventTests.cs (1)
39Assert.Empty(target);
Microsoft.Data.Analysis.Tests (9)
DataFrameGroupByTests.cs (1)
52Assert.Empty(grouping);
DataFrameJoinExtensionsTests.cs (4)
33Assert.Empty(intersection); 56Assert.Empty(intersection); 79Assert.Empty(intersection); 110Assert.Empty(intersection);
DataFrameTests.cs (2)
159Assert.Empty(dataFrame.Columns); 173Assert.Empty(dataFrame.Columns);
DataFrameTests.Merge.cs (2)
782Assert.Empty(intersection); 798Assert.Empty(intersection);
Microsoft.DotNet.Arcade.Sdk.Tests (1)
GenerateResxSourceTests.cs (1)
54Assert.Empty(engine.Warnings);
Microsoft.DotNet.Build.Tasks.Feed.Tests (2)
PublishToSymbolServerTest.cs (2)
159Assert.Empty(buildEngine.BuildErrorEvents); 160Assert.Empty(buildEngine.BuildWarningEvents);
Microsoft.DotNet.SourceBuild.Tasks.Tests (1)
ValidateUsageAgainstBaselineTests.cs (1)
66Assert.Empty(data.ActualUsageData.Usages);
Microsoft.DotNet.XliffTasks.Tests (3)
XlfDocumentTests.cs (3)
458Assert.Empty(untranslatedResources); 570Assert.Empty(validationErrors); 580Assert.Empty(validationErrors);
Microsoft.DotNet.XUnitAssert.Tests (4)
CollectionAssertsTests.cs (4)
656 Assert.Throws<ArgumentNullException>("collection", () => Assert.Empty(default(IEnumerable)!)); 664 Assert.Empty(list); 672 var ex = Record.Exception(() => Assert.Empty(list)); 687 Assert.Empty(enumerator);
Microsoft.DotNet.XUnitExtensions.Tests (1)
ConditionalAttributeTests.cs (1)
35Assert.Empty(res);
Microsoft.Extensions.ApiDescription.Tool.Tests (4)
GetDocumentTests.cs (4)
41Assert.Empty(diagnostic.Errors); 66Assert.Empty(diagnostic.Errors); 92Assert.Empty(diagnostic.Errors); 124Assert.Empty(diagnostic.Errors);
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (2)
RedisCacheSetAndRemoveTests.cs (2)
113Assert.Empty(arr); 127Assert.Empty(arr);
Microsoft.Extensions.Configuration.KeyPerFile.Tests (4)
KeyPerFileTests.cs (4)
162Assert.Empty(config.AsEnumerable()); 306Assert.Empty(config.AsEnumerable()); 369Assert.Empty(config.AsEnumerable()); 421Assert.Empty(config.AsEnumerable());
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (4)
DefaultHealthCheckServiceTest.cs (4)
91Assert.Empty(actual.Value.Data); 113Assert.Empty(actual.Value.Data); 145Assert.Empty(actual.Value.Data); 154Assert.Empty(actual.Value.Data);
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Linux\OSFileSystemTests.cs (1)
135Assert.Empty(lines);
Microsoft.Extensions.Diagnostics.Testing.Tests (32)
Logging\FakeLogCollectorOptionsTests.cs (2)
15Assert.Empty(options.FilteredCategories); 16Assert.Empty(options.FilteredLevels);
Logging\FakeLoggerTests.cs (4)
41Assert.Empty(records[0].Scopes); 49Assert.Empty(records[0].Scopes); 58Assert.Empty(logger.LatestRecord.Scopes); 63Assert.Empty(logger.Collector.GetSnapshot());
Metrics\MeasurementExtensionsTests.cs (7)
36Assert.Empty(filtered); 61Assert.Empty(filtered); 86Assert.Empty(filtered); 89Assert.Empty(filtered); 114Assert.Empty(filtered); 117Assert.Empty(filtered); 120Assert.Empty(filtered);
Metrics\MetricCollectorTests.cs (19)
52Assert.Empty(collector.GetMeasurementSnapshot()); 66Assert.Empty(collector.LastMeasurement.Tags); 76Assert.Empty(collector.LastMeasurement.Tags); 81Assert.Empty(collector.GetMeasurementSnapshot()); 98Assert.Empty(collector.GetMeasurementSnapshot()); 111Assert.Empty(collector.LastMeasurement.Tags); 121Assert.Empty(collector.LastMeasurement.Tags); 126Assert.Empty(collector.GetMeasurementSnapshot()); 145Assert.Empty(collector.GetMeasurementSnapshot()); 158Assert.Empty(collector.LastMeasurement.Tags); 168Assert.Empty(collector.LastMeasurement.Tags); 173Assert.Empty(collector.GetMeasurementSnapshot()); 206Assert.Empty(collector.GetMeasurementSnapshot()); 219Assert.Empty(collector.LastMeasurement.Tags); 229Assert.Empty(collector.LastMeasurement.Tags); 403Assert.Empty(snap[0].Tags); 407Assert.Empty(snap[1].Tags); 411Assert.Empty(snap[2].Tags); 416Assert.Empty(collector.GetMeasurementSnapshot());
Microsoft.Extensions.FileProviders.Embedded.Tests (2)
EmbeddedFileProviderTests.cs (2)
234Assert.Empty(files); 251Assert.Empty(files);
Microsoft.Extensions.Hosting.Testing.Tests (2)
FakeConfigurationSourceTests.cs (1)
37Assert.Empty(configSource.InitialData!);
HostTerminatorServiceTests.cs (1)
27Assert.Empty(logger.Collector.GetSnapshot());
Microsoft.Extensions.Http.Resilience.Tests (1)
Hedging\HedgingTests.cs (1)
325protected void AssertNoResponse() => Assert.Empty(_responses);
Microsoft.Extensions.Telemetry.Abstractions.Tests (1)
Logging\LoggerMessageStateTests.cs (1)
147Assert.Empty(list);
Microsoft.Extensions.Telemetry.Tests (5)
Http\HttpParserTests.cs (3)
130Assert.Empty(httpRouteParameters); 137Assert.Empty(httpRouteParameters); 144Assert.Empty(httpRouteParameters);
Latency\Internal\LatencyContextTests.cs (2)
95Assert.Empty(measures.ToArray()); 256Assert.Empty(checkpoints.ToArray());
Microsoft.Gen.ComplianceReports.Unit.Tests (2)
GeneratorTests.cs (2)
69Assert.Empty(d); 155Assert.Empty(diags);
Microsoft.Gen.ContextualOptions.Unit.Tests (4)
EmitterTests.cs (1)
146Assert.Empty(d);
ParserTests.cs (2)
30Assert.Empty(result!.Single().OptionsContextProperties); 47Assert.Empty(result!.Single().Diagnostics);
SyntaxContextReceiverTests.cs (1)
88Assert.Empty(typeDeclarations!);
Microsoft.Gen.Logging.Generated.Tests (1)
TagProviderTests.cs (1)
130Assert.Empty(latestRecord.StructuredState!);
Microsoft.Gen.Logging.Unit.Tests (9)
AttributeParserTests.cs (8)
32Assert.Empty(diagnostics); 48Assert.Empty(diagnostics); 62Assert.Empty(diagnostics); 76Assert.Empty(diagnostics); 90Assert.Empty(diagnostics); 113Assert.Empty(diagnostics); 127Assert.Empty(diagnostics); 156Assert.Empty(diagnostics);
ParserTests.cs (1)
680Assert.Empty(diagnostics);
Microsoft.Gen.Metrics.Generated.Tests (10)
MetricTests.cs (6)
57Assert.All(measurements, x => Assert.Empty(x.Tags)); 84Assert.All(measurements, x => Assert.Empty(x.Tags)); 112Assert.All(measurements, x => Assert.Empty(x.Tags)); 140Assert.All(measurements, x => Assert.Empty(x.Tags)); 303Assert.Empty(measurement.Tags); 316Assert.Empty(measurement.Tags);
MetricTests.Ext.cs (4)
43Assert.All(measurements, x => Assert.Empty(x.Tags)); 68Assert.All(measurements, x => Assert.Empty(x.Tags)); 95Assert.All(measurements, x => Assert.Empty(x.Tags)); 122Assert.All(measurements, x => Assert.Empty(x.Tags));
Microsoft.Gen.Metrics.Unit.Tests (36)
EmitterTests.cs (1)
42Assert.Empty(d);
ParserTests.cs (22)
151Assert.Empty(d); 164Assert.Empty(d); 261Assert.Empty(d); 274Assert.Empty(d); 307Assert.Empty(d); 340Assert.Empty(d); 373Assert.Empty(d); 388Assert.Empty(d); 477Assert.Empty(d); 499Assert.Empty(d); 523Assert.Empty(d); 547Assert.Empty(d); 576Assert.Empty(d); 589Assert.Empty(d); 602Assert.Empty(d); 633Assert.Empty(d); 650Assert.Empty(d); 666Assert.Empty(d); 682Assert.Empty(d); 713Assert.Empty(d); 729Assert.Empty(d); 742Assert.Empty(d);
ParserTests.StrongTypes.cs (13)
28Assert.Empty(d); 56Assert.Empty(d); 136Assert.Empty(d); 157Assert.Empty(d); 170Assert.Empty(d); 202Assert.Empty(d); 267Assert.Empty(d); 395Assert.Empty(d); 517Assert.Empty(d); 558Assert.Empty(d); 592Assert.Empty(d); 612Assert.Empty(d); 661Assert.Empty(d);
Microsoft.JSInterop.Tests (1)
JSRuntimeTest.cs (1)
100Assert.Empty(runtime.BeginInvokeCalls);
Microsoft.ML.AutoML.Tests (2)
ColumnInferenceTests.cs (1)
130Assert.Empty(result.ColumnInformation.TextColumnNames);
SuggestedPipelineBuilderTests.cs (1)
49Assert.Empty(pipeline.Transforms);
Microsoft.ML.IntegrationTests (8)
IntrospectiveTraining.cs (4)
62Assert.Empty(tree.GetCategoricalSplitFeaturesAt(0)); 63Assert.Empty(tree.GetCategoricalCategoricalSplitFeatureRangeAt(0)); 106Assert.Empty(tree.GetCategoricalSplitFeaturesAt(0)); 107Assert.Empty(tree.GetCategoricalCategoricalSplitFeatureRangeAt(0));
ModelFiles.cs (4)
180Assert.Empty(Assert.IsType<TransformerChain<ITransformer>>(t)); 181Assert.Empty(Assert.IsType<TransformerChain<ITransformer>>(t1)); 399Assert.Empty(Assert.IsType<TransformerChain<ITransformer>>(loadedWithSchema)); 400Assert.Empty(Assert.IsType<TransformerChain<ITransformer>>(loadedWithLoader));
Microsoft.ML.Tests (15)
Transformers\KeyToBinaryVectorEstimatorTest.cs (1)
130Assert.Empty(column.Annotations.Schema);
Transformers\NormalizerTests.cs (14)
147Assert.Empty(floatAffineDataVec.Offset); 155Assert.Empty(doubleAffineDataVec.Offset); 176Assert.Empty(doubleBinDataVec.Offset); 185Assert.Empty(floatCdfMeanDataVec.Offset); 193Assert.Empty(doubleCdfMeanDataVec.Offset); 264Assert.Empty(floatAffineModelVec.Offset); 274Assert.Empty(doubleAffineModelVector.Offset); 307Assert.Empty(doubleBinModelVector.Offset); 317Assert.Empty(floatCdfMeanModelVector.Offset); 327Assert.Empty(doubleCdfMeanModelVector.Offset); 388Assert.Empty(doubleBinModelVector.Offset); 448Assert.Empty(floatAffineModelVec.Offset); 461Assert.Empty(doubleAffineModelVector.Offset); 970Assert.Empty(noCdfParams.Offset);
Microsoft.ML.Tokenizers.Tests (5)
PreTokenizerTests.cs (1)
73Assert.Empty(PreTokenizer.CreateWordOrNonWord().PreTokenize((string)null!));
TiktokenTests.cs (2)
256Assert.Empty(encoded); 260Assert.Empty(result);
WordPieceTests.cs (2)
63Assert.Empty(tokens); 66Assert.Empty(ids);
Microsoft.Net.Http.Headers.Tests (12)
ContentDispositionHeaderValueTest.cs (3)
46Assert.Empty(contentDisposition.Parameters); 83Assert.Empty(contentDisposition.Parameters); 345Assert.Empty(contentDisposition.Parameters);
EntityTagHeaderValueTest.cs (3)
248Assert.Empty(result); 252Assert.Empty(result); 256Assert.Empty(result);
MediaTypeHeaderValueTest.cs (6)
106Assert.Empty(mediaType.Parameters); 241Assert.Empty(mediaType.Parameters); 277Assert.Empty(mediaType.Parameters); 521Assert.Empty(results); 525Assert.Empty(results); 529Assert.Empty(results);
Microsoft.VisualBasic.Tests (6)
Microsoft\VisualBasic\MyServices\FileSystemProxyTests.cs (6)
269Assert.Empty(DirectoryList); 291Assert.Empty(DirectoryList); 315Assert.Empty(DirectoryList); 393Assert.Empty(FileList); 419Assert.Empty(FileList); 445Assert.Empty(FileList);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (20)
EditorConfigSettings\DataProvider\DataProviderTests.cs (6)
223Assert.Empty(dataSnapShot); 234Assert.Empty(dataSnapShot); 245Assert.Empty(dataSnapShot); 256Assert.Empty(dataSnapShot); 267Assert.Empty(dataSnapShot); 278Assert.Empty(dataSnapShot);
PersistentStorage\AbstractPersistentStorageTests.cs (1)
971Assert.Empty(exceptions);
ProjectSystemShim\CPS\SourceFileHandlingTests.cs (12)
33Assert.Empty(GetCurrentDocuments()); 42Assert.Empty(GetCurrentDocuments()); 51Assert.Empty(GetCurrentAdditionalDocuments()); 60Assert.Empty(GetCurrentAdditionalDocuments()); 71Assert.Empty(GetCurrentDocuments()); 120Assert.Empty(GetCurrentDocuments()); 162Assert.Empty(GetCurrentDocuments()); 216Assert.Empty(GetCurrentDocuments()); 255Assert.Empty(GetCurrentDocuments()); 294Assert.Empty(GetCurrentDocuments()); 330Assert.Empty(GetCurrentDocuments()); 378Assert.Empty(GetCurrentDocuments());
ProjectSystemShim\EntryPointFinderTests.cs (1)
33=> Validate(signature, Assert.Empty);
Mvc.Analyzers.Test (2)
CodeAnalysisExtensionsTest.cs (2)
33Assert.Empty(attributes); 286Assert.Empty(attributes);
Mvc.Api.Analyzers.Test (2)
ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest.cs (1)
59Assert.Empty(result);
ApiConventionAnalyzerIntegrationTest.cs (1)
270Assert.Empty(result);
Roslyn.VisualStudio.Next.UnitTests (3)
Services\PerformanceTrackerServiceTests.cs (3)
34Assert.Empty(analyzerInfos); 60Assert.Empty(analyzerInfos); 66Assert.Empty(analyzerInfos);
SemanticSearch.BuildTask.UnitTests (5)
GenerateFilteredReferenceAssembliesTaskTests.cs (5)
33Assert.Empty(errors); 34Assert.Empty(patterns); 47Assert.Empty(patterns); 61Assert.Empty(patterns); 87Assert.Empty(errors);
ServerComparison.FunctionalTests (1)
ResponseCompressionTests.cs (1)
175Assert.Empty(response.Content.Headers.ContentEncoding);
Shared.Tests (40)
Data.Validation\LengthAttributeTests.cs (16)
35Assert.Empty(results); 47Assert.Empty(results); 68Assert.Empty(results); 91Assert.Empty(results); 103Assert.Empty(results); 125Assert.Empty(results); 162Assert.Empty(results); 179Assert.Empty(results); 197Assert.Empty(results); 219Assert.Empty(results); 230Assert.Empty(results); 242Assert.Empty(results); 269Assert.Empty(results); 286Assert.Empty(results); 304Assert.Empty(results); 376Assert.Empty(result!.MemberNames);
Data.Validation\TimeSpanAttributeTests.cs (14)
33Assert.Empty(results); 52Assert.Empty(results); 57Assert.Empty(results); 70Assert.Empty(results); 75Assert.Empty(results); 98Assert.Empty(results); 117Assert.Empty(results); 138Assert.Empty(results); 161Assert.Empty(results); 180Assert.Empty(results); 185Assert.Empty(results); 198Assert.Empty(results); 203Assert.Empty(results); 253Assert.Empty(result!.MemberNames);
EmptyCollections\EmptyCollectionExtensionsTests.cs (1)
66Assert.Empty(nothing);
EmptyCollections\EmptyReadonlyDictionaryTests.cs (2)
42Assert.Empty(dict.Keys); 43Assert.Empty(dict.Values);
EmptyCollections\EmptyTests.cs (4)
13Assert.Empty(Empty.ReadOnlyCollection<int>()); 14Assert.Empty(Empty.ReadOnlyList<int>()); 15Assert.Empty(Empty.Enumerable<int>()); 16Assert.Empty(Empty.ReadOnlyDictionary<int, int>());
Pools\PoolTests.cs (3)
158Assert.Empty(l2); 173Assert.Empty(d2); 188Assert.Empty(s2);
System.Drawing.Common.Tests (58)
mono\System.Drawing.Imaging\IconCodecTests.cs (20)
52Assert.Empty(bmp.Palette.Entries); 60Assert.Empty(image.Palette.Entries); 78Assert.Empty(bmp.PropertyIdList); 79Assert.Empty(bmp.PropertyItems); 100Assert.Empty(bmp.Palette.Entries); 226Assert.Empty(bmp.PropertyIdList); 227Assert.Empty(bmp.PropertyItems); 248Assert.Empty(bmp.Palette.Entries); 431Assert.Empty(bmp.PropertyIdList); 432Assert.Empty(bmp.PropertyItems); 453Assert.Empty(bmp.Palette.Entries); 653Assert.Empty(bmp.PropertyIdList); 654Assert.Empty(bmp.PropertyItems); 675Assert.Empty(bmp.Palette.Entries); 911Assert.Empty(bmp.PropertyIdList); 912Assert.Empty(bmp.PropertyItems); 933Assert.Empty(bmp.Palette.Entries); 1843Assert.Empty(bmp.Palette.Entries); 1845Assert.Empty(bmp.PropertyIdList); 1846Assert.Empty(bmp.PropertyItems);
mono\System.Drawing.Imaging\JpegCodecTests.cs (1)
195Assert.Empty(bmp.Palette.Entries);
mono\System.Drawing.Imaging\PngCodecTests.cs (1)
254Assert.Empty(bmp.Palette.Entries);
mono\System.Drawing\BitmapTests.cs (6)
1179Assert.Empty(b.Palette.Entries); 1266Assert.Empty(bitmap.Palette.Entries); 1277Assert.Empty(image.Palette.Entries); 1292Assert.Empty(bitmap.Palette.Entries); 1304Assert.Empty(image.Palette.Entries); 1313Assert.Empty(image2.Palette.Entries);
mono\System.Drawing\GraphicsTests.cs (8)
1849Assert.Empty(regions); 1852Assert.Empty(regions); 1854Assert.Empty(regions); 1858Assert.Empty(regions); 1861Assert.Empty(regions); 1863Assert.Empty(regions); 1873Assert.Empty(regions); 1876Assert.Empty(regions);
System\Drawing\BitmapTests.cs (1)
706Assert.Empty(result.Palette.Entries);
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (2)
232Assert.Empty(points); 233Assert.Empty(types);
System\Drawing\Drawing2D\GraphicsPathTests.cs (6)
139Assert.Empty(gp.PathData.Points); 140Assert.Empty(gp.PathData.Types); 749Assert.Empty(gpi.PathData.Points); 752Assert.Empty(gpf.PathData.Points); 2064Assert.Empty(gp.PathData.Points); 2065Assert.Empty(gp.PathData.Types);
System\Drawing\IconTests.cs (2)
526Assert.Empty(bitmap.Palette.Entries); 564Assert.Empty(bitmap.Palette.Entries);
System\Drawing\ImageTests.cs (5)
32Assert.Empty(bitmap.PropertyIdList); 82Assert.Empty(bitmap.PropertyItems); 90Assert.Empty(bitmap.PropertyItems); 148Assert.Empty(bitmap.PropertyIdList); 168Assert.Empty(bitmap.PropertyIdList);
System\Drawing\PenTests.cs (1)
1206Assert.Empty(pen.CompoundArray);
System\Drawing\RegionTests.cs (4)
188Assert.Empty(region.GetRegionScans(matrix)); 239Assert.Empty(region.GetRegionScans(matrix)); 1449Assert.Empty(region.GetRegionScans(matrix)); 1959Assert.Empty(region.GetRegionScans(matrix));
System\Drawing\Text\PrivateFontCollectionTests.cs (1)
14Assert.Empty(fontCollection.Families);
System.Windows.Forms.Design.Tests (233)
ListViewDesignerTests.cs (1)
15Assert.Empty(listViewDesigner.AssociatedComponents);
Serialization\PrimitiveCodeDomSerializerTests.cs (2)
35Assert.Empty(result.UserData); 52Assert.Empty(cast.UserData);
SplitContainerDesignerTests.cs (1)
41Assert.Empty(splitContainerDesigner.AssociatedComponents);
System\ComponentModel\Design\ByteViewerTests.cs (1)
163Assert.Empty(control.GetBytes());
System\ComponentModel\Design\CollectionFormTests.cs (7)
26Assert.Empty(form.Items); 71Assert.Empty(form.Items); 77Assert.Empty(form.Items); 146Assert.Empty(form.Items); 154Assert.Empty(form.Items); 264Assert.Empty(form.Items); 272Assert.Empty(form.Items);
System\ComponentModel\Design\ComponentDesignerTests.cs (7)
19Assert.Empty(designer.ActionLists); 21Assert.Empty(designer.AssociatedComponents); 29Assert.Empty(designer.Verbs); 38Assert.Empty(treeDesigner.Children); 194Assert.Empty(treeDesigner.Children); 2007Assert.Empty(designer.AssociatedComponents); 2132Assert.Empty(designer.AssociatedComponents);
System\ComponentModel\Design\DesignerActionHeaderItemTests.cs (2)
22Assert.Empty(item.Properties); 40Assert.Empty(item.Properties);
System\ComponentModel\Design\DesignerActionItemCollectionTests.cs (4)
12Assert.Empty(collection); 76Assert.Empty(collection); 157Assert.Empty(collection); 161Assert.Empty(collection);
System\ComponentModel\Design\DesignerActionItemTests.cs (1)
22Assert.Empty(item.Properties);
System\ComponentModel\Design\DesignerActionListCollectionTests.cs (5)
12Assert.Empty(collection); 126Assert.Empty(collection); 132Assert.Empty(collection); 205Assert.Empty(collection); 209Assert.Empty(collection);
System\ComponentModel\Design\DesignerActionListTests.cs (1)
126Assert.Empty(items);
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (6)
30Assert.Empty(item.Properties); 56Assert.Empty(item.Properties); 82Assert.Empty(item.Properties); 108Assert.Empty(item.Properties); 134Assert.Empty(item.Properties); 160Assert.Empty(item.Properties);
System\ComponentModel\Design\DesignerActionPropertyItemTests.cs (3)
23Assert.Empty(item.Properties); 43Assert.Empty(item.Properties); 63Assert.Empty(item.Properties);
System\ComponentModel\Design\DesignerActionServiceTests.cs (43)
62Assert.Empty(service.GetComponentActions(component, ComponentActionsType.Component)); 66Assert.Empty(actionListBuffer1); 88Assert.Empty(service.GetComponentActions(component, ComponentActionsType.Component)); 92Assert.Empty(actionListBuffer1); 118Assert.Empty(service.GetComponentActions(component, ComponentActionsType.Component)); 122Assert.Empty(actionListBuffer1); 144Assert.Empty(service.GetComponentActions(component, ComponentActionsType.Component)); 148Assert.Empty(actionListBuffer1); 172Assert.Empty(service.GetComponentActions(component)); 177Assert.Empty(service.GetComponentActions(component)); 358Assert.Empty(service.GetComponentActions(new Component(), type)); 359Assert.Empty(service.GetComponentActions(new Component(), type)); 368Assert.Empty(service.GetComponentActions(new Component(), type)); 379Assert.Empty(service.GetComponentActions(component, type)); 511Assert.Empty(actionItem.Properties); 548Assert.Empty(actionList.GetSortedActionItems()); 553Assert.Empty(actionList.GetSortedActionItems()); 558Assert.Empty(actionList.GetSortedActionItems()); 631Assert.Empty(actionListBuffer); 640Assert.Empty(actionListBuffer); 667Assert.Empty(service.GetComponentActions(component)); 672Assert.Empty(service.GetComponentActions(component)); 692Assert.Empty(e.ActionLists); 748Assert.Empty(service.GetComponentActions(component1)); 759Assert.Empty(service.GetComponentActions(component1)); 770Assert.Empty(service.GetComponentActions(component1)); 781Assert.Empty(service.GetComponentActions(component1)); 786Assert.Empty(service.GetComponentActions(component3)); 790Assert.Empty(service.GetComponentActions(component2)); 811Assert.Empty(service.GetComponentActions(component1)); 816Assert.Empty(service.GetComponentActions(component3)); 820Assert.Empty(service.GetComponentActions(component2)); 824Assert.Empty(service.GetComponentActions(component4)); 874Assert.Empty(e.ActionLists); 915Assert.Empty(service.GetComponentActions(component1)); 926Assert.Empty(service.GetComponentActions(component1)); 937Assert.Empty(service.GetComponentActions(component1)); 948Assert.Empty(service.GetComponentActions(component1)); 949Assert.Empty(service.GetComponentActions(component2)); 959Assert.Empty(service.GetComponentActions(component1)); 960Assert.Empty(service.GetComponentActions(component2)); 962Assert.Empty(service.GetComponentActions(component4)); 1004Assert.Empty(e.ActionLists);
System\ComponentModel\Design\DesignerActionTextItemTests.cs (1)
22Assert.Empty(item.Properties);
System\ComponentModel\Design\DesignerHostTests.cs (17)
903Assert.Empty(surface.LoadErrors); 1518Assert.Empty(container.Components); 1657Assert.Empty(host.Container.Components); 1814Assert.Empty(surface.LoadErrors); 1829Assert.Empty(surface.LoadErrors); 1842Assert.Empty(surface.LoadErrors); 1854Assert.Empty(surface.LoadErrors); 2226Assert.Empty(surface.LoadErrors); 2558Assert.Empty(host.Container.Components); 2626Assert.Empty(host.Container.Components); 2633Assert.Empty(host.Container.Components); 2696Assert.Empty(host.Container.Components); 2703Assert.Empty(host.Container.Components); 2723Assert.Empty(host.Container.Components); 2740Assert.Empty(host.Container.Components); 2775Assert.Empty(host2.Container.Components); 2839Assert.Empty(host.Container.Components);
System\ComponentModel\Design\DesignerVerbCollectionTests.cs (5)
12Assert.Empty(collection); 126Assert.Empty(collection); 132Assert.Empty(collection); 205Assert.Empty(collection); 209Assert.Empty(collection);
System\ComponentModel\Design\DesignSurfaceTests.cs (17)
18Assert.Empty(surface.ComponentContainer.Components); 30Assert.Empty(surface.LoadErrors); 57Assert.Empty(surface.ComponentContainer.Components); 69Assert.Empty(surface.LoadErrors); 91Assert.Empty(surface.LoadErrors); 113Assert.Empty(surface.LoadErrors); 160Assert.Empty(surface.LoadErrors); 420Assert.Empty(surface.LoadErrors); 522Assert.Empty(surface.LoadErrors); 534Assert.Empty(surface.LoadErrors); 674Assert.Empty(defaultProviderService.GetExtenderProviders()); 682Assert.Empty(defaultProviderService.GetExtenderProviders()); 718Assert.Empty(defaultProviderService.GetExtenderProviders()); 725Assert.Empty(defaultProviderService.GetExtenderProviders()); 932Assert.Empty(surface.LoadErrors); 1134Assert.Empty(container.Components); 1145Assert.Empty(container.Components);
System\ComponentModel\Design\ExtenderProviderServiceTests.cs (3)
16Assert.Empty(listService.GetExtenderProviders()); 81Assert.Empty(listService.GetExtenderProviders()); 93Assert.Empty(listService.GetExtenderProviders());
System\ComponentModel\Design\LoadedEventArgsTests.cs (1)
25Assert.Empty(e.Errors);
System\ComponentModel\Design\ObjectSelectorEditorTests.cs (1)
115Assert.Empty(underTest.Nodes);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (65)
77Assert.Empty(store.Errors); 102Assert.Empty(store.Errors); 106Assert.Empty(store.Errors); 133Assert.Empty(store.Errors); 175Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 231Assert.Empty(store.Errors); 263Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 331Assert.Empty(store.Errors); 365Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 383Assert.Empty(store.Errors); 410Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 434Assert.Empty(store.Errors); 456Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 480Assert.Empty(store.Errors); 502Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 524Assert.Empty(store.Errors); 551Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 573Assert.Empty(store.Errors); 600Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 624Assert.Empty(store.Errors); 633Assert.Empty(store.Errors); 636Assert.Empty(store.Errors); 649Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Names", typeof(List<string>)))); 652Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 670Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 724Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 735Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 761Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 774Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 809Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 823Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 868Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 881Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 932Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 943Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 969Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 982Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1017Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1031Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1076Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1089Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1142Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1153Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1164Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1192Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1205Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1218Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1255Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1269Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1283Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1330Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1343Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1356Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1421Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1432Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1443Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1471Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1484Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1497Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1534Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1548Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1562Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1609Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1622Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>)))); 1635Assert.Empty(Assert.IsType<List<string>>(info.GetValue("Shim", typeof(List<string>))));
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (9)
20Assert.Empty(iManager.Properties); 62Assert.Empty(iManager.Properties); 145Assert.Empty(errors); 155Assert.Empty(manager.Errors); 539Assert.Empty(errors1); 549Assert.Empty(errors2); 1720Assert.Empty(errors1); 1730Assert.Empty(errors2); 1899Assert.Empty(manager.Errors);
System\ComponentModel\Design\Serialization\StatementContextTests.cs (1)
12Assert.Empty(context.StatementCollection);
System\ComponentModel\Design\SiteNestedContainerTests.cs (14)
83Assert.Empty(host.Container.Components); 90Assert.Empty(host.Container.Components); 100Assert.Empty(host.Container.Components); 418Assert.Empty(container.Components); 572Assert.Empty(container.Components); 696Assert.Empty(container.Components); 757Assert.Empty(container.Components); 764Assert.Empty(container.Components); 822Assert.Empty(container.Components); 829Assert.Empty(container.Components); 850Assert.Empty(container.Components); 868Assert.Empty(container.Components); 905Assert.Empty(container2.Components); 971Assert.Empty(host.Container.Components);
System\Drawing\Design\ImageEditorTests.cs (1)
97Assert.Empty(editor.GetExtensions());
System\Drawing\Design\ToolboxItemTests.cs (4)
26Assert.Empty(item.Filter); 31Assert.Empty(item.Properties); 693Assert.Empty(item.CreateComponents()); 958Assert.Empty(item.CreateComponentsCore(null));
System\Windows\Forms\Design\WindowsFormsDesignerOptionServiceTests.cs (6)
37Assert.Empty(childCollection); 45Assert.Empty(service.Options); 61Assert.Empty(childCollection); 78Assert.Empty(childCollection); 85Assert.Empty(otherChildCollection); 101Assert.Empty(childCollection);
ToolStripDesignerTests.cs (2)
42Assert.Empty(toolStripDesigner.AssociatedComponents); 63Assert.Empty(toolStripDesigner.Items);
ToolStripDropDownDesignerTest.cs (1)
37Assert.Empty(toolStripDropDownDesigner.AssociatedComponents);
ToolStripDropDownItemDesignerTest.cs (1)
16Assert.Empty(toolStripDropDownItemDesigner.AssociatedComponents);
System.Windows.Forms.Primitives.Tests (2)
Interop\Ole32\CADWORDTests.cs (1)
27Assert.Empty(values);
Interop\Ole32\CALPOLESTRTests.cs (1)
27Assert.Empty(values);
System.Windows.Forms.Tests (1789)
CheckedListBoxTests.cs (8)
268Assert.Empty(control.Items); 273Assert.Empty(control.Items); 307Assert.Empty(control.Items); 315Assert.Empty(control.Items); 561Assert.Empty(checkedListBox.SelectedIndices); 562Assert.Empty(checkedListBox.SelectedItems); 623Assert.Empty(checkedListBox.CheckedIndices); 624Assert.Empty(checkedListBox.CheckedItems);
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (2)
423Assert.Empty(accessibleObject.ItemAccessibleObjects); 439Assert.Empty(accessibleObject.ItemAccessibleObjects);
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (2)
1199Assert.Empty(columnHeaders); 1294Assert.Empty(rowHeaders);
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (4)
961Assert.Empty(listSelection); 979Assert.Empty(listSelection); 1074Assert.Empty(listSelection); 1104Assert.Empty(listSelection);
System\Windows\Forms\AccessibleObjects\TabControl.TabControlAccessibleObjectTests.cs (2)
484Assert.Empty(selectedAccessibleObjects); 500Assert.Empty(selectedAccessibleObjects);
System\Windows\Forms\AccessibleObjects\TreeView.TreeViewAccessibleObjectTests.cs (2)
198Assert.Empty(control.AccessibilityObject.GetSelection()); 208Assert.Empty(control.AccessibilityObject.GetSelection());
System\Windows\Forms\ApplicationTests.cs (3)
390Assert.Empty(Application.OpenForms); 528Assert.Empty(Application.OpenForms); 614Assert.Empty(Application.OpenForms);
System\Windows\Forms\AutoCompleteStringCollectionTests.cs (9)
14Assert.Empty(collection); 43Assert.Empty(collection); 187Assert.Empty(collection); 205Assert.Empty(collection); 219Assert.Empty(collection); 223Assert.Empty(collection); 233Assert.Empty(collection); 237Assert.Empty(collection); 249Assert.Empty(collection);
System\Windows\Forms\AxHostTests.cs (2)
55Assert.Empty(control.Controls); 149Assert.Empty(control.Controls);
System\Windows\Forms\BindingContextTests.cs (22)
19Assert.Empty(context); 28Assert.Empty(context); 29Assert.Empty(context); 255Assert.Empty(context); 259Assert.Empty(context); 288Assert.Empty(context); 292Assert.Empty(context); 307Assert.Empty(context); 311Assert.Empty(context); 323Assert.Empty(context); 326Assert.Empty(context); 334Assert.Empty(context); 338Assert.Empty(context); 350Assert.Empty(context); 353Assert.Empty(context); 471Assert.Empty(context); 485Assert.Empty(context); 878Assert.Empty(context2); 886Assert.Empty(manager1.Bindings); 909Assert.Empty(context2); 917Assert.Empty(manager1.Bindings); 952Assert.Empty(manager.Bindings);
System\Windows\Forms\BindingManagerBaseTests.cs (5)
13Assert.Empty(manager.Bindings); 73Assert.Empty(collection); 78Assert.Empty(collection); 93Assert.Empty(collection); 151Assert.Empty(collection);
System\Windows\Forms\BindingsCollectionTests.cs (19)
17Assert.Empty(collection.List); 161Assert.Empty(collection); 165Assert.Empty(collection); 199Assert.Empty(collection); 205Assert.Empty(collection); 214Assert.Empty(collection); 225Assert.Empty(collection); 259Assert.Empty(collection); 265Assert.Empty(collection); 274Assert.Empty(collection); 285Assert.Empty(collection); 296Assert.Empty(collection); 330Assert.Empty(collection); 342Assert.Empty(collection); 352Assert.Empty(collection); 401Assert.Empty(collection); 435Assert.Empty(collection); 447Assert.Empty(collection); 457Assert.Empty(collection);
System\Windows\Forms\BindingSourceTests.cs (20)
21Assert.Empty(source); 23Assert.Empty(source.CurrencyManager.Bindings); 42Assert.Empty(source.List); 47Assert.Empty(source.SortDescriptions); 80Assert.Empty(source); 82Assert.Empty(source.CurrencyManager.Bindings); 101Assert.Empty(source.List); 106Assert.Empty(source.SortDescriptions); 147Assert.Empty(source.CurrencyManager.Bindings); 170Assert.Empty(source.SortDescriptions); 233Assert.Empty(source.CurrencyManager.Bindings); 256Assert.Empty(source.SortDescriptions); 303Assert.Empty(source.CurrencyManager.Bindings); 328Assert.Empty(source.SortDescriptions); 410Assert.Empty(source); 412Assert.Empty(source.CurrencyManager.Bindings); 484Assert.Empty(source); 486Assert.Empty(source.CurrencyManager.Bindings); 505Assert.Empty(source.List); 510Assert.Empty(source.SortDescriptions);
System\Windows\Forms\ButtonBaseTests.cs (51)
46Assert.Empty(control.Controls); 2876Assert.Empty(oldParent.Controls); 2882Assert.Empty(oldParent.Controls); 4562Assert.Empty(control.Controls); 4563Assert.Empty(control.DataBindings); 4577Assert.Empty(control.Controls); 4578Assert.Empty(control.DataBindings); 4588Assert.Empty(control.Controls); 4589Assert.Empty(control.DataBindings); 4614Assert.Empty(control.Controls); 4615Assert.Empty(control.DataBindings); 4629Assert.Empty(control.Controls); 4630Assert.Empty(control.DataBindings); 4640Assert.Empty(control.Controls); 4641Assert.Empty(control.DataBindings); 4669Assert.Empty(control.Controls); 4670Assert.Empty(control.DataBindings); 4684Assert.Empty(control.Controls); 4685Assert.Empty(control.DataBindings); 4695Assert.Empty(control.Controls); 4696Assert.Empty(control.DataBindings); 4717Assert.Empty(control.Controls); 4718Assert.Empty(control.DataBindings); 4732Assert.Empty(control.Controls); 4733Assert.Empty(control.DataBindings); 4743Assert.Empty(control.Controls); 4744Assert.Empty(control.DataBindings); 4769Assert.Empty(control.Controls); 4770Assert.Empty(control.DataBindings); 4784Assert.Empty(control.Controls); 4785Assert.Empty(control.DataBindings); 4795Assert.Empty(control.Controls); 4796Assert.Empty(control.DataBindings); 4824Assert.Empty(control.Controls); 4825Assert.Empty(control.DataBindings); 4839Assert.Empty(control.Controls); 4840Assert.Empty(control.DataBindings); 4850Assert.Empty(control.Controls); 4851Assert.Empty(control.DataBindings); 4876Assert.Empty(control.Controls); 4877Assert.Empty(control.DataBindings); 4887Assert.Empty(control.Controls); 4888Assert.Empty(control.DataBindings); 4917Assert.Empty(control.Controls); 4918Assert.Empty(control.DataBindings); 4928Assert.Empty(control.Controls); 4929Assert.Empty(control.DataBindings); 4961Assert.Empty(control.Controls); 4962Assert.Empty(control.DataBindings); 4972Assert.Empty(control.Controls); 4973Assert.Empty(control.DataBindings);
System\Windows\Forms\ButtonTests.cs (1)
48Assert.Empty(control.Controls);
System\Windows\Forms\CheckBoxTests.cs (1)
50Assert.Empty(control.Controls);
System\Windows\Forms\ColumnHeaderCollectionTests.cs (19)
16Assert.Empty(collection); 30Assert.Empty(collection); 438Assert.Empty(collection); 445Assert.Empty(collection); 461Assert.Empty(collection); 468Assert.Empty(collection); 486Assert.Empty(collection); 493Assert.Empty(collection); 512Assert.Empty(collection); 519Assert.Empty(collection); 532Assert.Empty(collection); 855Assert.Empty(collection); 881Assert.Empty(collection); 888Assert.Empty(collection); 903Assert.Empty(collection); 910Assert.Empty(collection); 961Assert.Empty(collection); 997Assert.Empty(collection); 1036Assert.Empty(collection);
System\Windows\Forms\ColumnHeaderTests.cs (2)
1583Assert.Empty(listView.Columns); 1586Assert.Empty(listView.Columns);
System\Windows\Forms\Combobox.ObjectCollectionTests.cs (8)
419Assert.Empty(comboBoxObjectCollection); 420Assert.Empty(comboBoxObjectCollection.InnerList); 442Assert.Empty(comboBoxObjectCollection); 443Assert.Empty(accessibleObject.ItemAccessibleObjects); 871Assert.Empty(comboBoxObjectCollection); 872Assert.Empty(accessibleObject.ItemAccessibleObjects); 1050Assert.Empty(comboBoxObjectCollection); 1051Assert.Empty(accessibleObject.ItemAccessibleObjects);
System\Windows\Forms\ComboBoxTests.cs (5)
29Assert.Empty(control.AutoCompleteCustomSource); 51Assert.Empty(control.Controls); 93Assert.Empty(control.Items); 1498Assert.Empty(controlWithNoItems.Items); 1604Assert.Empty(controlWithNoItems.Items);
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (2)
218Assert.Empty(properties); 221Assert.Empty(events);
System\Windows\Forms\ContainerControlTests.cs (1)
53Assert.Empty(control.Controls);
System\Windows\Forms\ControlBindingsCollectionTests.cs (5)
30Assert.Empty(collection); 311Assert.Empty(collection); 316Assert.Empty(collection); 331Assert.Empty(collection); 389Assert.Empty(collection);
System\Windows\Forms\ControlPaintTests.cs (5)
42Assert.Empty(result.Palette.Entries); 67Assert.Empty(result.Palette.Entries); 113Assert.Empty(result.Palette.Entries); 145Assert.Empty(result.Palette.Entries); 178Assert.Empty(result.Palette.Entries);
System\Windows\Forms\ControlTests.ControlCollection.cs (10)
20Assert.Empty(collection); 59Assert.Empty(owner.Controls); 72Assert.Empty(owner.Controls); 87Assert.Empty(owner.Controls); 207Assert.Empty(collection1); 1307Assert.Empty(collection); 1320Assert.Empty(collection); 1506Assert.Empty(collection.Find(key, searchAllChildren: true)); 1507Assert.Empty(collection.Find(key, searchAllChildren: false)); 2883Assert.Empty(collection.Cast<Control>());
System\Windows\Forms\ControlTests.cs (5)
41Assert.Empty(control.Controls); 130Assert.Empty(control.Controls); 226Assert.Empty(control.Controls); 322Assert.Empty(control.Controls); 418Assert.Empty(control.Controls);
System\Windows\Forms\ControlTests.Internals.cs (1)
343Assert.Empty(tabOrderedChildrenWithhandlesOnly);
System\Windows\Forms\ControlTests.Methods.cs (80)
612Assert.Empty(controls); 978Assert.Empty(control.Controls); 979Assert.Empty(control.DataBindings); 992Assert.Empty(control.Controls); 993Assert.Empty(control.DataBindings); 1002Assert.Empty(control.Controls); 1003Assert.Empty(control.DataBindings); 1029Assert.Empty(control.Controls); 1030Assert.Empty(control.DataBindings); 1043Assert.Empty(control.Controls); 1044Assert.Empty(control.DataBindings); 1054Assert.Empty(control.Controls); 1055Assert.Empty(control.DataBindings); 1083Assert.Empty(control.Controls); 1084Assert.Empty(control.DataBindings); 1101Assert.Empty(control.Controls); 1102Assert.Empty(control.DataBindings); 1122Assert.Empty(control.Controls); 1123Assert.Empty(control.DataBindings); 1156Assert.Empty(control.Controls); 1157Assert.Empty(control.DataBindings); 1170Assert.Empty(control.Controls); 1171Assert.Empty(control.DataBindings); 1180Assert.Empty(control.Controls); 1181Assert.Empty(control.DataBindings); 1211Assert.Empty(control.Controls); 1212Assert.Empty(control.DataBindings); 1225Assert.Empty(control.Controls); 1226Assert.Empty(control.DataBindings); 1239Assert.Empty(control.Controls); 1240Assert.Empty(control.DataBindings); 1280Assert.Empty(control.Controls); 1281Assert.Empty(control.DataBindings); 1294Assert.Empty(control.Controls); 1295Assert.Empty(control.DataBindings); 1304Assert.Empty(control.Controls); 1305Assert.Empty(control.DataBindings); 1329Assert.Empty(control.Controls); 1330Assert.Empty(control.DataBindings); 1339Assert.Empty(control.Controls); 1340Assert.Empty(control.DataBindings); 1366Assert.Empty(control.Controls); 1367Assert.Empty(control.DataBindings); 1380Assert.Empty(control.Controls); 1381Assert.Empty(control.DataBindings); 1391Assert.Empty(control.Controls); 1392Assert.Empty(control.DataBindings); 1423Assert.Empty(control.Controls); 1424Assert.Empty(control.DataBindings); 1434Assert.Empty(control.Controls); 1435Assert.Empty(control.DataBindings); 1463Assert.Empty(control.Controls); 1464Assert.Empty(control.DataBindings); 1481Assert.Empty(control.Controls); 1482Assert.Empty(control.DataBindings); 1502Assert.Empty(control.Controls); 1503Assert.Empty(control.DataBindings); 1550Assert.Empty(control.DataBindings); 1571Assert.Empty(control.DataBindings); 1604Assert.Empty(control.Controls); 1605Assert.Empty(control.DataBindings); 1618Assert.Empty(control.Controls); 1619Assert.Empty(control.DataBindings); 1628Assert.Empty(control.Controls); 1629Assert.Empty(control.DataBindings); 1656Assert.Empty(control.Controls); 1666Assert.Empty(control.Controls); 1697Assert.Empty(control.Controls); 1698Assert.Empty(control.DataBindings); 1711Assert.Empty(control.Controls); 1712Assert.Empty(control.DataBindings); 1725Assert.Empty(control.Controls); 1726Assert.Empty(control.DataBindings); 1764Assert.Empty(control.Controls); 1765Assert.Empty(control.DataBindings); 1778Assert.Empty(control.Controls); 1779Assert.Empty(control.DataBindings); 6369Assert.Empty(control.DataBindings); 6374Assert.Empty(control.DataBindings); 6378Assert.Empty(control.DataBindings);
System\Windows\Forms\ControlTests.Properties.cs (4)
3677Assert.Empty(control.Controls); 3697Assert.Empty(control.Controls); 9710Assert.Empty(oldParent.Controls); 9716Assert.Empty(oldParent.Controls);
System\Windows\Forms\CursorConverterTests.cs (2)
102Assert.Empty(descriptor.Arguments); 162Assert.Empty(Assert.IsType<byte[]>(converter.ConvertTo(null, typeof(byte[]))));
System\Windows\Forms\DataGridView.DataGridViewControlCollectionTests.cs (1)
14Assert.Empty(collection);
System\Windows\Forms\DataGridViewColumnCollectionTests.cs (3)
16Assert.Empty(collection); 17Assert.Empty(collection); 22Assert.Empty(collection.List);
System\Windows\Forms\DataGridViewRowTests.cs (7)
17Assert.Empty(row.Cells); 2995Assert.Empty(control.SelectedRows); 3000Assert.Empty(control.SelectedRows); 3034Assert.Empty(control.SelectedRows); 4060Assert.Empty(row.Cells); 4087Assert.Empty(row.Cells); 4152Assert.Empty(row.CreateCellsInstance());
System\Windows\Forms\DataGridViewSelectedCellCollectionTests.cs (2)
15Assert.Empty(collection); 186Assert.Empty(iList);
System\Windows\Forms\DataGridViewSelectedColumnCollectionTests.cs (2)
15Assert.Empty(collection); 206Assert.Empty(iList);
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (2)
15Assert.Empty(collection); 181Assert.Empty(iList);
System\Windows\Forms\DataGridViewTests.cs (4)
850Assert.Empty(oldParent.Controls); 856Assert.Empty(oldParent.Controls); 2818Assert.Empty(control.Columns); 2819Assert.Empty(control.Rows);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (3)
28Assert.Empty(control.AutoCompleteCustomSource); 52Assert.Empty(control.Controls); 87Assert.Empty(control.Lines);
System\Windows\Forms\DateTimePickerTests.cs (1)
55Assert.Empty(control.Controls);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (2)
117Assert.Empty(control.MdiChildren); 126Assert.Empty(control.OwnedForms);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
50Assert.Empty(control.Controls);
System\Windows\Forms\FileDialogTests.cs (6)
22Assert.Empty(dialog.CustomPlaces); 30Assert.Empty(dialog.FileNames); 60Assert.Empty(dialog.CustomPlaces); 68Assert.Empty(dialog.FileNames); 616Assert.Empty(dialog.CustomPlaces); 624Assert.Empty(dialog.FileNames);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
48Assert.Empty(control.Controls);
System\Windows\Forms\FolderBrowserDialogTests.cs (2)
21Assert.Empty(dialog.SelectedPaths); 299Assert.Empty(dialog.SelectedPaths);
System\Windows\Forms\Form.ControlCollectionTests.cs (1)
14Assert.Empty(collection);
System\Windows\Forms\FormTests.cs (5)
61Assert.Empty(control.Controls); 119Assert.Empty(control.MdiChildren); 128Assert.Empty(control.OwnedForms); 963Assert.Empty(oldParent.Controls); 970Assert.Empty(oldParent.Controls);
System\Windows\Forms\GridItemCollectionTests.cs (2)
17Assert.Empty(collection); 24Assert.Empty(collection);
System\Windows\Forms\GroupBoxTests.cs (1)
44Assert.Empty(control.Controls);
System\Windows\Forms\HScrollBarTests.cs (1)
48Assert.Empty(control.Controls);
System\Windows\Forms\HtmlDocumentTests.cs (6)
862Assert.Empty(collection); 898Assert.Empty(collection); 1050Assert.Empty(collection); 1776Assert.Empty(document.GetElementsByTagName("NoSuchTagName")); 1778Assert.Empty(document.GetElementsByTagName("")); 1945Assert.Empty(newDocument.All);
System\Windows\Forms\HtmlElementTests.cs (7)
49Assert.Empty(collection); 150Assert.Empty(collection); 1941Assert.Empty(element.GetElementsByTagName("NoSuchTagName")); 1942Assert.Empty(element.GetElementsByTagName("")); 2000Assert.Empty(element.All); 2006Assert.Empty(element.All); 2013Assert.Empty(element.All);
System\Windows\Forms\ImageList.ImageCollectionTests.cs (22)
21Assert.Empty(collection); 414Assert.Empty(collection.Keys); 975Assert.Empty(collection); 976Assert.Empty(collection); 982Assert.Empty(collection); 983Assert.Empty(collection); 997Assert.Empty(collection); 998Assert.Empty(collection); 1004Assert.Empty(collection); 1005Assert.Empty(collection); 1018Assert.Empty(collection); 1019Assert.Empty(collection); 1025Assert.Empty(collection); 1026Assert.Empty(collection); 1041Assert.Empty(collection); 1042Assert.Empty(collection); 1048Assert.Empty(collection); 1049Assert.Empty(collection); 1330Assert.Empty(collection); 1371Assert.Empty(collection); 1434Assert.Empty(collection); 1483Assert.Empty(collection);
System\Windows\Forms\ImageListTests.cs (18)
19Assert.Empty(list.Images); 37Assert.Empty(list.Images); 510Assert.Empty(list.Images); 535Assert.Empty(list.Images); 560Assert.Empty(list.Images); 584Assert.Empty(list.Images); 608Assert.Empty(list.Images); 621Assert.Empty(list.Images); 627Assert.Empty(list.Images); 639Assert.Empty(list.Images); 646Assert.Empty(list.Images); 819Assert.Empty(list.Images); 823Assert.Empty(list.Images); 845Assert.Empty(list.Images); 875Assert.Empty(list.Images); 879Assert.Empty(list.Images); 894Assert.Empty(list.Images); 899Assert.Empty(list.Images);
System\Windows\Forms\LabelTests.cs (1)
44Assert.Empty(control.Controls);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (6)
20Assert.Empty(settings.ColumnStyles); 26Assert.Empty(settings.RowStyles); 37Assert.Empty(settings.ColumnStyles); 42Assert.Empty(settings.RowStyles); 1852Assert.Empty(result.ColumnStyles); 1853Assert.Empty(result.RowStyles);
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (2)
105Assert.Empty(settings.ColumnStyles); 106Assert.Empty(settings.RowStyles);
System\Windows\Forms\ListBox.IntegerCollectionTests.cs (255)
15Assert.Empty(collection); 30Assert.Empty(collection); 40Assert.Empty(collection); 94Assert.Empty(owner.CustomTabOffsets); 100Assert.Empty(owner.CustomTabOffsets); 106Assert.Empty(owner.CustomTabOffsets); 153Assert.Empty(owner.CustomTabOffsets); 162Assert.Empty(owner.CustomTabOffsets); 171Assert.Empty(owner.CustomTabOffsets); 263Assert.Empty(owner.CustomTabOffsets); 270Assert.Empty(owner.CustomTabOffsets); 277Assert.Empty(owner.CustomTabOffsets); 284Assert.Empty(owner.CustomTabOffsets); 356Assert.Empty(owner.CustomTabOffsets); 366Assert.Empty(owner.CustomTabOffsets); 376Assert.Empty(owner.CustomTabOffsets); 386Assert.Empty(owner.CustomTabOffsets); 472Assert.Empty(owner.CustomTabOffsets); 479Assert.Empty(owner.CustomTabOffsets); 535Assert.Empty(owner.CustomTabOffsets); 545Assert.Empty(owner.CustomTabOffsets); 613Assert.Empty(owner.CustomTabOffsets); 620Assert.Empty(owner.CustomTabOffsets); 682Assert.Empty(owner.CustomTabOffsets); 692Assert.Empty(owner.CustomTabOffsets); 790Assert.Empty(collection); 791Assert.Empty(owner.CustomTabOffsets); 792Assert.Empty(collection); 793Assert.Empty(owner.CustomTabOffsets); 798Assert.Empty(collection); 799Assert.Empty(owner.CustomTabOffsets); 800Assert.Empty(collection); 801Assert.Empty(owner.CustomTabOffsets); 811Assert.Empty(collection); 812Assert.Empty(owner.CustomTabOffsets); 813Assert.Empty(collection); 814Assert.Empty(owner.CustomTabOffsets); 819Assert.Empty(collection); 820Assert.Empty(owner.CustomTabOffsets); 821Assert.Empty(collection); 822Assert.Empty(owner.CustomTabOffsets); 836Assert.Empty(collection); 837Assert.Empty(owner.CustomTabOffsets); 838Assert.Empty(collection); 839Assert.Empty(owner.CustomTabOffsets); 844Assert.Empty(collection); 845Assert.Empty(owner.CustomTabOffsets); 846Assert.Empty(collection); 847Assert.Empty(owner.CustomTabOffsets); 859Assert.Empty(collection); 860Assert.Empty(owner.CustomTabOffsets); 861Assert.Empty(collection); 862Assert.Empty(owner.CustomTabOffsets); 867Assert.Empty(collection); 868Assert.Empty(owner.CustomTabOffsets); 869Assert.Empty(collection); 870Assert.Empty(owner.CustomTabOffsets); 888Assert.Empty(collection); 889Assert.Empty(owner.CustomTabOffsets); 890Assert.Empty(collection); 891Assert.Empty(owner.CustomTabOffsets); 899Assert.Empty(collection); 900Assert.Empty(owner.CustomTabOffsets); 901Assert.Empty(collection); 902Assert.Empty(owner.CustomTabOffsets); 923Assert.Empty(collection); 924Assert.Empty(owner.CustomTabOffsets); 925Assert.Empty(collection); 926Assert.Empty(owner.CustomTabOffsets); 934Assert.Empty(collection); 935Assert.Empty(owner.CustomTabOffsets); 936Assert.Empty(collection); 937Assert.Empty(owner.CustomTabOffsets); 959Assert.Empty(collection); 960Assert.Empty(owner.CustomTabOffsets); 961Assert.Empty(collection); 962Assert.Empty(owner.CustomTabOffsets); 970Assert.Empty(collection); 971Assert.Empty(owner.CustomTabOffsets); 972Assert.Empty(collection); 973Assert.Empty(owner.CustomTabOffsets); 995Assert.Empty(collection); 996Assert.Empty(owner.CustomTabOffsets); 997Assert.Empty(collection); 998Assert.Empty(owner.CustomTabOffsets); 1006Assert.Empty(collection); 1007Assert.Empty(owner.CustomTabOffsets); 1008Assert.Empty(collection); 1009Assert.Empty(owner.CustomTabOffsets); 1110Assert.Empty(owner.CustomTabOffsets); 1117Assert.Empty(owner.CustomTabOffsets); 1122Assert.Empty(collection); 1123Assert.Empty(collection); 1124Assert.Empty(owner.CustomTabOffsets); 1129Assert.Empty(collection); 1130Assert.Empty(collection); 1131Assert.Empty(owner.CustomTabOffsets); 1166Assert.Empty(collection); 1167Assert.Empty(collection); 1168Assert.Empty(owner.CustomTabOffsets); 1173Assert.Empty(collection); 1174Assert.Empty(collection); 1175Assert.Empty(owner.CustomTabOffsets); 1205Assert.Empty(owner.CustomTabOffsets); 1215Assert.Empty(owner.CustomTabOffsets); 1223Assert.Empty(collection); 1224Assert.Empty(collection); 1225Assert.Empty(owner.CustomTabOffsets); 1233Assert.Empty(collection); 1234Assert.Empty(collection); 1235Assert.Empty(owner.CustomTabOffsets); 1286Assert.Empty(collection); 1287Assert.Empty(collection); 1288Assert.Empty(owner.CustomTabOffsets); 1296Assert.Empty(collection); 1297Assert.Empty(collection); 1298Assert.Empty(owner.CustomTabOffsets); 1324Assert.Empty(owner.CustomTabOffsets); 1331Assert.Empty(owner.CustomTabOffsets); 1336Assert.Empty(collection); 1337Assert.Empty(collection); 1338Assert.Empty(owner.CustomTabOffsets); 1373Assert.Empty(collection); 1374Assert.Empty(collection); 1375Assert.Empty(owner.CustomTabOffsets); 1405Assert.Empty(owner.CustomTabOffsets); 1415Assert.Empty(owner.CustomTabOffsets); 1423Assert.Empty(collection); 1424Assert.Empty(collection); 1425Assert.Empty(owner.CustomTabOffsets); 1476Assert.Empty(collection); 1477Assert.Empty(collection); 1478Assert.Empty(owner.CustomTabOffsets); 1567Assert.Empty(owner.CustomTabOffsets); 1573Assert.Empty(owner.CustomTabOffsets); 1579Assert.Empty(owner.CustomTabOffsets); 1634Assert.Empty(owner.CustomTabOffsets); 1643Assert.Empty(owner.CustomTabOffsets); 1652Assert.Empty(owner.CustomTabOffsets); 1761Assert.Empty(owner.CustomTabOffsets); 1768Assert.Empty(owner.CustomTabOffsets); 1775Assert.Empty(owner.CustomTabOffsets); 1782Assert.Empty(owner.CustomTabOffsets); 1854Assert.Empty(owner.CustomTabOffsets); 1864Assert.Empty(owner.CustomTabOffsets); 1874Assert.Empty(owner.CustomTabOffsets); 1884Assert.Empty(owner.CustomTabOffsets); 2007Assert.Empty(collection); 2008Assert.Empty(owner.CustomTabOffsets); 2009Assert.Empty(collection); 2010Assert.Empty(owner.CustomTabOffsets); 2015Assert.Empty(collection); 2016Assert.Empty(owner.CustomTabOffsets); 2017Assert.Empty(collection); 2018Assert.Empty(owner.CustomTabOffsets); 2028Assert.Empty(collection); 2029Assert.Empty(owner.CustomTabOffsets); 2030Assert.Empty(collection); 2031Assert.Empty(owner.CustomTabOffsets); 2036Assert.Empty(collection); 2037Assert.Empty(owner.CustomTabOffsets); 2038Assert.Empty(collection); 2039Assert.Empty(owner.CustomTabOffsets); 2053Assert.Empty(collection); 2054Assert.Empty(owner.CustomTabOffsets); 2055Assert.Empty(collection); 2056Assert.Empty(owner.CustomTabOffsets); 2061Assert.Empty(collection); 2062Assert.Empty(owner.CustomTabOffsets); 2063Assert.Empty(collection); 2064Assert.Empty(owner.CustomTabOffsets); 2076Assert.Empty(collection); 2077Assert.Empty(owner.CustomTabOffsets); 2078Assert.Empty(collection); 2079Assert.Empty(owner.CustomTabOffsets); 2084Assert.Empty(collection); 2085Assert.Empty(owner.CustomTabOffsets); 2086Assert.Empty(collection); 2087Assert.Empty(owner.CustomTabOffsets); 2105Assert.Empty(collection); 2106Assert.Empty(owner.CustomTabOffsets); 2107Assert.Empty(collection); 2108Assert.Empty(owner.CustomTabOffsets); 2116Assert.Empty(collection); 2117Assert.Empty(owner.CustomTabOffsets); 2118Assert.Empty(collection); 2119Assert.Empty(owner.CustomTabOffsets); 2140Assert.Empty(collection); 2141Assert.Empty(owner.CustomTabOffsets); 2142Assert.Empty(collection); 2143Assert.Empty(owner.CustomTabOffsets); 2151Assert.Empty(collection); 2152Assert.Empty(owner.CustomTabOffsets); 2153Assert.Empty(collection); 2154Assert.Empty(owner.CustomTabOffsets); 2176Assert.Empty(collection); 2177Assert.Empty(owner.CustomTabOffsets); 2178Assert.Empty(collection); 2179Assert.Empty(owner.CustomTabOffsets); 2187Assert.Empty(collection); 2188Assert.Empty(owner.CustomTabOffsets); 2189Assert.Empty(collection); 2190Assert.Empty(owner.CustomTabOffsets); 2212Assert.Empty(collection); 2213Assert.Empty(owner.CustomTabOffsets); 2214Assert.Empty(collection); 2215Assert.Empty(owner.CustomTabOffsets); 2223Assert.Empty(collection); 2224Assert.Empty(owner.CustomTabOffsets); 2225Assert.Empty(collection); 2226Assert.Empty(owner.CustomTabOffsets); 2347Assert.Empty(owner.CustomTabOffsets); 2354Assert.Empty(owner.CustomTabOffsets); 2359Assert.Empty(collection); 2360Assert.Empty(collection); 2361Assert.Empty(owner.CustomTabOffsets); 2366Assert.Empty(collection); 2367Assert.Empty(collection); 2368Assert.Empty(owner.CustomTabOffsets); 2406Assert.Empty(collection); 2407Assert.Empty(collection); 2408Assert.Empty(owner.CustomTabOffsets); 2413Assert.Empty(collection); 2414Assert.Empty(collection); 2415Assert.Empty(owner.CustomTabOffsets); 2450Assert.Empty(owner.CustomTabOffsets); 2460Assert.Empty(owner.CustomTabOffsets); 2468Assert.Empty(collection); 2469Assert.Empty(collection); 2470Assert.Empty(owner.CustomTabOffsets); 2478Assert.Empty(collection); 2479Assert.Empty(collection); 2480Assert.Empty(owner.CustomTabOffsets); 2534Assert.Empty(collection); 2535Assert.Empty(collection); 2536Assert.Empty(owner.CustomTabOffsets); 2544Assert.Empty(collection); 2545Assert.Empty(collection); 2546Assert.Empty(owner.CustomTabOffsets); 2587Assert.Empty(owner.CustomTabOffsets); 2594Assert.Empty(owner.CustomTabOffsets); 2599Assert.Empty(collection); 2600Assert.Empty(collection); 2601Assert.Empty(owner.CustomTabOffsets); 2639Assert.Empty(collection); 2640Assert.Empty(collection); 2641Assert.Empty(owner.CustomTabOffsets); 2676Assert.Empty(owner.CustomTabOffsets); 2686Assert.Empty(owner.CustomTabOffsets); 2694Assert.Empty(collection); 2695Assert.Empty(collection); 2696Assert.Empty(owner.CustomTabOffsets); 2750Assert.Empty(collection); 2751Assert.Empty(collection); 2752Assert.Empty(owner.CustomTabOffsets);
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (436)
15Assert.Empty(collection); 16Assert.Empty(collection); 17Assert.Empty(owner.Items); 28Assert.Empty(owner.Items); 41Assert.Empty(owner.Items); 65Assert.Empty(emptyCollection); 66Assert.Empty(emptyCollection); 67Assert.Empty(emptyCollection); 68Assert.Empty(owner.Items); 87Assert.Empty(collection); 97Assert.Empty(collection); 170Assert.Empty(owner.Items); 177Assert.Empty(owner.Items); 184Assert.Empty(owner.Items); 191Assert.Empty(owner.Items); 211Assert.Empty(owner.Items); 218Assert.Empty(owner.Items); 225Assert.Empty(owner.Items); 232Assert.Empty(owner.Items); 1308Assert.Empty(owner.Items); 1316Assert.Empty(owner.Items); 1324Assert.Empty(owner.Items); 1332Assert.Empty(owner.Items); 1393Assert.Empty(owner.Items); 1401Assert.Empty(owner.Items); 1409Assert.Empty(owner.Items); 1417Assert.Empty(owner.Items); 1484Assert.Empty(owner.Items); 1497Assert.Empty(owner.Items); 1512Assert.Empty(owner.Items); 1529Assert.Empty(owner.Items); 1645Assert.Empty(owner.Items); 1658Assert.Empty(owner.Items); 1673Assert.Empty(owner.Items); 1690Assert.Empty(owner.Items); 2226Assert.Empty(owner.Items); 2234Assert.Empty(owner.Items); 2277Assert.Empty(owner.Items); 2285Assert.Empty(owner.Items); 2334Assert.Empty(owner.Items); 2353Assert.Empty(owner.Items); 2441Assert.Empty(owner.Items); 2460Assert.Empty(owner.Items); 2883Assert.Empty(owner.Items); 2893Assert.Empty(owner.Items); 2944Assert.Empty(owner.Items); 2954Assert.Empty(owner.Items); 3011Assert.Empty(owner.Items); 3032Assert.Empty(owner.Items); 3128Assert.Empty(owner.Items); 3149Assert.Empty(owner.Items); 3615Assert.Empty(collection); 3704Assert.Empty(collection); 3705Assert.Empty(owner.Items); 3706Assert.Empty(collection); 3707Assert.Empty(owner.Items); 3712Assert.Empty(collection); 3713Assert.Empty(owner.Items); 3714Assert.Empty(collection); 3715Assert.Empty(owner.Items); 3725Assert.Empty(collection); 3726Assert.Empty(owner.Items); 3727Assert.Empty(collection); 3728Assert.Empty(owner.Items); 3733Assert.Empty(collection); 3734Assert.Empty(owner.Items); 3735Assert.Empty(collection); 3736Assert.Empty(owner.Items); 3750Assert.Empty(collection); 3751Assert.Empty(owner.Items); 3752Assert.Empty(collection); 3753Assert.Empty(owner.Items); 3758Assert.Empty(collection); 3759Assert.Empty(owner.Items); 3760Assert.Empty(collection); 3761Assert.Empty(owner.Items); 3773Assert.Empty(collection); 3774Assert.Empty(owner.Items); 3775Assert.Empty(collection); 3776Assert.Empty(owner.Items); 3781Assert.Empty(collection); 3782Assert.Empty(owner.Items); 3783Assert.Empty(collection); 3784Assert.Empty(owner.Items); 3802Assert.Empty(collection); 3803Assert.Empty(owner.Items); 3804Assert.Empty(collection); 3805Assert.Empty(owner.Items); 3814Assert.Empty(collection); 3815Assert.Empty(owner.Items); 3816Assert.Empty(collection); 3817Assert.Empty(owner.Items); 3839Assert.Empty(collection); 3840Assert.Empty(owner.Items); 3841Assert.Empty(collection); 3842Assert.Empty(owner.Items); 3851Assert.Empty(collection); 3852Assert.Empty(owner.Items); 3853Assert.Empty(collection); 3854Assert.Empty(owner.Items); 3877Assert.Empty(collection); 3878Assert.Empty(owner.Items); 3879Assert.Empty(collection); 3880Assert.Empty(owner.Items); 3889Assert.Empty(collection); 3890Assert.Empty(owner.Items); 3891Assert.Empty(collection); 3892Assert.Empty(owner.Items); 3915Assert.Empty(collection); 3916Assert.Empty(owner.Items); 3917Assert.Empty(collection); 3918Assert.Empty(owner.Items); 3927Assert.Empty(collection); 3928Assert.Empty(owner.Items); 3929Assert.Empty(collection); 3930Assert.Empty(owner.Items); 4131Assert.Empty(owner.Items); 4139Assert.Empty(owner.Items); 4147Assert.Empty(owner.Items); 4155Assert.Empty(owner.Items); 4216Assert.Empty(owner.Items); 4224Assert.Empty(owner.Items); 4232Assert.Empty(owner.Items); 4240Assert.Empty(owner.Items); 4307Assert.Empty(owner.Items); 4320Assert.Empty(owner.Items); 4335Assert.Empty(owner.Items); 4352Assert.Empty(owner.Items); 4468Assert.Empty(owner.Items); 4481Assert.Empty(owner.Items); 4496Assert.Empty(owner.Items); 4513Assert.Empty(owner.Items); 5070Assert.Empty(owner.Items); 5078Assert.Empty(owner.Items); 5086Assert.Empty(owner.Items); 5092Assert.Empty(collection); 5093Assert.Empty(collection); 5094Assert.Empty(owner.Items); 5133Assert.Empty(collection); 5134Assert.Empty(collection); 5135Assert.Empty(owner.Items); 5160Assert.Empty(owner.Items); 5168Assert.Empty(owner.Items); 5176Assert.Empty(owner.Items); 5182Assert.Empty(collection); 5183Assert.Empty(collection); 5184Assert.Empty(owner.Items); 5226Assert.Empty(collection); 5227Assert.Empty(collection); 5228Assert.Empty(owner.Items); 5254Assert.Empty(owner.Items); 5269Assert.Empty(owner.Items); 5284Assert.Empty(owner.Items); 5295Assert.Empty(collection); 5296Assert.Empty(collection); 5297Assert.Empty(owner.Items); 5372Assert.Empty(collection); 5373Assert.Empty(collection); 5374Assert.Empty(owner.Items); 5406Assert.Empty(owner.Items); 5421Assert.Empty(owner.Items); 5436Assert.Empty(owner.Items); 5447Assert.Empty(collection); 5448Assert.Empty(collection); 5449Assert.Empty(owner.Items); 5527Assert.Empty(collection); 5528Assert.Empty(collection); 5529Assert.Empty(owner.Items); 5568Assert.Empty(owner.SelectedItems); 5569Assert.Empty(owner.SelectedIndices); 5609Assert.Empty(owner.SelectedItems); 5610Assert.Empty(owner.SelectedIndices); 5662Assert.Empty(owner.SelectedItems); 5663Assert.Empty(owner.SelectedIndices); 5714Assert.Empty(owner.SelectedItems); 5715Assert.Empty(owner.SelectedIndices); 5769Assert.Empty(owner.SelectedItems); 5770Assert.Empty(owner.SelectedIndices); 5831Assert.Empty(owner.SelectedItems); 5832Assert.Empty(owner.SelectedIndices); 5900Assert.Empty(owner.SelectedItems); 5901Assert.Empty(owner.SelectedIndices); 5968Assert.Empty(owner.SelectedItems); 5969Assert.Empty(owner.SelectedIndices); 6017Assert.Empty(owner.Items); 6025Assert.Empty(owner.Items); 6031Assert.Empty(collection); 6032Assert.Empty(collection); 6033Assert.Empty(owner.Items); 6065Assert.Empty(collection); 6066Assert.Empty(collection); 6067Assert.Empty(owner.Items); 6092Assert.Empty(owner.Items); 6100Assert.Empty(owner.Items); 6106Assert.Empty(collection); 6107Assert.Empty(collection); 6108Assert.Empty(owner.Items); 6143Assert.Empty(collection); 6144Assert.Empty(collection); 6145Assert.Empty(owner.Items); 6171Assert.Empty(owner.Items); 6186Assert.Empty(owner.Items); 6197Assert.Empty(collection); 6198Assert.Empty(collection); 6199Assert.Empty(owner.Items); 6258Assert.Empty(collection); 6259Assert.Empty(collection); 6260Assert.Empty(owner.Items); 6292Assert.Empty(owner.Items); 6307Assert.Empty(owner.Items); 6318Assert.Empty(collection); 6319Assert.Empty(collection); 6320Assert.Empty(owner.Items); 6382Assert.Empty(collection); 6383Assert.Empty(collection); 6384Assert.Empty(owner.Items); 6423Assert.Empty(owner.SelectedItems); 6424Assert.Empty(owner.SelectedIndices); 6464Assert.Empty(owner.SelectedItems); 6465Assert.Empty(owner.SelectedIndices); 6517Assert.Empty(owner.SelectedItems); 6518Assert.Empty(owner.SelectedIndices); 6569Assert.Empty(owner.SelectedItems); 6570Assert.Empty(owner.SelectedIndices); 6624Assert.Empty(owner.SelectedItems); 6625Assert.Empty(owner.SelectedIndices); 6686Assert.Empty(owner.SelectedItems); 6687Assert.Empty(owner.SelectedIndices); 6755Assert.Empty(owner.SelectedItems); 6756Assert.Empty(owner.SelectedIndices); 6823Assert.Empty(owner.SelectedItems); 6824Assert.Empty(owner.SelectedIndices); 6959Assert.Empty(owner.Items); 6966Assert.Empty(owner.Items); 6973Assert.Empty(owner.Items); 6980Assert.Empty(owner.Items); 7004Assert.Empty(owner.Items); 7011Assert.Empty(owner.Items); 7018Assert.Empty(owner.Items); 7025Assert.Empty(owner.Items); 8113Assert.Empty(owner.Items); 8121Assert.Empty(owner.Items); 8129Assert.Empty(owner.Items); 8137Assert.Empty(owner.Items); 8198Assert.Empty(owner.Items); 8206Assert.Empty(owner.Items); 8214Assert.Empty(owner.Items); 8222Assert.Empty(owner.Items); 8289Assert.Empty(owner.Items); 8302Assert.Empty(owner.Items); 8317Assert.Empty(owner.Items); 8334Assert.Empty(owner.Items); 8450Assert.Empty(owner.Items); 8463Assert.Empty(owner.Items); 8478Assert.Empty(owner.Items); 8495Assert.Empty(owner.Items); 9026Assert.Empty(collection); 9027Assert.Empty(owner.Items); 9028Assert.Empty(collection); 9029Assert.Empty(owner.Items); 9034Assert.Empty(collection); 9035Assert.Empty(owner.Items); 9036Assert.Empty(collection); 9037Assert.Empty(owner.Items); 9047Assert.Empty(collection); 9048Assert.Empty(owner.Items); 9049Assert.Empty(collection); 9050Assert.Empty(owner.Items); 9055Assert.Empty(collection); 9056Assert.Empty(owner.Items); 9057Assert.Empty(collection); 9058Assert.Empty(owner.Items); 9072Assert.Empty(collection); 9073Assert.Empty(owner.Items); 9074Assert.Empty(collection); 9075Assert.Empty(owner.Items); 9080Assert.Empty(collection); 9081Assert.Empty(owner.Items); 9082Assert.Empty(collection); 9083Assert.Empty(owner.Items); 9095Assert.Empty(collection); 9096Assert.Empty(owner.Items); 9097Assert.Empty(collection); 9098Assert.Empty(owner.Items); 9103Assert.Empty(collection); 9104Assert.Empty(owner.Items); 9105Assert.Empty(collection); 9106Assert.Empty(owner.Items); 9124Assert.Empty(collection); 9125Assert.Empty(owner.Items); 9126Assert.Empty(collection); 9127Assert.Empty(owner.Items); 9136Assert.Empty(collection); 9137Assert.Empty(owner.Items); 9138Assert.Empty(collection); 9139Assert.Empty(owner.Items); 9161Assert.Empty(collection); 9162Assert.Empty(owner.Items); 9163Assert.Empty(collection); 9164Assert.Empty(owner.Items); 9173Assert.Empty(collection); 9174Assert.Empty(owner.Items); 9175Assert.Empty(collection); 9176Assert.Empty(owner.Items); 9199Assert.Empty(collection); 9200Assert.Empty(owner.Items); 9201Assert.Empty(collection); 9202Assert.Empty(owner.Items); 9211Assert.Empty(collection); 9212Assert.Empty(owner.Items); 9213Assert.Empty(collection); 9214Assert.Empty(owner.Items); 9237Assert.Empty(collection); 9238Assert.Empty(owner.Items); 9239Assert.Empty(collection); 9240Assert.Empty(owner.Items); 9249Assert.Empty(collection); 9250Assert.Empty(owner.Items); 9251Assert.Empty(collection); 9252Assert.Empty(owner.Items); 9453Assert.Empty(owner.Items); 9461Assert.Empty(owner.Items); 9469Assert.Empty(owner.Items); 9477Assert.Empty(owner.Items); 9538Assert.Empty(owner.Items); 9546Assert.Empty(owner.Items); 9554Assert.Empty(owner.Items); 9562Assert.Empty(owner.Items); 9629Assert.Empty(owner.Items); 9642Assert.Empty(owner.Items); 9657Assert.Empty(owner.Items); 9674Assert.Empty(owner.Items); 9790Assert.Empty(owner.Items); 9803Assert.Empty(owner.Items); 9818Assert.Empty(owner.Items); 9835Assert.Empty(owner.Items); 10392Assert.Empty(owner.Items); 10400Assert.Empty(owner.Items); 10408Assert.Empty(owner.Items); 10414Assert.Empty(collection); 10415Assert.Empty(collection); 10416Assert.Empty(owner.Items); 10455Assert.Empty(collection); 10456Assert.Empty(collection); 10457Assert.Empty(owner.Items); 10482Assert.Empty(owner.Items); 10490Assert.Empty(owner.Items); 10498Assert.Empty(owner.Items); 10504Assert.Empty(collection); 10505Assert.Empty(collection); 10506Assert.Empty(owner.Items); 10548Assert.Empty(collection); 10549Assert.Empty(collection); 10550Assert.Empty(owner.Items); 10576Assert.Empty(owner.Items); 10591Assert.Empty(owner.Items); 10606Assert.Empty(owner.Items); 10617Assert.Empty(collection); 10618Assert.Empty(collection); 10619Assert.Empty(owner.Items); 10694Assert.Empty(collection); 10695Assert.Empty(collection); 10696Assert.Empty(owner.Items); 10728Assert.Empty(owner.Items); 10743Assert.Empty(owner.Items); 10758Assert.Empty(owner.Items); 10769Assert.Empty(collection); 10770Assert.Empty(collection); 10771Assert.Empty(owner.Items); 10849Assert.Empty(collection); 10850Assert.Empty(collection); 10851Assert.Empty(owner.Items); 10890Assert.Empty(owner.SelectedItems); 10891Assert.Empty(owner.SelectedIndices); 10931Assert.Empty(owner.SelectedItems); 10932Assert.Empty(owner.SelectedIndices); 10984Assert.Empty(owner.SelectedItems); 10985Assert.Empty(owner.SelectedIndices); 11036Assert.Empty(owner.SelectedItems); 11037Assert.Empty(owner.SelectedIndices); 11091Assert.Empty(owner.SelectedItems); 11092Assert.Empty(owner.SelectedIndices); 11153Assert.Empty(owner.SelectedItems); 11154Assert.Empty(owner.SelectedIndices); 11222Assert.Empty(owner.SelectedItems); 11223Assert.Empty(owner.SelectedIndices); 11290Assert.Empty(owner.SelectedItems); 11291Assert.Empty(owner.SelectedIndices); 11339Assert.Empty(owner.Items); 11347Assert.Empty(owner.Items); 11353Assert.Empty(collection); 11354Assert.Empty(collection); 11355Assert.Empty(owner.Items); 11387Assert.Empty(collection); 11388Assert.Empty(collection); 11389Assert.Empty(owner.Items); 11414Assert.Empty(owner.Items); 11422Assert.Empty(owner.Items); 11428Assert.Empty(collection); 11429Assert.Empty(collection); 11430Assert.Empty(owner.Items); 11465Assert.Empty(collection); 11466Assert.Empty(collection); 11467Assert.Empty(owner.Items); 11493Assert.Empty(owner.Items); 11508Assert.Empty(owner.Items); 11519Assert.Empty(collection); 11520Assert.Empty(collection); 11521Assert.Empty(owner.Items); 11580Assert.Empty(collection); 11581Assert.Empty(collection); 11582Assert.Empty(owner.Items); 11614Assert.Empty(owner.Items); 11629Assert.Empty(owner.Items); 11640Assert.Empty(collection); 11641Assert.Empty(collection); 11642Assert.Empty(owner.Items); 11704Assert.Empty(collection); 11705Assert.Empty(collection); 11706Assert.Empty(owner.Items); 11745Assert.Empty(owner.SelectedItems); 11746Assert.Empty(owner.SelectedIndices); 11786Assert.Empty(owner.SelectedItems); 11787Assert.Empty(owner.SelectedIndices); 11839Assert.Empty(owner.SelectedItems); 11840Assert.Empty(owner.SelectedIndices); 11891Assert.Empty(owner.SelectedItems); 11892Assert.Empty(owner.SelectedIndices); 11946Assert.Empty(owner.SelectedItems); 11947Assert.Empty(owner.SelectedIndices); 12008Assert.Empty(owner.SelectedItems); 12009Assert.Empty(owner.SelectedIndices); 12077Assert.Empty(owner.SelectedItems); 12078Assert.Empty(owner.SelectedIndices); 12145Assert.Empty(owner.SelectedItems); 12146Assert.Empty(owner.SelectedIndices);
System\Windows\Forms\ListBox.SelectedIndexCollectionTests.cs (3)
15Assert.Empty(collection); 31Assert.Empty(collection); 41Assert.Empty(collection);
System\Windows\Forms\ListBox.SelectedObjectCollectionTests.cs (3)
15Assert.Empty(collection); 31Assert.Empty(collection); 41Assert.Empty(collection);
System\Windows\Forms\ListBoxTests.cs (97)
46Assert.Empty(control.Controls); 50Assert.Empty(control.CustomTabOffsets); 87Assert.Empty(control.Items); 111Assert.Empty(control.SelectedIndices); 114Assert.Empty(control.SelectedItems); 1061Assert.Empty(control.Items); 1069Assert.Empty(control.Items); 1129Assert.Empty(control.Items); 1140Assert.Empty(control.Items); 1486Assert.Empty(control.Items); 1492Assert.Empty(control.Items); 1498Assert.Empty(control.Items); 1558Assert.Empty(control.Items); 1567Assert.Empty(control.Items); 1576Assert.Empty(control.Items); 2333Assert.Empty(control.SelectedIndices); 2334Assert.Empty(control.SelectedItems); 2341Assert.Empty(control.SelectedIndices); 2342Assert.Empty(control.SelectedItems); 2384Assert.Empty(control.SelectedIndices); 2385Assert.Empty(control.SelectedItems); 2430Assert.Empty(control.SelectedIndices); 2431Assert.Empty(control.SelectedItems); 2483Assert.Empty(control.SelectedIndices); 2484Assert.Empty(control.SelectedItems); 2543Assert.Empty(control.SelectedIndices); 2544Assert.Empty(control.SelectedItems); 2608Assert.Empty(control.SelectedIndices); 2609Assert.Empty(control.SelectedItems); 2799Assert.Empty(control.SelectedIndices); 2800Assert.Empty(control.SelectedItems); 2807Assert.Empty(control.SelectedIndices); 2808Assert.Empty(control.SelectedItems); 2858Assert.Empty(control.SelectedIndices); 2859Assert.Empty(control.SelectedItems); 2912Assert.Empty(control.SelectedIndices); 2913Assert.Empty(control.SelectedItems); 2974Assert.Empty(control.SelectedIndices); 2975Assert.Empty(control.SelectedItems); 3045Assert.Empty(control.SelectedIndices); 3046Assert.Empty(control.SelectedItems); 3121Assert.Empty(control.SelectedIndices); 3122Assert.Empty(control.SelectedItems); 3366Assert.Empty(control.SelectedIndices); 3367Assert.Empty(control.SelectedItems); 3375Assert.Empty(control.SelectedIndices); 3376Assert.Empty(control.SelectedItems); 3404Assert.Empty(control.SelectedIndices); 3405Assert.Empty(control.SelectedItems); 3413Assert.Empty(control.SelectedIndices); 3414Assert.Empty(control.SelectedItems); 3596Assert.Empty(control.SelectedIndices); 3607Assert.Empty(control.SelectedIndices); 3608Assert.Empty(control.SelectedItems); 3658Assert.Empty(control.SelectedIndices); 3659Assert.Empty(control.SelectedItems); 3670Assert.Empty(control.SelectedIndices); 3671Assert.Empty(control.SelectedItems); 3752Assert.Empty(control.SelectedIndices); 3753Assert.Empty(control.SelectedItems); 3764Assert.Empty(control.SelectedIndices); 3765Assert.Empty(control.SelectedItems); 3776Assert.Empty(control.SelectedIndices); 3777Assert.Empty(control.SelectedItems); 3868Assert.Empty(control.SelectedIndices); 3869Assert.Empty(control.SelectedItems); 3880Assert.Empty(control.SelectedIndices); 3881Assert.Empty(control.SelectedItems); 3892Assert.Empty(control.SelectedIndices); 3893Assert.Empty(control.SelectedItems); 3917Assert.Empty(control.Items); 3923Assert.Empty(control.Items); 3929Assert.Empty(control.Items); 3938Assert.Empty(control.Items); 3942Assert.Empty(control.Items); 3948Assert.Empty(control.Items); 3954Assert.Empty(control.Items); 4005Assert.Empty(control.Items); 4014Assert.Empty(control.Items); 4023Assert.Empty(control.Items); 4042Assert.Empty(control.Items); 4046Assert.Empty(control.Items); 4055Assert.Empty(control.Items); 4064Assert.Empty(control.Items); 4774Assert.Empty(items); 4942Assert.Empty(controlWithNoItems.Items); 5046Assert.Empty(controlWithNoItems.Items); 5887Assert.Empty(control.Items); 5892Assert.Empty(control.Items); 5926Assert.Empty(control.Items); 5934Assert.Empty(control.Items); 6064Assert.Empty(control.Items); 6088Assert.Empty(control.Items); 6219Assert.Empty(listBox.SelectedIndices); 6220Assert.Empty(listBox.SelectedItems); 6256Assert.Empty(listBox.SelectedIndices); 6257Assert.Empty(listBox.SelectedItems);
System\Windows\Forms\ListControlTests.cs (1)
45Assert.Empty(control.Controls);
System\Windows\Forms\ListView.ListViewItemCollectionTests.cs (2)
88Assert.Empty(collection.Find(key, searchAllSubItems: true)); 89Assert.Empty(collection.Find(key, searchAllSubItems: false));
System\Windows\Forms\ListViewGroupCollectionTests.cs (17)
15Assert.Empty(collection); 356Assert.Empty(collection); 496Assert.Empty(collection); 601Assert.Empty(collection); 606Assert.Empty(collection); 621Assert.Empty(collection); 626Assert.Empty(collection); 637Assert.Empty(collection); 852Assert.Empty(collection); 899Assert.Empty(collection); 925Assert.Empty(collection); 930Assert.Empty(collection); 949Assert.Empty(collection); 954Assert.Empty(collection); 967Assert.Empty(collection); 972Assert.Empty(collection); 1015Assert.Empty(collection);
System\Windows\Forms\ListViewGroupTests.cs (6)
23Assert.Empty(group.Items); 44Assert.Empty(group.Items); 74Assert.Empty(group.Items); 102Assert.Empty(group.Items); 1325Assert.Empty(groupWithEmptyItems.Items); 1383Assert.Empty(group.Items);
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (3)
211Assert.Empty(((IKeyboardToolTip)listViewItem).GetNeighboringToolsRectangles()); 222Assert.Empty(((IKeyboardToolTip)listViewItem).GetNeighboringToolsRectangles()); 231Assert.Empty(((IKeyboardToolTip)listViewItem).GetNeighboringToolsRectangles());
System\Windows\Forms\ListViewItemStateImageIndexConverterTests.cs (1)
24Assert.Empty(result);
System\Windows\Forms\ListViewItemTests.cs (1)
1037Assert.Empty(listView.Items);
System\Windows\Forms\ListViewSubItemCollectionTests.cs (10)
17Assert.Empty(collection); 31Assert.Empty(collection); 431Assert.Empty(collection); 436Assert.Empty(collection); 447Assert.Empty(collection); 711Assert.Empty(collection); 716Assert.Empty(collection); 729Assert.Empty(collection); 734Assert.Empty(collection); 792Assert.Empty(collection);
System\Windows\Forms\ListViewTests.cs (14)
48Assert.Empty(control.CheckedIndices); 50Assert.Empty(control.CheckedItems); 54Assert.Empty(control.Columns); 59Assert.Empty(control.Controls); 84Assert.Empty(control.Groups); 99Assert.Empty(control.Items); 125Assert.Empty(control.SelectedIndices); 127Assert.Empty(control.SelectedItems); 4485Assert.Empty(control.SelectedItems); 4551Assert.Empty(control.SelectedIndices); 5579Assert.Empty(listView.SelectedItems); 5580Assert.Empty(listView.SelectedIndices); 5639Assert.Empty(listView.CheckedItems); 5640Assert.Empty(listView.CheckedIndices);
System\Windows\Forms\MdiClient.ControlCollectionTests.cs (1)
14Assert.Empty(collection);
System\Windows\Forms\MdiClientTests.cs (2)
42Assert.Empty(control.Controls); 63Assert.Empty(control.MdiChildren);
System\Windows\Forms\MenuStripTests.cs (3)
48Assert.Empty(control.Controls); 64Assert.Empty(control.DisplayedItems); 99Assert.Empty(control.Items);
System\Windows\Forms\MonthCalendarTests.cs (4)
27Assert.Empty(control.AnnuallyBoldedDates); 34Assert.Empty(control.BoldedDates); 57Assert.Empty(control.Controls); 100Assert.Empty(control.MonthlyBoldedDates);
System\Windows\Forms\NativeWindowTests.cs (4)
352Assert.Empty(window1.Messages); 367Assert.Empty(window2.Messages); 378Assert.Empty(window3.Messages); 397Assert.Empty(window.Messages);
System\Windows\Forms\PanelTests.cs (1)
48Assert.Empty(control.Controls);
System\Windows\Forms\PictureBoxTests.cs (3)
47Assert.Empty(control.Controls); 1148Assert.Empty(oldParent.Controls); 1153Assert.Empty(oldParent.Controls);
System\Windows\Forms\ProgressBarTests.cs (1)
43Assert.Empty(control.Controls);
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (3)
73Assert.Empty(tab.GetProperties(null)); 110Assert.Empty(tab.GetProperties(null, null)); 194Assert.Empty(tab.GetProperties(null, null, null));
System\Windows\Forms\PropertyGridTests.cs (1)
143Assert.Empty(control.SelectedObjects);
System\Windows\Forms\RadioButtonTests.cs (1)
49Assert.Empty(control.Controls);
System\Windows\Forms\RichTextBoxTests.cs (9)
58Assert.Empty(control.Controls); 94Assert.Empty(control.Lines); 6176Assert.Empty(control.SelectionTabs); 6180Assert.Empty(control.SelectionTabs); 6196Assert.Empty(control.SelectionTabs); 6203Assert.Empty(control.SelectionTabs); 6247Assert.Empty(control.SelectionTabs); 6410Assert.Empty(control.SelectionTabs); 6415Assert.Empty(control.SelectionTabs);
System\Windows\Forms\ScrollableControlTests.cs (1)
47Assert.Empty(control.Controls);
System\Windows\Forms\ScrollBarTests.cs (1)
42Assert.Empty(control.Controls);
System\Windows\Forms\SplitterPanelTests.cs (1)
52Assert.Empty(control.Controls);
System\Windows\Forms\SplitterTests.cs (1)
43Assert.Empty(control.Controls);
System\Windows\Forms\StatusStripTests.cs (34)
48Assert.Empty(control.Controls); 64Assert.Empty(control.DisplayedItems); 99Assert.Empty(control.Items); 706Assert.Empty(control.Controls); 712Assert.Empty(control.Controls); 718Assert.Empty(control.Controls); 778Assert.Empty(control.Controls); 784Assert.Empty(control.Controls); 790Assert.Empty(control.Controls); 810Assert.Empty(control.Controls); 819Assert.Empty(control.Controls); 828Assert.Empty(control.Controls); 912Assert.Empty(control.Controls); 913Assert.Empty(control.Items); 914Assert.Empty(control.DataBindings); 927Assert.Empty(control.Controls); 928Assert.Empty(control.Items); 929Assert.Empty(control.DataBindings); 938Assert.Empty(control.Controls); 939Assert.Empty(control.Items); 940Assert.Empty(control.DataBindings); 965Assert.Empty(control.Controls); 966Assert.Empty(control.Items); 967Assert.Empty(control.DataBindings); 980Assert.Empty(control.Controls); 981Assert.Empty(control.Items); 982Assert.Empty(control.DataBindings); 991Assert.Empty(control.Controls); 992Assert.Empty(control.Items); 993Assert.Empty(control.DataBindings); 1034Assert.Empty(control.Items); 1035Assert.Empty(control.DataBindings); 1045Assert.Empty(control.Items); 1046Assert.Empty(control.DataBindings);
System\Windows\Forms\TabControl.ControlCollectionTests.cs (12)
18Assert.Empty(collection); 703Assert.Empty(container.Components); 961Assert.Empty(collection); 962Assert.Empty(owner.TabPages); 1082Assert.Empty(collection); 1083Assert.Empty(owner.TabPages); 1197Assert.Empty(collection); 1198Assert.Empty(owner.TabPages); 1319Assert.Empty(collection); 1320Assert.Empty(owner.TabPages); 1382Assert.Empty(collection); 1420Assert.Empty(collection);
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (48)
704Assert.Empty(container.Components); 1170Assert.Empty(collection); 1310Assert.Empty(collection); 1311Assert.Empty(owner.TabPages); 1312Assert.Empty(owner.Controls); 1319Assert.Empty(collection); 1320Assert.Empty(owner.TabPages); 1321Assert.Empty(owner.Controls); 1361Assert.Empty(collection); 1362Assert.Empty(owner.TabPages); 1363Assert.Empty(owner.Controls); 1376Assert.Empty(collection); 1377Assert.Empty(owner.TabPages); 1378Assert.Empty(owner.Controls); 1417Assert.Empty(collection); 1418Assert.Empty(owner.TabPages); 1419Assert.Empty(owner.Controls); 1429Assert.Empty(collection); 1430Assert.Empty(owner.TabPages); 1431Assert.Empty(owner.Controls); 1482Assert.Empty(collection); 1483Assert.Empty(owner.TabPages); 1484Assert.Empty(owner.Controls); 1500Assert.Empty(collection); 1501Assert.Empty(owner.TabPages); 1502Assert.Empty(owner.Controls); 2655Assert.Empty(container.Components); 2921Assert.Empty(collection); 2937Assert.Empty(collection); 3154Assert.Empty(collection); 3167Assert.Empty(collection); 4049Assert.Empty(collection); 4050Assert.Empty(owner.TabPages); 4051Assert.Empty(owner.Controls); 4173Assert.Empty(collection); 4174Assert.Empty(owner.TabPages); 4175Assert.Empty(owner.Controls); 4293Assert.Empty(collection); 4294Assert.Empty(owner.TabPages); 4295Assert.Empty(owner.Controls); 4420Assert.Empty(collection); 4421Assert.Empty(owner.TabPages); 4422Assert.Empty(owner.Controls); 4486Assert.Empty(collection); 4526Assert.Empty(collection); 4767Assert.Empty(collection); 4768Assert.Empty(owner.TabPages); 4849Assert.Empty(collection);
System\Windows\Forms\TabControlTests.cs (28)
45Assert.Empty(control.Controls); 104Assert.Empty(control.TabPages); 2544Assert.Empty(control.TabPages); 2995Assert.Empty(controls); 3834Assert.Empty(result); 3858Assert.Empty(result); 4856Assert.Empty(control.Controls); 4857Assert.Empty(control.TabPages); 4864Assert.Empty(control.Controls); 4865Assert.Empty(control.TabPages); 4873Assert.Empty(control.Controls); 4874Assert.Empty(control.TabPages); 4978Assert.Empty(control.TabPages); 4979Assert.Empty(control.Controls); 4986Assert.Empty(control.TabPages); 4987Assert.Empty(control.Controls); 5024Assert.Empty(control.TabPages); 5025Assert.Empty(control.Controls); 5038Assert.Empty(control.TabPages); 5039Assert.Empty(control.Controls); 5077Assert.Empty(control.TabPages); 5078Assert.Empty(control.Controls); 5088Assert.Empty(control.TabPages); 5089Assert.Empty(control.Controls); 5137Assert.Empty(control.TabPages); 5138Assert.Empty(control.Controls); 5154Assert.Empty(control.TabPages); 5155Assert.Empty(control.Controls);
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (1)
77Assert.Empty(collection);
System\Windows\Forms\TableLayoutControlCollectionTests.cs (2)
15Assert.Empty(collection); 69Assert.Empty(collection);
System\Windows\Forms\TableLayoutPanelTests.cs (20)
48Assert.Empty(control.ColumnStyles); 53Assert.Empty(control.Controls); 110Assert.Empty(control.RowStyles); 340Assert.Empty(control.Controls); 360Assert.Empty(control.Controls); 427Assert.Empty(control.LayoutSettings.ColumnStyles); 428Assert.Empty(control.LayoutSettings.RowStyles); 435Assert.Empty(control.LayoutSettings.ColumnStyles); 436Assert.Empty(control.LayoutSettings.RowStyles); 471Assert.Empty(control.LayoutSettings.ColumnStyles); 472Assert.Empty(control.LayoutSettings.RowStyles); 530Assert.Empty(control.LayoutSettings.ColumnStyles); 531Assert.Empty(control.LayoutSettings.RowStyles); 561Assert.Empty(settings.ColumnStyles); 562Assert.Empty(settings.ColumnStyles); 569Assert.Empty(settings.ColumnStyles); 570Assert.Empty(settings.ColumnStyles); 630Assert.Empty(controls); 710Assert.Empty(panel.GetColumnWidths()); 948Assert.Empty(control.GetRowHeights());
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (1)
77Assert.Empty(collection);
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (5)
16Assert.Empty(collection); 193Assert.Empty(collection); 229Assert.Empty(collection); 244Assert.Empty(collection); 247Assert.Empty(collection);
System\Windows\Forms\TabPageTests.cs (6)
52Assert.Empty(control.Controls); 161Assert.Empty(control.Controls); 2508Assert.Empty(oldParent.Controls); 2514Assert.Empty(oldParent.Controls); 3745Assert.Empty(controls); 4948Assert.Empty(actual);
System\Windows\Forms\TabPageTests.TabPageControlCollection.cs (1)
13Assert.Empty(collection);
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
50Assert.Empty(control.Controls);
System\Windows\Forms\ToolStripControlHostTests.cs (79)
1399Assert.Empty(parent.Items); 1408Assert.Empty(parent.Items); 1410Assert.Empty(otherParent.Items); 1411Assert.Empty(otherParent.Controls); 1418Assert.Empty(parent.Items); 1419Assert.Empty(parent.Controls); 1420Assert.Empty(otherParent.Items); 1428Assert.Empty(parent.Controls); 1429Assert.Empty(parent.Items); 1430Assert.Empty(otherParent.Items); 1431Assert.Empty(otherParent.Controls); 1438Assert.Empty(parent.Items); 1439Assert.Empty(parent.Controls); 1440Assert.Empty(otherParent.Items); 1441Assert.Empty(otherParent.Controls); 1442Assert.Empty(statusParent.Items); 1469Assert.Empty(owner.Controls); 1470Assert.Empty(parent.Items); 1480Assert.Empty(owner.Controls); 1481Assert.Empty(parent.Items); 1483Assert.Empty(otherParent.Items); 1484Assert.Empty(otherParent.Controls); 1492Assert.Empty(owner.Controls); 1493Assert.Empty(parent.Items); 1494Assert.Empty(parent.Controls); 1495Assert.Empty(otherParent.Items); 1504Assert.Empty(owner.Controls); 1505Assert.Empty(parent.Controls); 1506Assert.Empty(parent.Items); 1507Assert.Empty(otherParent.Items); 1516Assert.Empty(owner.Controls); 1517Assert.Empty(parent.Items); 1518Assert.Empty(parent.Controls); 1519Assert.Empty(otherParent.Items); 1520Assert.Empty(otherParent.Controls); 1521Assert.Empty(statusParent.Items); 1538Assert.Empty(parent.Items); 1539Assert.Empty(parent.Controls); 3067Assert.Empty(c.Controls); 3088Assert.Empty(owner.Controls); 3089Assert.Empty(c.Controls); 3113Assert.Empty(parent.Items); 3114Assert.Empty(parent.Controls); 3122Assert.Empty(parent.Items); 3123Assert.Empty(parent.Controls); 3124Assert.Empty(otherParent.Items); 3125Assert.Empty(otherParent.Controls); 3133Assert.Empty(parent.Items); 3134Assert.Empty(parent.Controls); 3135Assert.Empty(otherParent.Items); 3136Assert.Empty(otherParent.Controls); 3144Assert.Empty(parent.Items); 3145Assert.Empty(parent.Controls); 3146Assert.Empty(otherParent.Items); 3147Assert.Empty(otherParent.Controls); 3155Assert.Empty(parent.Items); 3156Assert.Empty(parent.Controls); 3157Assert.Empty(otherParent.Items); 3158Assert.Empty(otherParent.Controls); 3186Assert.Empty(parent.Items); 3187Assert.Empty(parent.Controls); 3196Assert.Empty(parent.Items); 3197Assert.Empty(parent.Controls); 3198Assert.Empty(otherParent.Items); 3199Assert.Empty(otherParent.Controls); 3208Assert.Empty(parent.Items); 3209Assert.Empty(parent.Controls); 3210Assert.Empty(otherParent.Items); 3211Assert.Empty(otherParent.Controls); 3220Assert.Empty(parent.Items); 3221Assert.Empty(parent.Controls); 3222Assert.Empty(otherParent.Items); 3223Assert.Empty(otherParent.Controls); 3232Assert.Empty(parent.Items); 3233Assert.Empty(parent.Controls); 3234Assert.Empty(otherParent.Items); 3235Assert.Empty(otherParent.Controls); 3256Assert.Empty(c.Controls); 3278Assert.Empty(c.Controls);
System\Windows\Forms\ToolStripDropDownItemTests.cs (1)
482Assert.Empty(item.DropDownItems);
System\Windows\Forms\ToolStripDropDownTests.cs (85)
52Assert.Empty(control.Controls); 68Assert.Empty(control.DisplayedItems); 105Assert.Empty(control.Items); 1798Assert.Empty(control.DisplayedItems); 3017Assert.Empty(settings.ColumnStyles); 3022Assert.Empty(settings.RowStyles); 3044Assert.Empty(control.Controls); 3045Assert.Empty(control.Items); 3046Assert.Empty(control.DataBindings); 3060Assert.Empty(control.Controls); 3061Assert.Empty(control.Items); 3062Assert.Empty(control.DataBindings); 3072Assert.Empty(control.Controls); 3073Assert.Empty(control.Items); 3074Assert.Empty(control.DataBindings); 3100Assert.Empty(control.Controls); 3101Assert.Empty(control.Items); 3102Assert.Empty(control.DataBindings); 3117Assert.Empty(control.Controls); 3118Assert.Empty(control.Items); 3119Assert.Empty(control.DataBindings); 3130Assert.Empty(control.Controls); 3131Assert.Empty(control.Items); 3132Assert.Empty(control.DataBindings); 3157Assert.Empty(control.Controls); 3158Assert.Empty(control.Items); 3159Assert.Empty(control.DataBindings); 3173Assert.Empty(control.Controls); 3174Assert.Empty(control.Items); 3175Assert.Empty(control.DataBindings); 3185Assert.Empty(control.Controls); 3186Assert.Empty(control.Items); 3187Assert.Empty(control.DataBindings); 3217Assert.Empty(control.Controls); 3218Assert.Empty(control.Items); 3219Assert.Empty(control.DataBindings); 3237Assert.Empty(control.Controls); 3238Assert.Empty(control.Items); 3239Assert.Empty(control.DataBindings); 3257Assert.Empty(control.Controls); 3258Assert.Empty(control.Items); 3259Assert.Empty(control.DataBindings); 3288Assert.Empty(control.Controls); 3289Assert.Empty(control.Items); 3290Assert.Empty(control.DataBindings); 3304Assert.Empty(control.Controls); 3305Assert.Empty(control.Items); 3306Assert.Empty(control.DataBindings); 3316Assert.Empty(control.Controls); 3317Assert.Empty(control.Items); 3318Assert.Empty(control.DataBindings); 3343Assert.Empty(control.Controls); 3344Assert.Empty(control.Items); 3345Assert.Empty(control.DataBindings); 3354Assert.Empty(control.Controls); 3355Assert.Empty(control.Items); 3356Assert.Empty(control.DataBindings); 3381Assert.Empty(control.Controls); 3382Assert.Empty(control.Items); 3383Assert.Empty(control.DataBindings); 3398Assert.Empty(control.Controls); 3399Assert.Empty(control.Items); 3400Assert.Empty(control.DataBindings); 3411Assert.Empty(control.Controls); 3412Assert.Empty(control.Items); 3413Assert.Empty(control.DataBindings); 3444Assert.Empty(control.Controls); 3445Assert.Empty(control.Items); 3446Assert.Empty(control.DataBindings); 3457Assert.Empty(control.Controls); 3458Assert.Empty(control.Items); 3459Assert.Empty(control.DataBindings); 3490Assert.Empty(control.Controls); 3491Assert.Empty(control.Items); 3492Assert.Empty(control.DataBindings); 3510Assert.Empty(control.Controls); 3511Assert.Empty(control.Items); 3512Assert.Empty(control.DataBindings); 3530Assert.Empty(control.Controls); 3531Assert.Empty(control.Items); 3532Assert.Empty(control.DataBindings); 3579Assert.Empty(control.Controls); 3581Assert.Empty(control.DataBindings); 3598Assert.Empty(control.Controls); 3600Assert.Empty(control.DataBindings);
System\Windows\Forms\ToolStripItemCollectionTests.cs (4)
91Assert.Empty(collection.Find(key, searchAllChildren: true)); 92Assert.Empty(collection.Find(key, searchAllChildren: false)); 113Assert.Empty(contextMenuStrip.Items); 121Assert.Empty(toolStripDropDownButton.DropDownItems);
System\Windows\Forms\ToolStripItemTests.cs (43)
6458Assert.Empty(otherOwner.Items); 6465Assert.Empty(owner.Items); 6473Assert.Empty(owner.Items); 6474Assert.Empty(otherOwner.Items); 6481Assert.Empty(owner.Items); 6482Assert.Empty(otherOwner.Items); 6508Assert.Empty(otherOwner.Items); 6515Assert.Empty(owner.Items); 6523Assert.Empty(owner.Items); 6524Assert.Empty(otherOwner.Items); 6531Assert.Empty(owner.Items); 6532Assert.Empty(otherOwner.Items); 6601Assert.Empty(otherOwner.Items); 6607Assert.Empty(owner.Items); 6614Assert.Empty(owner.Items); 6615Assert.Empty(otherOwner.Items); 6623Assert.Empty(otherOwner.Items); 6977Assert.Empty(parent.Items); 6985Assert.Empty(parent.Items); 6986Assert.Empty(otherParent.Items); 6993Assert.Empty(parent.Items); 6994Assert.Empty(otherParent.Items); 7001Assert.Empty(parent.Items); 7002Assert.Empty(otherParent.Items); 7009Assert.Empty(parent.Items); 7010Assert.Empty(otherParent.Items); 7011Assert.Empty(statusParent.Items); 7034Assert.Empty(parent.Items); 7042Assert.Empty(parent.Items); 7043Assert.Empty(otherParent.Items); 7050Assert.Empty(parent.Items); 7051Assert.Empty(otherParent.Items); 7058Assert.Empty(parent.Items); 7059Assert.Empty(otherParent.Items); 7066Assert.Empty(parent.Items); 7067Assert.Empty(otherParent.Items); 7068Assert.Empty(statusParent.Items); 9932Assert.Empty(owner.Items); 9940Assert.Empty(owner.Items); 9974Assert.Empty(parent.Items); 9982Assert.Empty(parent.Items); 10129Assert.Empty(parent.Items); 10137Assert.Empty(parent.Items);
System\Windows\Forms\ToolStripPanelTests.cs (1)
49Assert.Empty(control.Controls);
System\Windows\Forms\ToolStripTests.cs (63)
52Assert.Empty(control.Controls); 117Assert.Empty(control.Items); 210Assert.Empty(control.Controls); 4236Assert.Empty(controls); 4260Assert.Empty(controls); 4335Assert.Empty(settings.ColumnStyles); 4340Assert.Empty(settings.RowStyles); 4362Assert.Empty(control.Controls); 4363Assert.Empty(control.Items); 4364Assert.Empty(control.DataBindings); 4378Assert.Empty(control.Controls); 4379Assert.Empty(control.Items); 4380Assert.Empty(control.DataBindings); 4390Assert.Empty(control.Controls); 4391Assert.Empty(control.Items); 4392Assert.Empty(control.DataBindings); 4416Assert.Empty(control.Controls); 4417Assert.Empty(control.Items); 4418Assert.Empty(control.DataBindings); 4432Assert.Empty(control.Controls); 4433Assert.Empty(control.Items); 4434Assert.Empty(control.DataBindings); 4444Assert.Empty(control.Controls); 4445Assert.Empty(control.Items); 4446Assert.Empty(control.DataBindings); 4476Assert.Empty(control.Controls); 4477Assert.Empty(control.Items); 4478Assert.Empty(control.DataBindings); 4496Assert.Empty(control.Controls); 4497Assert.Empty(control.Items); 4498Assert.Empty(control.DataBindings); 4516Assert.Empty(control.Controls); 4517Assert.Empty(control.Items); 4518Assert.Empty(control.DataBindings); 4547Assert.Empty(control.Controls); 4548Assert.Empty(control.Items); 4549Assert.Empty(control.DataBindings); 4563Assert.Empty(control.Controls); 4564Assert.Empty(control.Items); 4565Assert.Empty(control.DataBindings); 4575Assert.Empty(control.Controls); 4576Assert.Empty(control.Items); 4577Assert.Empty(control.DataBindings); 4602Assert.Empty(control.Controls); 4603Assert.Empty(control.Items); 4604Assert.Empty(control.DataBindings); 4613Assert.Empty(control.Controls); 4614Assert.Empty(control.Items); 4615Assert.Empty(control.DataBindings); 4644Assert.Empty(control.Controls); 4645Assert.Empty(control.Items); 4646Assert.Empty(control.DataBindings); 4664Assert.Empty(control.Controls); 4665Assert.Empty(control.Items); 4666Assert.Empty(control.DataBindings); 4684Assert.Empty(control.Controls); 4685Assert.Empty(control.Items); 4686Assert.Empty(control.DataBindings); 4733Assert.Empty(control.Controls); 4735Assert.Empty(control.DataBindings); 4752Assert.Empty(control.Controls); 4754Assert.Empty(control.DataBindings); 7368Assert.Empty(listToolStripMenuItem.DropDown.DisplayedItems);
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (3)
306Assert.Empty(((IKeyboardToolTip)treeNodesList[0]).GetNeighboringToolsRectangles()); 307Assert.Empty(((IKeyboardToolTip)treeNodesList[1]).GetNeighboringToolsRectangles()); 308Assert.Empty(((IKeyboardToolTip)treeNodesList[2]).GetNeighboringToolsRectangles());
System\Windows\Forms\TreeNodeCollectionTests.cs (3)
42Assert.Empty(treeNode.Nodes); 213Assert.Empty(collection.Find(key, searchAllChildren: true)); 214Assert.Empty(collection.Find(key, searchAllChildren: false));
System\Windows\Forms\TreeNodeTests.cs (3)
37Assert.Empty(node.Nodes); 77Assert.Empty(node.Nodes); 168Assert.Empty(node.Nodes);
System\Windows\Forms\TreeViewTests.cs (8)
45Assert.Empty(control.Controls); 92Assert.Empty(control.Nodes); 6975Assert.Empty(treeView.Nodes); 7109Assert.Empty(treeView.Nodes); 7207Assert.Empty(treeNode5.Nodes); 7256Assert.Empty(fifthSubNode1.Nodes); 7260Assert.Empty(firstSubNode.Nodes); 7265Assert.Empty(parent.Nodes);
System\Windows\Forms\UserControlTests.cs (1)
53Assert.Empty(control.Controls);
System\Windows\Forms\VScrollBarTests.cs (1)
47Assert.Empty(control.Controls);
System\Windows\Forms\WebBrowserTests.cs (33)
42Assert.Empty(control.Controls); 2528Assert.Empty(control.Controls); 2529Assert.Empty(control.DataBindings); 2543Assert.Empty(control.Controls); 2544Assert.Empty(control.DataBindings); 2554Assert.Empty(control.Controls); 2555Assert.Empty(control.DataBindings); 2583Assert.Empty(control.Controls); 2584Assert.Empty(control.DataBindings); 2598Assert.Empty(control.Controls); 2599Assert.Empty(control.DataBindings); 2609Assert.Empty(control.Controls); 2610Assert.Empty(control.DataBindings); 2631Assert.Empty(control.Controls); 2632Assert.Empty(control.DataBindings); 2646Assert.Empty(control.Controls); 2647Assert.Empty(control.DataBindings); 2657Assert.Empty(control.Controls); 2658Assert.Empty(control.DataBindings); 2690Assert.Empty(control.Controls); 2691Assert.Empty(control.DataBindings); 2701Assert.Empty(control.Controls); 2702Assert.Empty(control.DataBindings); 2730Assert.Empty(control.Controls); 2731Assert.Empty(control.DataBindings); 2745Assert.Empty(control.Controls); 2746Assert.Empty(control.DataBindings); 2756Assert.Empty(control.Controls); 2757Assert.Empty(control.DataBindings); 2782Assert.Empty(control.Controls); 2783Assert.Empty(control.DataBindings); 2793Assert.Empty(control.Controls); 2794Assert.Empty(control.DataBindings);
TextBoxBaseTests.cs (1)
1618Assert.Empty(control.Lines);
TextBoxTests.cs (3)
27Assert.Empty(control.AutoCompleteCustomSource); 51Assert.Empty(control.Controls); 81Assert.Empty(control.Lines);
TrackBarTests.cs (1)
44Assert.Empty(control.Controls);
System.Xaml.Tests (5)
System\Windows\Markup\ArrayExtensionTests.cs (2)
19Assert.Empty(extension.Items); 30Assert.Empty(extension.Items);
System\Windows\Markup\PropertyDefinitionTests.cs (1)
14Assert.Empty(definition.Attributes);
System\Windows\Markup\ValueSerializerTests.cs (2)
94Assert.Empty(serializer.TypeReferences(value, null)); 95Assert.Empty(serializer.TypeReferences(value, new CustomValueSerializerContext()));
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\Shared\E2ETesting\WaitAssert.cs (2)
48=> WaitAssertCore(driver, () => Assert.Empty(actualValues())); 63Assert.Empty(elements);
Templates.Blazor.WebAssembly.Tests (2)
src\Shared\E2ETesting\WaitAssert.cs (2)
48=> WaitAssertCore(driver, () => Assert.Empty(actualValues())); 63Assert.Empty(elements);
Templates.Mvc.Tests (2)
src\Shared\E2ETesting\WaitAssert.cs (2)
48=> WaitAssertCore(driver, () => Assert.Empty(actualValues())); 63Assert.Empty(elements);
Templates.Tests (2)
src\Shared\E2ETesting\WaitAssert.cs (2)
48=> WaitAssertCore(driver, () => Assert.Empty(actualValues())); 63Assert.Empty(elements);
VBCSCompiler.UnitTests (1)
AnalyzerConsistencyCheckerTests.cs (1)
73Assert.Empty(emitResult.Diagnostics.Where(x => x.Severity == DiagnosticSeverity.Error));
xunit.assert (1)
AsyncCollectionAsserts.cs (1)
209 Empty(AssertHelper.ToEnumerable(collection));