450 references to Empty
InMemory.FunctionalTests (3)
RequestTargetProcessingTests.cs (3)
102Assert.Empty(context.Request.Path.Value); 103Assert.Empty(context.Request.PathBase.Value); 104Assert.Empty(context.Request.QueryString.Value);
InteractiveHost.UnitTests (1)
InteractiveHostDesktopTests.cs (1)
967Assert.Empty(error);
Microsoft.AspNetCore.Antiforgery.Test (4)
DefaultAntiforgeryTokenGeneratorTest.cs (4)
70Assert.Empty(fieldToken.Username); 72Assert.Empty(fieldToken.AdditionalData); 135Assert.Empty(fieldToken.Username); 205Assert.Empty(fieldToken.AdditionalData);
Microsoft.AspNetCore.App.UnitTests (1)
SharedFxTests.cs (1)
123Assert.Empty(lib["sha512"].Value<string>());
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Buffering\BufferedTextWriterTest.cs (2)
25Assert.Empty(underlying.ToString()); 59Assert.Empty(underlying.FlushedOutput);
Microsoft.AspNetCore.Components.Web.Tests (2)
HtmlRendering\HtmlRendererTest.cs (2)
816Assert.Empty(first.ToHtmlString()); 829Assert.Empty(second.ToHtmlString());
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (1)
HealthCheckMiddlewareTests.cs (1)
468Assert.Empty(response.Headers.Pragma.ToString());
Microsoft.AspNetCore.Diagnostics.Tests (2)
StatusCodeMiddlewareTest.cs (2)
314Assert.Empty(content); 352Assert.Empty(content);
Microsoft.AspNetCore.Http.Results.Tests (15)
ResultsTests.cs (2)
689Assert.Empty(result.Location); 726Assert.Empty(result.Location);
src\Shared\ResultsTests\FileContentResultTestBase.cs (3)
261Assert.Empty(body); 295Assert.Empty(body); 330Assert.Empty(body);
src\Shared\ResultsTests\FileStreamResultTestBase.cs (4)
251Assert.Empty(body); 287Assert.Empty(body); 324Assert.Empty(body); 367Assert.Empty(body);
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (3)
208Assert.Empty(body); 235Assert.Empty(body); 263Assert.Empty(body);
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (1)
250Assert.Empty(body);
TypedResultsTests.cs (2)
651Assert.Empty(result.Location); 679Assert.Empty(result.Location);
Microsoft.AspNetCore.Mvc.Abstractions.Test (4)
ModelBinding\ModelStateDictionaryTest.cs (1)
1201Assert.Empty(error.ErrorMessage);
ModelBinding\ValueProviderResultTest.cs (3)
21Assert.Empty((string)result); 36Assert.Empty((string)result); 52Assert.Empty((string)result);
Microsoft.AspNetCore.Mvc.Core.Test (20)
ControllerBaseTest.cs (2)
2616Assert.Empty(context.ModelName); 2710Assert.Empty(modelState.Key);
Controllers\ControllerBinderDelegateProviderTest.cs (1)
1243Assert.Empty(entry.Key);
Formatters\SystemTextJsonInputFormatterTest.cs (3)
105Assert.Empty(kvp.Key); 126Assert.Empty(kvp.Key); 181Assert.Empty(modelError.ErrorMessage);
ModelBinding\CompositeValueProviderTest.cs (1)
62Assert.Empty(entry.Key);
ModelBinding\ParameterBinderTest.cs (1)
635Assert.Empty(kvp.Key);
ModelBinding\Validation\DefaultObjectValidatorTests.cs (1)
1247Assert.Empty(kvp.Key);
src\Shared\ResultsTests\FileContentResultTestBase.cs (3)
261Assert.Empty(body); 295Assert.Empty(body); 330Assert.Empty(body);
src\Shared\ResultsTests\FileStreamResultTestBase.cs (4)
251Assert.Empty(body); 287Assert.Empty(body); 324Assert.Empty(body); 367Assert.Empty(body);
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (3)
208Assert.Empty(body); 235Assert.Empty(body); 263Assert.Empty(body);
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (1)
250Assert.Empty(body);
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (3)
DataAnnotationsModelValidatorTest.cs (3)
179Assert.Empty(validationResult.MemberName); 234Assert.Empty(validationResult.MemberName); 391Assert.Empty(validationResult.MemberName);
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
ProblemDetailsWrapperTest.cs (1)
41Assert.Empty(kvp.Key);
ValidationProblemDetailsWrapperTest.cs (1)
58Assert.Empty(kvp.Key);
Microsoft.AspNetCore.Mvc.FunctionalTests (27)
BasicTests.cs (2)
166Assert.Empty(await response.Content.ReadAsStringAsync()); 661Assert.Empty(kvp.Key);
CorsTestsBase.cs (6)
215Assert.Empty(content); 290Assert.Empty(content); 322Assert.Empty(content); 357Assert.Empty(content); 385Assert.Empty(content); 408Assert.Empty(content);
FileResultTests.cs (5)
113Assert.Empty(body); 177Assert.Empty(body); 400Assert.Empty(body); 604Assert.Empty(body); 885Assert.Empty(body);
HtmlGenerationTest.cs (2)
728Assert.Empty(banner.TextContent); 756Assert.Empty(content.TextContent);
InputFormatterTests.cs (2)
195Assert.Empty(kvp.Key); 213Assert.Empty(kvp.Key);
InputObjectValidationTests.cs (2)
306Assert.Empty(error.Key); 367Assert.Empty(error.Key);
NonNullableReferenceTypesTest.cs (2)
47Assert.Empty(li.TextContent); 89Assert.Empty(li.TextContent);
OutputFormatterTest.cs (3)
78Assert.Empty(body); 96Assert.Empty(body); 116Assert.Empty(body);
RazorPagesTest.cs (1)
1464Assert.Empty(content.Trim());
ReadFromDisconnectedClientTest.cs (1)
68Assert.Empty(error.Key);
TempDataPropertyTest.cs (1)
157Assert.Empty(body);
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
BodyValidationIntegrationTests.cs (1)
595Assert.Empty(error.ErrorMessage);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
NewtonsoftJsonInputFormatterTest.cs (1)
307Assert.Empty(modelError.ErrorMessage);
Microsoft.AspNetCore.Mvc.Razor.Test (3)
RazorPageCreateModelExpressionTest.cs (2)
39Assert.Empty(modelExpression.Name); 64Assert.Empty(modelExpression.Name);
RazorPageTest.cs (1)
1314Assert.Empty(defaultWriter.ToString());
Microsoft.AspNetCore.Mvc.RazorPages.Test (9)
DependencyInjection\PageConventionCollectionExtensionsTest.cs (6)
485Assert.Empty(authorizeAttribute.Policy); 512Assert.Empty(authorizeAttribute.Policy); 729Assert.Empty(authorizeData.Policy); 736Assert.Empty(authorizeData.Policy); 768Assert.Empty(authorizeData.Policy); 775Assert.Empty(authorizeData.Policy);
Infrastructure\PageBinderFactoryTest.cs (1)
748Assert.Empty(entry.Key);
PageModelTest.cs (1)
1775Assert.Empty(modelState.Key);
PageTest.cs (1)
1853Assert.Empty(modelState.Key);
Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests (1)
VirtualPathDataTests.cs (1)
59Assert.Empty(pathData.VirtualPath);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (138)
AnchorTagHelperTest.cs (5)
134Assert.Empty(output.Content.GetContent()); 186Assert.Empty(output.Content.GetContent()); 244Assert.Empty(output.Content.GetContent()); 303Assert.Empty(output.Content.GetContent()); 361Assert.Empty(output.Content.GetContent());
CacheTagHelperTest.cs (43)
83Assert.Empty(tagHelperOutput.PreContent.GetContent()); 84Assert.Empty(tagHelperOutput.PostContent.GetContent()); 112Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 113Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 134Assert.Empty(tagHelperOutput2.PreContent.GetContent()); 135Assert.Empty(tagHelperOutput2.PostContent.GetContent()); 162Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 163Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 184Assert.Empty(tagHelperOutput2.PreContent.GetContent()); 185Assert.Empty(tagHelperOutput2.PostContent.GetContent()); 245Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 246Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 347Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 348Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 369Assert.Empty(tagHelperOutput2.PreContent.GetContent()); 370Assert.Empty(tagHelperOutput2.PostContent.GetContent()); 400Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 401Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 422Assert.Empty(tagHelperOutput2.PreContent.GetContent()); 423Assert.Empty(tagHelperOutput2.PostContent.GetContent()); 453Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 454Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 475Assert.Empty(tagHelperOutput2.PreContent.GetContent()); 476Assert.Empty(tagHelperOutput2.PostContent.GetContent()); 609Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 610Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 614Assert.Empty(tagHelperOutput2.PreContent.GetContent()); 615Assert.Empty(tagHelperOutput2.PostContent.GetContent()); 692Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 693Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 695Assert.Empty(tagHelperOutput1.Content.GetContent()); 697Assert.Empty(tagHelperOutput2.PreContent.GetContent()); 698Assert.Empty(tagHelperOutput2.PostContent.GetContent()); 756Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 757Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 759Assert.Empty(tagHelperOutput1.Content.GetContent()); 768Assert.Empty(tagHelperOutput2.PreContent.GetContent()); 769Assert.Empty(tagHelperOutput2.PostContent.GetContent()); 771Assert.Empty(tagHelperOutput2.Content.GetContent()); 780Assert.Empty(tagHelperOutput3.PreContent.GetContent()); 781Assert.Empty(tagHelperOutput3.PostContent.GetContent()); 792Assert.Empty(tagHelperOutput4.PreContent.GetContent()); 793Assert.Empty(tagHelperOutput4.PostContent.GetContent());
DistributedCacheTagHelperTest.cs (31)
106Assert.Empty(tagHelperOutput.PreContent.GetContent()); 107Assert.Empty(tagHelperOutput.PostContent.GetContent()); 155Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 156Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 180Assert.Empty(tagHelperOutput2.PreContent.GetContent()); 181Assert.Empty(tagHelperOutput2.PostContent.GetContent()); 214Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 215Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 238Assert.Empty(tagHelperOutput2.PreContent.GetContent()); 239Assert.Empty(tagHelperOutput2.PostContent.GetContent()); 377Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 378Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 401Assert.Empty(tagHelperOutput2.PreContent.GetContent()); 402Assert.Empty(tagHelperOutput2.PostContent.GetContent()); 439Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 440Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 463Assert.Empty(tagHelperOutput2.PreContent.GetContent()); 464Assert.Empty(tagHelperOutput2.PostContent.GetContent()); 501Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 502Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 525Assert.Empty(tagHelperOutput2.PreContent.GetContent()); 526Assert.Empty(tagHelperOutput2.PostContent.GetContent()); 612Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 613Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 617Assert.Empty(tagHelperOutput2.PreContent.GetContent()); 618Assert.Empty(tagHelperOutput2.PostContent.GetContent()); 704Assert.Empty(tagHelperOutput1.PreContent.GetContent()); 705Assert.Empty(tagHelperOutput1.PostContent.GetContent()); 707Assert.Empty(tagHelperOutput1.Content.GetContent()); 709Assert.Empty(tagHelperOutput2.PreContent.GetContent()); 710Assert.Empty(tagHelperOutput2.PostContent.GetContent());
EnvironmentTagHelperTest.cs (4)
147Assert.Empty(output.PreContent.GetContent()); 149Assert.Empty(output.PostContent.GetContent()); 180Assert.Empty(output.PreContent.GetContent()); 182Assert.Empty(output.PostContent.GetContent());
FormActionTagHelperTest.cs (4)
251Assert.Empty(output.Content.GetContent()); 309Assert.Empty(output.Content.GetContent()); 382Assert.Empty(output.Content.GetContent()); 435Assert.Empty(output.Content.GetContent());
FormTagHelperTest.cs (31)
119Assert.Empty(output.PreContent.GetContent()); 173Assert.Empty(output.PreContent.GetContent()); 229Assert.Empty(output.PreElement.GetContent()); 230Assert.Empty(output.PreContent.GetContent()); 231Assert.Empty(output.Content.GetContent()); 233Assert.Empty(output.PostElement.GetContent()); 287Assert.Empty(output.PreElement.GetContent()); 288Assert.Empty(output.PreContent.GetContent()); 289Assert.Empty(output.Content.GetContent()); 291Assert.Empty(output.PostElement.GetContent()); 363Assert.Empty(output.PreContent.GetContent()); 427Assert.Empty(output.PreContent.GetContent()); 498Assert.Empty(output.PreContent.GetContent()); 500Assert.Empty(output.PostContent.GetContent()); 550Assert.Empty(output.PreElement.GetContent()); 551Assert.Empty(output.PreContent.GetContent()); 553Assert.Empty(output.PostContent.GetContent()); 674Assert.Empty(output.PreElement.GetContent()); 675Assert.Empty(output.PreContent.GetContent()); 677Assert.Empty(output.PostContent.GetContent()); 731Assert.Empty(output.PreElement.GetContent()); 732Assert.Empty(output.PreContent.GetContent()); 734Assert.Empty(output.PostContent.GetContent()); 789Assert.Empty(output.PreElement.GetContent()); 790Assert.Empty(output.PreContent.GetContent()); 792Assert.Empty(output.PostContent.GetContent()); 843Assert.Empty(output.PreElement.GetContent()); 844Assert.Empty(output.PreContent.GetContent()); 846Assert.Empty(output.PostContent.GetContent()); 847Assert.Empty(output.PostElement.GetContent()); 1001Assert.Empty(output.PreContent.GetContent());
InputTagHelperTest.cs (14)
758Assert.Empty(output.PreContent.GetContent()); 759Assert.Empty(output.Content.GetContent()); 760Assert.Empty(output.PostContent.GetContent()); 829Assert.Empty(output.PreContent.GetContent()); 830Assert.Empty(output.Content.GetContent()); 831Assert.Empty(output.PostContent.GetContent()); 1810Assert.Empty(output.PreContent.GetContent()); 1812Assert.Empty(output.PostContent.GetContent()); 1879Assert.Empty(output.PreContent.GetContent()); 1881Assert.Empty(output.PostContent.GetContent()); 1948Assert.Empty(output.PreContent.GetContent()); 1950Assert.Empty(output.PostContent.GetContent()); 2042Assert.Empty(output.PreContent.GetContent()); 2044Assert.Empty(output.PostContent.GetContent());
PartialTagHelperTest.cs (1)
643Assert.Empty(content);
PersistComponentStateTagHelperTest.cs (3)
50Assert.Empty(content); 72Assert.Empty(content); 184Assert.Empty(content);
ValidationSummaryTagHelperTest.cs (2)
132Assert.Empty(HtmlContentUtilities.HtmlContentToString(output)); 200Assert.Empty(HtmlContentUtilities.HtmlContentToString(output));
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (32)
Buffers\PagedBufferedTextWriterTest.cs (2)
57Assert.Empty(inner.ToString()); 154Assert.Empty(inner.ToString());
DefaultDisplayTemplatesTest.cs (1)
251Assert.Empty(HtmlContentUtilities.HtmlContentToString(result));
Rendering\HtmlHelperDisplayNameExtensionsTest.cs (5)
29Assert.Empty(displayNameResult); 30Assert.Empty(displayNameNullResult); 31Assert.Empty(displayNameForResult); 32Assert.Empty(displayNameForEnumerableModelResult); 33Assert.Empty(displayNameForModelResult);
Rendering\HtmlHelperDisplayTextTest.cs (3)
25Assert.Empty(result); 38Assert.Empty(result); 106Assert.Empty(result);
Rendering\HtmlHelperLabelExtensionsTest.cs (8)
28Assert.Empty(HtmlContentUtilities.HtmlContentToString(labelResult)); 29Assert.Empty(HtmlContentUtilities.HtmlContentToString(labelNullResult)); 30Assert.Empty(HtmlContentUtilities.HtmlContentToString(labelForResult)); 31Assert.Empty(HtmlContentUtilities.HtmlContentToString(labelForModelResult)); 168Assert.Empty(HtmlContentUtilities.HtmlContentToString(labelResult)); 169Assert.Empty(HtmlContentUtilities.HtmlContentToString(labelNullResult)); 170Assert.Empty(HtmlContentUtilities.HtmlContentToString(labelForResult)); 171Assert.Empty(HtmlContentUtilities.HtmlContentToString(labelForModelResult));
Rendering\HtmlHelperNameExtensionsTest.cs (10)
55Assert.Empty(idResult); 56Assert.Empty(idNullResult); 57Assert.Empty(idForResult); 58Assert.Empty(idForModelResult); 59Assert.Empty(nameResult); 60Assert.Empty(nameNullResult); 61Assert.Empty(nameForResult); 62Assert.Empty(nameForModelResult); 243Assert.Empty(idResult); 244Assert.Empty(nameResult);
Rendering\HtmlHelperValueTest.cs (2)
114Assert.Empty(html); 129Assert.Empty(html);
ViewDataDictionaryTest.cs (1)
727Assert.Empty(formattedValue);
Microsoft.AspNetCore.OpenApi.Tests (2)
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Responses.cs (2)
230Assert.Empty(response.Value.Description); 264Assert.Empty(defaultResponse.Description);
Microsoft.AspNetCore.OutputCaching.Tests (6)
OutputCacheKeyProviderTests.cs (6)
290Assert.Empty(cacheKey); 315Assert.Empty(cacheKey); 329Assert.Empty(cacheKey); 356Assert.Empty(cacheKey); 369Assert.Empty(cacheKey); 396Assert.Empty(cacheKey);
Microsoft.AspNetCore.Razor.Test (10)
TagHelpers\TagHelperOutputTest.cs (10)
333Assert.Empty(tagHelperOutput.PreElement.GetContent(new HtmlTestEncoder())); 335Assert.Empty(tagHelperOutput.PreContent.GetContent(new HtmlTestEncoder())); 337Assert.Empty(tagHelperOutput.Content.GetContent(new HtmlTestEncoder())); 339Assert.Empty(tagHelperOutput.PostContent.GetContent(new HtmlTestEncoder())); 341Assert.Empty(tagHelperOutput.PostElement.GetContent(new HtmlTestEncoder())); 365Assert.Empty(tagHelperOutput.PreElement.GetContent(new HtmlTestEncoder())); 367Assert.Empty(tagHelperOutput.PreContent.GetContent(new HtmlTestEncoder())); 369Assert.Empty(tagHelperOutput.Content.GetContent(new HtmlTestEncoder())); 371Assert.Empty(tagHelperOutput.PostContent.GetContent(new HtmlTestEncoder())); 373Assert.Empty(tagHelperOutput.PostElement.GetContent(new HtmlTestEncoder()));
Microsoft.AspNetCore.Routing.Tests (7)
InlineRouteParameterParserTests.cs (7)
49Assert.Empty(constraint.Constraint); 62Assert.Empty(constraint.Constraint); 203constraint => Assert.Empty(constraint.Constraint), 205constraint => Assert.Empty(constraint.Constraint), 252constraint => Assert.Empty(constraint.Constraint), 447constraint => Assert.Empty(constraint.Constraint), 462constraint => Assert.Empty(constraint.Constraint));
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
HttpRequestHeadersTests.cs (1)
692Assert.Empty(parsedAcceptHeaderValue);
Microsoft.Build.Tasks.UnitTests (49)
GetSDKReference_Tests.cs (18)
449Assert.Empty(t.References[4].GetMetadata("WinMDFileType")); 467Assert.Empty(t.CopyLocalFiles[5].GetMetadata("WinMDFileType")); 579Assert.Empty(t.References[4].GetMetadata("WinMDFileType")); 693Assert.Empty(t.References[4].GetMetadata("WinMDFileType")); 732Assert.Empty(t.References[0].GetMetadata("WinMDFileType")); 739Assert.Empty(t.References[4].GetMetadata("WinMDFileType")); 828Assert.Empty(t.References[0].GetMetadata("ReferenceGroupingDisplayName")); 837Assert.Empty(t.References[4].GetMetadata("WinMDFileType")); 889Assert.Empty(t.References[4].GetMetadata("WinMDFileType")); 967Assert.Empty(t.RedistFiles[0].GetMetadata("Root")); 973Assert.Empty(t.RedistFiles[1].GetMetadata("Root")); 985Assert.Empty(t.RedistFiles[3].GetMetadata("Root")); 991Assert.Empty(t.RedistFiles[4].GetMetadata("Root")); 1373Assert.Empty(t.RedistFiles[0].GetMetadata("Root")); 1379Assert.Empty(t.RedistFiles[1].GetMetadata("Root")); 1385Assert.Empty(t.RedistFiles[2].GetMetadata("Root")); 1403Assert.Empty(t.RedistFiles[5].GetMetadata("Root")); 1409Assert.Empty(t.RedistFiles[6].GetMetadata("Root"));
NuGetPropsImportTests.cs (1)
82Assert.Empty(project.GetPropertyValue("NuGetPropsIsImported"));
ResolveSDKReference_Tests.cs (30)
1096Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("FrameworkIdentity")); 1097Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("PlatformIdentity")); 1098Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("AppXLocation")); 1134Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("FrameworkIdentity")); 1135Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("AppXLocation")); 1175Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("FrameworkIdentity")); 1176Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("AppXLocation")); 1213Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("FrameworkIdentity")); 1214Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("AppXLocation")); 1252Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("FrameworkIdentity")); 1253Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("AppXLocation")); 1286Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("FrameworkIdentity")); 1287Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("AppXLocation")); 1357Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("FrameworkIdentity")); 1358Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("AppXLocation")); 1359Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("SDKType")); 1360Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("DisplayName")); 1759Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("FrameworkIdentity")); 1760Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("AppXLocation")); 1761Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("SDKType")); 1762Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("SupportedArchitectures")); 1763Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("ProductFamilyName")); 1764Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("DisplayName")); 1765Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("ArchitectureForRuntime")); 1766Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("MaxPlatformVersion")); 1767Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("MaxOSVersionTested")); 1768Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("MinOSVersion")); 1770Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("CopyRedistToSubDirectory")); 2072Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("FrameworkIdentity")); 2073Assert.Empty(t.ResolvedSDKReferences[0].GetMetadata("AppXLocation"));
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (6)
CommandLineTests.cs (6)
5907Assert.Empty(outWriter.ToString()); 9566Assert.Empty(outWriter.ToString()); 13759Assert.Empty(output); 13798Assert.Empty(output); 13977Assert.Empty(output); 14926Assert.Empty(output);
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (2)
EmbeddedLanguages\Json\CSharpJsonParserTests_NstTests.cs (2)
30Assert.Empty(strictDiagnostics); 37Assert.Empty(strictDiagnostics);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
CodeRefactorings\CodeRefactoringServiceTest.cs (2)
183Assert.Empty(txtAdditionalDocument.GetTextSynchronously(CancellationToken.None).ToString()); 222Assert.Empty(editorConfig.GetTextSynchronously(CancellationToken.None).ToString());
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Miscellaneous\LspMiscellaneousFilesWorkspaceTests.cs (1)
73Assert.Empty(miscWorkspaceText.ToString());
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
DeterministicKeyBuilderTests.cs (1)
97Assert.Empty(writer.GetStringBuilder().ToString());
Microsoft.CodeAnalysis.Test.Utilities (1)
CompilationVerifier.cs (1)
389Assert.Empty(errorOutput);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (2)
CommandLineTests.vb (2)
10181Assert.Empty(output) 10220Assert.Empty(output)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
VisualStudioMSBuildWorkspaceTests.cs (1)
997Assert.Empty(text.ToString());
Microsoft.DotNet.XUnitAssert.Tests (3)
StringAssertsTests.cs (3)
403 Assert.Throws<ArgumentNullException>("value", () => Assert.Empty(default(string)!)); 409 Assert.Empty(""); 415 var ex = Record.Exception(() => Assert.Empty("Foo"));
Microsoft.Extensions.AI.Abstractions.Tests (19)
AIToolTests.cs (1)
16Assert.Empty(tool.Description);
ChatCompletion\ChatMessageTests.cs (6)
22Assert.Empty(message.Text); 64Assert.Empty(message.Text); 68Assert.Empty(message.Text); 72Assert.Empty(message.Text); 76Assert.Empty(message.Text); 100Assert.Empty(message.Text);
ChatCompletion\ChatResponseTests.cs (2)
21Assert.Empty(response.Text); 25Assert.Empty(response.Text);
ChatCompletion\ChatResponseUpdateTests.cs (2)
19Assert.Empty(update.Text); 55Assert.Empty(update.Text);
Contents\ErrorContentTests.cs (2)
15Assert.Empty(content.Message); 21Assert.Empty(content.Message);
HostedCodeInterpreterToolTests.cs (1)
15Assert.Empty(tool.Description);
HostedWebSearchToolTests.cs (1)
15Assert.Empty(tool.Description);
SpeechToText\SpeechToTextResponseTests.cs (2)
25Assert.Empty(response.Text); 84Assert.Empty(response.Text);
SpeechToText\SpeechToTextResponseUpdateTests.cs (2)
19Assert.Empty(update.Text); 38Assert.Empty(update.Text);
Microsoft.Extensions.AI.AzureAIInference.Tests (1)
AzureAIInferenceChatClientTests.cs (1)
1256Assert.Empty(response.Text);
Microsoft.Extensions.AI.Ollama.Tests (1)
OllamaChatClientTests.cs (1)
380Assert.Empty(response.Text);
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIChatClientTests.cs (1)
1089Assert.Empty(response.Text);
Microsoft.Extensions.AI.Tests (3)
ChatCompletion\FunctionInvocationContextTests.cs (1)
29Assert.Empty(ctx.Function.Description);
Functions\AIFunctionFactoryTest.cs (2)
154Assert.Empty(func.Description); 160Assert.Empty(func.Description);
Microsoft.Extensions.ApiDescription.Client.Tests (18)
TargetTest.cs (18)
79Assert.Empty(process.Error); 101Assert.Empty(process.Error); 122Assert.Empty(process.Error); 148Assert.Empty(process.Error); 175Assert.Empty(process.Error); 200Assert.Empty(process.Error); 225Assert.Empty(process.Error); 250Assert.Empty(process.Error); 277Assert.Empty(process.Error); 302Assert.Empty(process.Error); 327Assert.Empty(process.Error); 352Assert.Empty(process.Error); 378Assert.Empty(process.Error); 419Assert.Empty(process.Error); 453Assert.Empty(firstProcess.Error); 460Assert.Empty(secondProcess.Error); 468Assert.Empty(thirdProcess.Error); 488Assert.Empty(process.Error);
Microsoft.Extensions.Compliance.Abstractions.Tests (1)
Redaction\RedactionAbstractionsExtensionsTest.cs (1)
44Assert.Empty(sb.ToString());
Microsoft.Extensions.Compliance.Redaction.Tests (1)
ErasingRedactorTests.cs (1)
58Assert.Empty(e);
Microsoft.Extensions.Telemetry.Tests (1)
Latency\Internal\LatencyContextTests.cs (1)
178Assert.Empty(tags[0].Value);
Microsoft.Gen.Logging.Generated.Tests (2)
LogMethodTests.cs (1)
950Assert.Empty(collector.LatestRecord.Message);
LogPropertiesTests.cs (1)
526Assert.Empty(latestRecord.Message);
Microsoft.Gen.Logging.Unit.Tests (9)
EmitterUtilsTests.cs (1)
45Assert.Empty(Emitter.GetLoggerMethodLogLevel(lm));
LoggingMethodParameterTests.cs (2)
17Assert.Empty(instance.ParameterName); 18Assert.Empty(instance.Type);
LoggingMethodTests.cs (3)
15Assert.Empty(instance.Name); 16Assert.Empty(instance.Message); 17Assert.Empty(instance.Modifiers);
LoggingTypeTests.cs (3)
15Assert.Empty(instance.Name); 16Assert.Empty(instance.Namespace); 17Assert.Empty(instance.Keyword);
Microsoft.Gen.Metrics.Unit.Tests (14)
MetricMethodTests.cs (4)
15Assert.Empty(instance.Modifiers); 16Assert.Empty(instance.MetricTypeModifiers); 17Assert.Empty(instance.MetricTypeName); 18Assert.Empty(instance.GenericType);
MetricParameterTests.cs (2)
15Assert.Empty(instance.Name); 16Assert.Empty(instance.Type);
MetricTypeTests.cs (5)
15Assert.Empty(instance.Name); 16Assert.Empty(instance.Namespace); 17Assert.Empty(instance.Constraints); 18Assert.Empty(instance.Modifiers); 19Assert.Empty(instance.Keyword);
StrongTypeConfigTests.cs (3)
15Assert.Empty(instance.Name); 16Assert.Empty(instance.Path); 17Assert.Empty(instance.TagName);
Microsoft.JSInterop.Tests (1)
Infrastructure\DotNetDispatcherTest.cs (1)
314Assert.Empty(ex.Message);
ServerComparison.FunctionalTests (1)
HelloWorldTest.cs (1)
158Assert.Empty(body);
WindowsBase.Tests (11)
System\Windows\Markup\Primitives\MarkupObjectTests.cs (4)
143Assert.Empty(properties[1].StringValue); 296Assert.Empty(properties[0].StringValue); 335Assert.Empty(properties[0].StringValue); 379Assert.Empty(properties[0].StringValue);
System\Windows\Markup\Primitives\MarkupPropertyTests.cs (7)
76Assert.Empty(properties[0].StringValue); 130Assert.Empty(properties[1].StringValue); 170Assert.Empty(properties[0].StringValue); 206Assert.Empty(properties[0].StringValue); 283Assert.Empty(properties[0].StringValue); 322Assert.Empty(properties[0].StringValue); 366Assert.Empty(properties[0].StringValue);