4 writes to depth
System.Runtime.Serialization (4)
System\Xml\XmlBaseWriter.cs (4)
58
this.
depth
= 0;
91
depth
= 0;
525
depth
++;
548
depth
--;
21 references to depth
System.Runtime.Serialization (21)
System\Xml\XmlBaseWriter.cs (21)
55
if (this.
depth
!= 0)
88
if (
depth
!= 0)
500
if (
depth
== 0)
501
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidDepth, "WriteEndElement",
depth
.ToString(CultureInfo.InvariantCulture))));
514
Element element = elements[
depth
];
530
else if (elements.Length ==
depth
)
532
Element[] newElementNodes = new Element[
depth
* 2];
533
Array.Copy(elements, newElementNodes,
depth
);
536
Element element = elements[
depth
];
540
elements[
depth
] = element;
547
elements[
depth
].Clear();
549
if (
depth
== 0 && documentState == DocumentState.Document)
574
if (
depth
== 0)
581
if (
depth
== 0)
588
if (
depth
== 0)
595
if (
depth
== 0)
763
while (this.
depth
> 0)
1591
this.NamespaceBoundary =
depth
+ 1;
1746
if (this.documentState == DocumentState.Document && count > 1 &&
depth
== 0)
1784
int prefixId = elements[
depth
].PrefixId++;
1785
prefix = string.Concat("d",
depth
.ToString(CultureInfo.InvariantCulture), "p", prefixId.ToString(CultureInfo.InvariantCulture));