2 writes to StateField
Microsoft.CodeAnalysis.VisualBasic (2)
Lowering\AsyncRewriter\AsyncRewriter.vb (1)
136
Me.
StateField
= Me.F.StateMachineField(Me.F.SpecialType(SpecialType.System_Int32), Me.Method, GeneratedNames.MakeStateMachineStateFieldName(), Accessibility.Public)
Lowering\IteratorRewriter\IteratorRewriter.vb (1)
139
Me.
StateField
= Me.F.StateMachineField(Me.F.SpecialType(SpecialType.System_Int32), Me.Method, GeneratedNames.MakeStateMachineStateFieldName(), Accessibility.Public)
6 references to StateField
Microsoft.CodeAnalysis.VisualBasic (6)
Lowering\AsyncRewriter\AsyncRewriter.vb (2)
214
Me.
StateField
.AsMember(frameType), True)
258
state:=
StateField
,
Lowering\IteratorRewriter\IteratorRewriter.vb (4)
218
F.IntEqual(F.Field(F.Me,
StateField
, False), F.Literal(StateMachineState.FinishedState)),
222
F.Assignment(F.Field(F.Me,
StateField
, True), F.Literal(StateMachineState.FirstUnusedState)),
305
bodyBuilder.Add(F.Assignment(F.Field(F.Me,
StateField
, True), F.Parameter(F.CurrentMethod.Parameters(0)).MakeRValue)) ' this.state = state
348
state:=
StateField
,