1 write to StateMachineType
Microsoft.CodeAnalysis.VisualBasic (1)
Lowering\StateMachineRewriter\StateMachineRewriter.vb (1)
56Me.StateMachineType = stateMachineType
20 references to StateMachineType
Microsoft.CodeAnalysis.VisualBasic (20)
Lowering\AsyncRewriter\AsyncRewriter.vb (6)
146Me.F.[New](StateMachineType.Constructor.AsMember(frameType)))) 164Return Me.StateMachineType.TypeSubstitution 200If StateMachineType.TypeKind = TypeKind.Class Then 201Me.F.CurrentMethod = StateMachineType.Constructor 479Me.StateMachineType.Construct(Me.Method.TypeArguments), 480Me.StateMachineType)
Lowering\IteratorRewriter\IteratorRewriter.vb (9)
188Dim resultVariable = F.SynthesizedLocal(StateMachineType) ' iteratorClass result; 229F.Assignment(F.Local(resultVariable, True), F.[New](StateMachineType.Constructor, F.Literal(0))) 241F.Field(F.Local(resultVariable, True), proxy.AsMember(StateMachineType), True), 253F.Field(F.Local(resultVariable, True), proxy.AsMember(StateMachineType), True), 302F.CurrentMethod = StateMachineType.Constructor 330F.[New](StateMachineType.Constructor.AsMember(frameType), F.Literal(initialState)))) 341Return StateMachineType.TypeSubstitution 371Me.StateMachineType.Construct(Me.Method.TypeArguments), 372Me.StateMachineType)
Lowering\StateMachineRewriter\StateMachineRewriter.vb (5)
99Me.F.OpenNestedType(Me.StateMachineType) 100Me.F.CompilationState.StateMachineImplementationClass(Me.Method) = Me.StateMachineType 127Dim frameType As NamedTypeSymbol = If(Me.Method.IsGenericMethod, Me.StateMachineType.Construct(Method.TypeArguments), Me.StateMachineType) 166Dim typeMap As TypeSubstitution = StateMachineType.TypeSubstitution