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