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)
373CodeContext cc = (CodeContext)_codeContexts.Peek(); 563if (_codeContexts != null) 565_codeContexts.Clear(); 585Debug.Assert(_codeContexts.Count == 0); 1157CodeContext cc = (CodeContext)_codeContexts.Peek(); 1160if (_codeContexts.Count > 1 && KnownTypes.Types[(int)KnownElements.INameScope].IsAssignableFrom(cc.ElementType)) 1718CodeContext cc = (CodeContext)_codeContexts.Peek(); 1719if (_codeContexts.Count > 1 && KnownTypes.Types[(int)KnownElements.INameScope].IsAssignableFrom(cc.ElementType)) 2127if (_codeContexts.Count >= 2) 2131object[] contexts = _codeContexts.ToArray(); 2151((CodeContext)_codeContexts.Peek()).ElementType.FullName, 2159CodeContext cc = (CodeContext)_codeContexts.Peek(); 2483Debug.Assert(_codeContexts == null || _codeContexts.Count == 0, "mismatched CodeContexts"); 2923Debug.Assert(_codeContexts.Count == 0, "mismatched codecontext"); 2962CodeContext ccParent = (CodeContext)_codeContexts.Peek(); 2966_codeContexts.Push(cc); 2973CodeContext cc = (CodeContext)_codeContexts.Pop(); 2976if (_codeContexts.Count == 0) 3057Debug.Assert(_ccRoot == (_codeContexts.Peek() as CodeContextRoot)); 3082Debug.Assert(_ccRoot == (_codeContexts.Peek() as CodeContextRoot));