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