16 instantiations of XDeclaration
Aspire.Hosting.Maui (2)
Utilities\MauiEnvironmentHelper.cs (2)
146var document = new XDocument(new XDeclaration("1.0", "utf-8", "yes"), projectElement); 301var document = new XDocument(new XDeclaration("1.0", "utf-8", "yes"), projectElement);
Microsoft.Build.Tasks.Core (1)
AssemblyDependency\GenerateBindingRedirects.cs (1)
339new XDeclaration("1.0", "utf-8", "true"),
Microsoft.NET.Build.Tasks (2)
GenerateToolsSettingsFile.cs (1)
107new XDeclaration(version: null, encoding: null, standalone: null),
WriteAppConfigWithSupportedRuntime.cs (1)
154new XDeclaration("1.0", "utf-8", "true"),
Microsoft.NET.HostModel (1)
ComHost\RegFreeComManifest.cs (1)
43XDocument manifestDocument = new XDocument(new XDeclaration("1.0", "UTF-8", "yes"), manifest);
Microsoft.NET.Sdk.StaticWebAssets.Tasks (6)
GeneratePackageAssetsTargetsFile.cs (1)
41var document = new XDocument(new XDeclaration("1.0", "utf-8", "yes"));
GenerateStaticWebAssetEndpointsPropsFile.cs (1)
62var document = new XDocument(new XDeclaration("1.0", "utf-8", "yes"));
GenerateStaticWebAssetsPropsFile.cs (1)
127var document = new XDocument(new XDeclaration("1.0", "utf-8", "yes"));
Legacy\GenerateStaticWebAssetsPropsFile50.cs (1)
80var document = new XDocument(new XDeclaration("1.0", "utf-8", "yes"));
Legacy\GenerateV1StaticWebAssetsManifest.cs (1)
37var document = new XDocument(new XDeclaration("1.0", "utf-8", "yes"));
StaticWebAssetsGeneratePackagePropsFile.cs (1)
24var document = new XDocument(new XDeclaration("1.0", "utf-8", "yes"));
NuGet.Commands (1)
RestoreCommand\Utility\BuildAssetsUtils.cs (1)
233new XDeclaration("1.0", "utf-8", "no"),
System.Private.Xml.Linq (3)
System\Xml\Linq\XDeclaration.cs (1)
75return new XDeclaration(version, encoding, standalone);
System\Xml\Linq\XDocument.cs (2)
108_declaration = new XDeclaration(other._declaration); 431d.Declaration = new XDeclaration(reader);
15 references to XDeclaration
netstandard (1)
netstandard.cs (1)
2270[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XDeclaration))]
System.Private.Xml.Linq (12)
System\Xml\Linq\XDeclaration.cs (7)
25/// Initializes a new instance of the <see cref="XDeclaration"/> class from the 46/// Initializes an instance of the <see cref="XDeclaration"/> class 47/// from another <see cref="XDeclaration"/> object. 50/// The <see cref="XDeclaration"/> used to initialize this <see cref="XDeclaration"/> object. 52public XDeclaration(XDeclaration other) 69internal static async Task<XDeclaration> CreateAsync(XmlReader r)
System\Xml\Linq\XDocument.cs (5)
29private XDeclaration? _declaration; 70/// with the specified <see cref="XDeclaration"/> and content. 90public XDocument(XDeclaration? declaration, params object?[] content) 115public XDeclaration? Declaration 479d.Declaration = await XDeclaration.CreateAsync(reader).ConfigureAwait(false);
System.Xml.Linq (1)
System.Xml.Linq.cs (1)
12[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XDeclaration))]
System.Xml.XDocument (1)
src\runtime\artifacts\obj\System.Xml.XDocument\Release\net11.0\System.Xml.XDocument.Forwards.cs (1)
11[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XDeclaration))]