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)
370CodeContext cc = (CodeContext)_codeContexts.Peek(); 561if (_codeContexts != null) 563_codeContexts.Clear(); 583Debug.Assert(_codeContexts.Count == 0); 1147CodeContext cc = (CodeContext)_codeContexts.Peek(); 1150if (_codeContexts.Count > 1 && KnownTypes.Types[(int)KnownElements.INameScope].IsAssignableFrom(cc.ElementType)) 1768CodeContext cc = (CodeContext)_codeContexts.Peek(); 1769if (_codeContexts.Count > 1 && KnownTypes.Types[(int)KnownElements.INameScope].IsAssignableFrom(cc.ElementType)) 2175if (_codeContexts.Count >= 2) 2179object[] contexts = _codeContexts.ToArray(); 2199((CodeContext)_codeContexts.Peek()).ElementType.FullName, 2207CodeContext cc = (CodeContext)_codeContexts.Peek(); 2531Debug.Assert(_codeContexts == null || _codeContexts.Count == 0, "mismatched CodeContexts"); 2994Debug.Assert(_codeContexts.Count == 0, "mismatched codecontext"); 3033CodeContext ccParent = (CodeContext)_codeContexts.Peek(); 3037_codeContexts.Push(cc); 3044CodeContext cc = (CodeContext)_codeContexts.Pop(); 3047if (_codeContexts.Count == 0) 3128Debug.Assert(_ccRoot == (_codeContexts.Peek() as CodeContextRoot)); 3153Debug.Assert(_ccRoot == (_codeContexts.Peek() as CodeContextRoot));