3 writes to _declaration
System.Private.Xml.Linq (3)
System\Xml\Linq\XDocument.cs (3)
93
_declaration
= declaration;
108
_declaration
= new XDeclaration(other._declaration);
118
set {
_declaration
= value; }
20 references to _declaration
System.Private.Xml.Linq (20)
System\Xml\Linq\XDocument.cs (20)
106
if (other.
_declaration
!= null)
108
_declaration = new XDeclaration(other.
_declaration
);
117
get { return
_declaration
; }
600
if (
_declaration
!= null && !string.IsNullOrEmpty(
_declaration
.Encoding))
604
ws.Encoding = Encoding.GetEncoding(
_declaration
.Encoding);
633
if (
_declaration
!= null && !string.IsNullOrEmpty(
_declaration
.Encoding))
637
ws.Encoding = Encoding.GetEncoding(
_declaration
.Encoding);
777
if (
_declaration
!= null && !string.IsNullOrEmpty(
_declaration
.Encoding))
781
ws.Encoding = Encoding.GetEncoding(
_declaration
.Encoding);
807
if (
_declaration
!= null &&
_declaration
.Standalone == "yes")
811
else if (
_declaration
!= null &&
_declaration
.Standalone == "no")
845
if (
_declaration
!= null &&
_declaration
.Standalone == "yes")
849
else if (
_declaration
!= null &&
_declaration
.Standalone == "no")