21 instantiations of XDeclaration
Microsoft.Build.Tasks.Core (1)
AssemblyDependency\GenerateBindingRedirects.cs (1)
334new XDeclaration("1.0", "utf-8", "true"),
Microsoft.Extensions.FileProviders.Embedded.Tests (1)
TestAssembly.cs (1)
33new XDeclaration("1.0", "utf-8", "yes"),
Microsoft.NET.Build.Tasks (2)
GenerateToolsSettingsFile.cs (1)
103new XDeclaration(version: null, encoding: null, standalone: null),
WriteAppConfigWithSupportedRuntime.cs (1)
154new XDeclaration("1.0", "utf-8", "true"),
Microsoft.NET.Build.Tasks.UnitTests (7)
GivenWriteAppConfigWithSupportedRuntimeTask.cs (7)
19new XDeclaration("1.0", "utf-8", "true"), 35new XDeclaration("1.0", "utf-8", "true"), 51new XDeclaration("1.0", "utf-8", "true"), 82new XDeclaration("1.0", "utf-8", "true"), 114new XDeclaration("1.0", "utf-8", "true"), 139new XDeclaration("1.0", "utf-8", "true"), 165new XDeclaration("1.0", "utf-8", "true"),
Microsoft.NET.Build.Tests (2)
GivenThatWeWantToBuildADesktopExe.cs (2)
837new XDeclaration("1.0", "utf-8", "true"), 861new XDeclaration("1.0", "utf-8", "true"),
Microsoft.NET.Sdk.StaticWebAssets.Tasks (5)
GenerateStaticWebAssetEndpointsPropsFile.cs (1)
62var document = new XDocument(new XDeclaration("1.0", "utf-8", "yes"));
GenerateStaticWebAssetsPropsFile.cs (1)
93var 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"));
Microsoft.VisualStudio.LanguageServices (1)
Snippets\SnippetExpansionClient.cs (1)
684new XDeclaration("1.0", "utf-8", null),
System.Private.Xml.Linq (2)
System\Xml\Linq\XDocument.cs (2)
108_declaration = new XDeclaration(other._declaration); 501d.Declaration = new XDeclaration(reader);
17 references to XDeclaration
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
XmlAssert.cs (2)
38private static bool EqualDeclarations(XDeclaration expected, XDeclaration actual)
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
src\Mvc\Mvc.Formatters.Xml\test\XmlAssert.cs (2)
38private static bool EqualDeclarations(XDeclaration expected, XDeclaration actual)
netstandard (1)
netstandard.cs (1)
2270[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XDeclaration))]
System.Private.Xml.Linq (10)
System\Xml\Linq\XDeclaration.cs (6)
24/// Initializes a new instance of the <see cref="XDeclaration"/> class from the 45/// Initializes an instance of the <see cref="XDeclaration"/> class 46/// from another <see cref="XDeclaration"/> object. 49/// The <see cref="XDeclaration"/> used to initialize this <see cref="XDeclaration"/> object. 51public XDeclaration(XDeclaration other)
System\Xml\Linq\XDocument.cs (4)
29private XDeclaration? _declaration; 70/// with the specified <see cref="XDeclaration"/> and content. 90public XDocument(XDeclaration? declaration, params object?[] content) 115public XDeclaration? Declaration
System.Xml.Linq (1)
System.Xml.Linq.cs (1)
12[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XDeclaration))]
System.Xml.XDocument (1)
artifacts\obj\System.Xml.XDocument\Debug\net10.0\System.Xml.XDocument.Forwards.cs (1)
11[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XDeclaration))]