1 write to initialThreadIdField
Microsoft.CodeAnalysis.CSharp (1)
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
108
initialThreadIdField
= F.StateMachineField(F.SpecialType(SpecialType.System_Int32), GeneratedNames.MakeIteratorCurrentThreadIdFieldName());
5 references to initialThreadIdField
Microsoft.CodeAnalysis.CSharp (5)
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (2)
172
if (managedThreadId != null && (object)
initialThreadIdField
!= null)
175
bodyBuilder.Add(F.Assignment(F.InstanceField(
initialThreadIdField
), managedThreadId));
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
287
bodyBuilder.Add(F.Assignment(F.Field(F.This(),
initialThreadIdField
), managedThreadId));
Lowering\StateMachineRewriter\StateMachineRewriter.cs (2)
433
if ((object)
initialThreadIdField
!= null)
456
F.IntEqual(F.Field(F.This(),
initialThreadIdField
), managedThreadId)),