5 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.VisualStudio.LanguageServices (1)
Snippets\SnippetExpansionClient.cs (1)
686new 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))]