1 write to _elementScopesStack
System.Private.Xml (1)
System\Xml\Xsl\XsltOld\OutputScopeManager.cs (1)
50
_elementScopesStack
= new HWStack(STACK_INCREMENT);
14 references to _elementScopesStack
System.Private.Xml (14)
System\Xml\Xsl\XsltOld\OutputScopeManager.cs (14)
30
Debug.Assert(
_elementScopesStack
.Peek() != null); // We adding rootElementScope to garantee this
31
return (OutputScope)
_elementScopesStack
.Peek()!;
57
OutputScope rootElementScope = (OutputScope)
_elementScopesStack
.Push();
61
_elementScopesStack
.AddToTop(rootElementScope);
84
OutputScope elementScope = (OutputScope)
_elementScopesStack
.Push();
89
_elementScopesStack
.AddToTop(elementScope);
98
OutputScope? elementScope = (OutputScope?)
_elementScopesStack
.Pop();
133
for (int i =
_elementScopesStack
.Length - 1; i >= 0; i--)
135
Debug.Assert(
_elementScopesStack
[i] is OutputScope);
136
OutputScope elementScope = (OutputScope)
_elementScopesStack
[i];
141
thisScope = (i ==
_elementScopesStack
.Length - 1);
153
for (int i =
_elementScopesStack
.Length - 1; 0 <= i; i--)
155
Debug.Assert(
_elementScopesStack
[i] is OutputScope);
157
OutputScope elementScope = (OutputScope)
_elementScopesStack
[i];