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