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