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