4 writes to _depth
dotnet-svcutil-lib (4)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseWriter.cs (4)
56
_depth
= 0;
87
_depth
= 0;
611
_depth
++;
634
_depth
--;
21 references to _depth
dotnet-svcutil-lib (21)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseWriter.cs (21)
53
if (
_depth
!= 0)
84
if (
_depth
!= 0)
586
if (
_depth
== 0)
587
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlInvalidDepth, "WriteEndElement",
_depth
.ToString(CultureInfo.InvariantCulture))));
600
Element element = _elements[
_depth
];
616
else if (_elements.Length ==
_depth
)
618
Element[] newElementNodes = new Element[
_depth
* 2];
619
Array.Copy(_elements, 0, newElementNodes, 0,
_depth
);
622
Element element = _elements[
_depth
];
626
_elements[
_depth
] = element;
633
_elements[
_depth
].Clear();
635
if (
_depth
== 0 && _documentState == DocumentState.Document)
665
if (
_depth
== 0)
672
if (
_depth
== 0)
679
if (
_depth
== 0)
686
if (
_depth
== 0)
693
if (
_depth
== 0)
876
while (
_depth
> 0)
1591
if (_documentState == DocumentState.Document && count > 1 &&
_depth
== 0)
1614
int prefixId = _elements[
_depth
].PrefixId++;
1615
prefix = string.Concat("d",
_depth
.ToString(CultureInfo.InvariantCulture), "p", prefixId.ToString(CultureInfo.InvariantCulture));