2 writes to _codeContexts
PresentationBuildTasks (2)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (2)
514
_codeContexts
= new Stack();
566
_codeContexts
= null;
21 references to _codeContexts
PresentationBuildTasks (21)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (21)
373
CodeContext cc = (CodeContext)
_codeContexts
.Peek();
563
if (
_codeContexts
!= null)
565
_codeContexts
.Clear();
585
Debug.Assert(
_codeContexts
.Count == 0);
1157
CodeContext cc = (CodeContext)
_codeContexts
.Peek();
1160
if (
_codeContexts
.Count > 1 && KnownTypes.Types[(int)KnownElements.INameScope].IsAssignableFrom(cc.ElementType))
1718
CodeContext cc = (CodeContext)
_codeContexts
.Peek();
1719
if (
_codeContexts
.Count > 1 && KnownTypes.Types[(int)KnownElements.INameScope].IsAssignableFrom(cc.ElementType))
2127
if (
_codeContexts
.Count >= 2)
2131
object[] contexts =
_codeContexts
.ToArray();
2151
((CodeContext)
_codeContexts
.Peek()).ElementType.FullName,
2159
CodeContext cc = (CodeContext)
_codeContexts
.Peek();
2483
Debug.Assert(
_codeContexts
== null ||
_codeContexts
.Count == 0, "mismatched CodeContexts");
2923
Debug.Assert(
_codeContexts
.Count == 0, "mismatched codecontext");
2962
CodeContext ccParent = (CodeContext)
_codeContexts
.Peek();
2966
_codeContexts
.Push(cc);
2973
CodeContext cc = (CodeContext)
_codeContexts
.Pop();
2976
if (
_codeContexts
.Count == 0)
3057
Debug.Assert(_ccRoot == (
_codeContexts
.Peek() as CodeContextRoot));
3082
Debug.Assert(_ccRoot == (
_codeContexts
.Peek() as CodeContextRoot));