323 references to XElement
Aspire.Hosting.Maui (6)
CustomEncryptorSample (1)
dotnet-svcutil-lib (6)
Shared\MSBuildProj.cs (6)
541this.ReferenceGroup.Add(new XElement("Reference", new XAttribute("Include", dependency.AssemblyName), new XElement("HintPath", dependency.FullPath)));
544this.PacakgeReferenceGroup.Add(new XElement("PackageReference", new XAttribute("Include", dependency.Name), new XAttribute("Version", dependency.Version)));
547this.ReferenceGroup.Add(new XElement("DotNetCliToolReference", new XAttribute("Include", dependency.Name), new XAttribute("Version", dependency.Version)));
561this.ReferenceGroup.Add(new XElement("Content",
571this.PacakgeReferenceGroup.Add(new XElement("Content",
598XElement element = new XElement(propertyName, null);
EndToEnd.Tests (2)
IIS.LongTests (2)
IIS.NewHandler.FunctionalTests (2)
IIS.NewShim.FunctionalTests (2)
IISExpress.FunctionalTests (2)
illink (3)
Metrics (5)
Metrics.Legacy (5)
Microsoft.AspNetCore.App.Analyzers.Test (2)
Microsoft.AspNetCore.Authentication.Test (4)
Microsoft.AspNetCore.DataProtection (16)
Microsoft.AspNetCore.Identity.InMemory.Test (2)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
Microsoft.Build.Tasks.Core (5)
Microsoft.Cci.Extensions (2)
Microsoft.CodeAnalysis.Analyzers (5)
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
Microsoft.CodeAnalysis.BannedApiAnalyzers (5)
Microsoft.CodeAnalysis.CodeStyle (5)
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (8)
EmbeddedLanguages\RegularExpressions\CSharpRegexParserTests.cs (4)
187element.Add(new XElement("Captures",
189new XElement("Capture", new XAttribute("Name", kvp.Key), new XAttribute("Span", kvp.Value), GetTextAttribute(text, kvp.Value))),
191new XElement("Capture", new XAttribute("Name", kvp.Key), new XAttribute("Span", kvp.Value), GetTextAttribute(text, kvp.Value)))));
199new XElement("Diagnostic",
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (5)
Microsoft.CodeAnalysis.PublicApiAnalyzers (5)
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
Microsoft.CodeAnalysis.SemanticSearch.Extensions (1)
Microsoft.CodeAnalysis.Test.Utilities (4)
Microsoft.CodeAnalysis.Workspaces (5)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (4)
Microsoft.DotNet.Build.Manifest (4)
Microsoft.DotNet.Build.Tasks.Installers (2)
Microsoft.DotNet.Build.Tasks.Workloads (4)
Msi\WorkloadPackGroupMsi.wix.cs (3)
105registryKeyElement.Add(new XElement(ns + "RegistryKey", new XAttribute("Key", pack.Id),
106new XElement(ns + "RegistryKey", new XAttribute("Key", pack.PackageVersion),
107new XElement(ns + "RegistryValue", new XAttribute("Value", ""), new XAttribute("Type", "string")))));
Microsoft.DotNet.PackageTesting (5)
Microsoft.DotNet.SharedFramework.Sdk (7)
Microsoft.DotNet.SourceBuild.Tasks (5)
Microsoft.DotNet.XliffTasks (4)
Microsoft.DotNet.XliffTasks.Tests (7)
Microsoft.Extensions.FileProviders.Embedded.Tests (3)
Microsoft.ML.Maml (2)
Microsoft.NET.Build.Tasks (2)
Microsoft.NET.Build.Tasks.UnitTests (1)
Microsoft.NET.Build.Tests (66)
GivenThatWeWantToBuildAComServerLibrary.cs (8)
175new XElement("ItemGroup",
196new XElement("ItemGroup",
197new XElement("ComHostTypeLibrary", new XAttribute("Include", "dummy1.tlb"), new XAttribute("Id", 1)),
198new XElement("ComHostTypeLibrary", new XAttribute("Include", "dummy2.tlb"), new XAttribute("Id", 1)))));
222new XElement("ComHostTypeLibrary", new XAttribute("Include", "dummy1.tlb"), new XAttribute("Id", id)))));
241new XElement("ItemGroup",
242new XElement("ComHostTypeLibrary", new XAttribute("Include", "dummy1.tlb"), new XAttribute("Id", 1)),
243new XElement("ComHostTypeLibrary", new XAttribute("Include", "dummy2.tlb"), new XAttribute("Id", 2)))));
Microsoft.NET.Pack.Tests (2)
Microsoft.NET.Publish.Tests (23)
Microsoft.NET.Restore.Tests (4)
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (2)
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (4)
Microsoft.NET.Sdk.Publish.Tasks (1)
Microsoft.NET.Sdk.Publish.Tasks.Tests (1)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (5)
Microsoft.NET.Sdk.StaticWebAssets.Tests (8)
Microsoft.NET.TestFramework (10)
Microsoft.NET.ToolPack.Tests (1)
Microsoft.VisualStudio.LanguageServices (7)
Microsoft.VisualStudio.LanguageServices.Implementation (2)
Roslyn.Diagnostics.Analyzers (5)
Text.Analyzers (5)
XmlFileLogger (5)