216 references to Descendants
aspire (2)
dotnet.Tests (4)
dotnet-svcutil-lib (1)
IIS.FunctionalTests (5)
IIS.LongTests (11)
IIS.NewHandler.FunctionalTests (11)
IIS.NewShim.FunctionalTests (11)
IIS.ShadowCopy.Tests (1)
IISExpress.FunctionalTests (15)
Microsoft.AspNetCore.Authentication.Test (2)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.OpenApi.SourceGenerators (7)
Microsoft.AspNetCore.Rewrite (4)
Microsoft.AspNetCore.Rewrite.Tests (1)
Microsoft.AspNetCore.Server.IntegrationTesting (2)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (11)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
Microsoft.DotNet.Arcade.Sdk (1)
Microsoft.DotNet.Build.Tasks.Packaging (1)
Microsoft.DotNet.Build.Tasks.Workloads (2)
Microsoft.DotNet.NuGetRepack.Tasks (1)
Microsoft.DotNet.SignTool.Tests (1)
Microsoft.DotNet.SourceBuild.Tasks (1)
Microsoft.DotNet.XliffTasks (8)
Microsoft.NET.Build.Tests (5)
Microsoft.NET.Pack.Tests (2)
Microsoft.NET.Sdk.BlazorWebAssembly.AoT.Tests (2)
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (11)
Microsoft.NET.Sdk.Publish.Tasks (2)
Microsoft.NET.Sdk.Publish.Tasks.Tests (40)
WebConfigTransformTests.cs (30)
55input.Descendants(elementName).Remove();
74input.Descendants(elementName).Single().SetAttributeValue(attributeName, attributeValue);
77Assert.Equal(attributeValue, (string)output.Descendants(elementName).Single().Attribute(attributeName));
89input.Descendants(elementName).Single().SetAttributeValue(attributeName, attributeValue);
102Assert.Equal(attributeValue, (string)output.Descendants(elementName).Single().Attribute(attributeName));
111Assert.Equal(attributeValue, (string)output.Descendants(elementName).Single().Attribute(attributeName));
121Assert.Equal("AspNetCoreModule", (string)output.Descendants(elementName).Single().Attribute(attributeName));
133Assert.Equal(attributeValue, (string)output.Descendants(elementName).Single().Attribute(attributeName));
157Assert.Equal(attributeValue, (string)output.Descendants(elementName).Single().Attribute(attributeName));
176Assert.Null((string)output.Descendants(elementName).Single().Attribute(attributeName));
194Assert.Equal("Staging", (string)output.Descendants("environmentVariable").Single().Attribute("value"));
228.Descendants("aspNetCore").Single().Attribute("processPath");
237input.Descendants("add").Single().SetAttributeValue("name", "aspnetcore");
250input.Descendants("aspNetCore").Single().Add(envVarElement);
254.Descendants("environmentVariable").SingleOrDefault(e => (string)e.Attribute("name") == "ENVVAR")));
258Assert.Equal("Test", (string)output.Descendants("environmentVariable").SingleOrDefault(e => (string)e.Attribute("name") == "ASPNETCORE_ENVIRONMENT").Attribute("value"));
265input.Descendants("aspNetCore").Attributes("stdoutLogEnabled").Remove();
281var aspNetCoreElement = input.Descendants("aspNetCore").Single();
301var aspNetCoreElement = input.Descendants("aspNetCore").Single();
307input.Descendants("aspNetCore").Single().SetAttributeValue("stdoutLogEnabled", stdoutLogEnabledValue);
320input.Descendants("aspNetCore").Attributes().Remove();
323.Descendants("aspNetCore").Single();
340(string)output.Descendants("aspNetCore").Single().Attribute("stdoutLogFile"));
348.Descendants("aspNetCore").Single();
361.Descendants("aspNetCore").Single();
391input.Descendants("aspNetCore").Single().SetAttributeValue("arguments", inputArguments);
395.Descendants("aspNetCore").Single();
417input.Descendants("aspNetCore").Single().SetAttributeValue("arguments", inputArguments);
421.Descendants("aspNetCore").Single();
432input.Descendants(elementName).Remove();
 
Microsoft.NET.Sdk.StaticWebAssets.Tests (36)
Microsoft.NET.TestFramework (2)
Microsoft.VisualStudio.LanguageServices.Implementation (1)
System.ComponentModel.TypeConverter (1)
System.Private.CoreLib.Generators (1)
Text.Analyzers (1)