1 write to threads
System.Activities (1)
System\Activities\Debugger\StateManager.cs (1)
65
this.
threads
= new List<LogicalThread>();
16 references to threads
System.Activities (16)
System\Activities\Debugger\StateManager.cs (16)
142
for (int i = 1; i < this.
threads
.Count; ++i)
144
if (this.
threads
[i] == null)
146
this.
threads
[i] = new LogicalThread(i, threadName, this);
155
threadId = this.
threads
.Count;
156
this.
threads
.Add(new LogicalThread(threadId, threadName, this));
194
Fx.Assert(threadIndex < this.
threads
.Count, "Index out of range for thread");
195
Fx.Assert(this.
threads
[threadIndex] != null, "LogicalThread is null");
196
this.
threads
[threadIndex].EnterState(stackFrame);
202
Fx.Assert(threadIndex < this.
threads
.Count, "Index out of range for thread");
203
Fx.Assert(this.
threads
[threadIndex] != null, "LogicalThread is null");
204
this.
threads
[threadIndex].LeaveState(state);
267
foreach (LogicalThread logicalThread in this.
threads
)
274
this.
threads
.Clear();
283
Fx.Assert(this.
threads
[threadIndex] != null, "Cannot dispose null LogicalThread");
284
LogicalThread thread = this.
threads
[threadIndex];
288
this.
threads
[threadIndex] = null;