2 writes to instanceIdField
Microsoft.CodeAnalysis.CSharp (2)
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
147instanceIdField = F.StateMachineField(F.SpecialType(SpecialType.System_UInt64), GeneratedNames.MakeStateMachineStateIdFieldName(), isPublic: true);
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
182instanceIdField = F.StateMachineField(F.SpecialType(SpecialType.System_UInt64), GeneratedNames.MakeStateMachineStateIdFieldName());
9 references to instanceIdField
Microsoft.CodeAnalysis.CSharp (9)
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (3)
178if (instanceIdField is not null && 182bodyBuilder.Add(F.Assignment(F.InstanceField(instanceIdField), F.Call(receiver: null, getId))); 703instanceIdField: instanceIdField,
Lowering\AsyncRewriter\AsyncRewriter.cs (3)
245if (instanceIdField is not null && 250F.Field(F.Local(stateMachineVariable), instanceIdField.AsMember(frameType)), 286instanceIdField: instanceIdField,
Lowering\IteratorRewriter\IteratorRewriter.cs (3)
290if (instanceIdField is not null && 293bodyBuilder.Add(F.Assignment(F.InstanceField(instanceIdField), F.Call(receiver: null, getId))); 335instanceIdField,