2 writes to _codeContexts
PresentationBuildTasks (2)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (2)
512
_codeContexts
= new Stack();
564
_codeContexts
= null;
21 references to _codeContexts
PresentationBuildTasks (21)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (21)
370
CodeContext cc = (CodeContext)
_codeContexts
.Peek();
561
if (
_codeContexts
!= null)
563
_codeContexts
.Clear();
583
Debug.Assert(
_codeContexts
.Count == 0);
1147
CodeContext cc = (CodeContext)
_codeContexts
.Peek();
1150
if (
_codeContexts
.Count > 1 && KnownTypes.Types[(int)KnownElements.INameScope].IsAssignableFrom(cc.ElementType))
1768
CodeContext cc = (CodeContext)
_codeContexts
.Peek();
1769
if (
_codeContexts
.Count > 1 && KnownTypes.Types[(int)KnownElements.INameScope].IsAssignableFrom(cc.ElementType))
2175
if (
_codeContexts
.Count >= 2)
2179
object[] contexts =
_codeContexts
.ToArray();
2199
((CodeContext)
_codeContexts
.Peek()).ElementType.FullName,
2207
CodeContext cc = (CodeContext)
_codeContexts
.Peek();
2531
Debug.Assert(
_codeContexts
== null ||
_codeContexts
.Count == 0, "mismatched CodeContexts");
2994
Debug.Assert(
_codeContexts
.Count == 0, "mismatched codecontext");
3033
CodeContext ccParent = (CodeContext)
_codeContexts
.Peek();
3037
_codeContexts
.Push(cc);
3044
CodeContext cc = (CodeContext)
_codeContexts
.Pop();
3047
if (
_codeContexts
.Count == 0)
3128
Debug.Assert(_ccRoot == (
_codeContexts
.Peek() as CodeContextRoot));
3153
Debug.Assert(_ccRoot == (
_codeContexts
.Peek() as CodeContextRoot));