2 writes to contextStack
System (2)
compmod\system\componentmodel\design\serialization\ContextStack.cs (2)
101contextStack = new ArrayList(); 131contextStack = new ArrayList();
20 references to contextStack
System (20)
compmod\system\componentmodel\design\serialization\ContextStack.cs (20)
40if (contextStack != null && contextStack.Count > 0) { 41return contextStack[contextStack.Count - 1]; 56if (contextStack != null && level < contextStack.Count) { 57return contextStack[contextStack.Count - 1 - level]; 74if (contextStack != null) { 75int level = contextStack.Count; 77object value = contextStack[--level]; 100if (contextStack == null) { 103contextStack.Insert(0, context); 113if (contextStack != null && contextStack.Count > 0) { 114int idx = contextStack.Count - 1; 115context = contextStack[idx]; 116contextStack.RemoveAt(idx); 130if (contextStack == null) { 133contextStack.Add(context);