15 references to StateMachineField
Microsoft.CodeAnalysis.CSharp (15)
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (4)
129
_promiseOfValueOrEndField = F.
StateMachineField
(
137
_currentField = F.
StateMachineField
(elementType, GeneratedNames.MakeIteratorCurrentFieldName());
140
_disposeModeField = F.
StateMachineField
(boolType, GeneratedNames.MakeDisposeModeFieldName());
145
_combinedTokensField = F.
StateMachineField
(
Lowering\AsyncRewriter\AsyncRewriter.cs (3)
141
stateField = F.
StateMachineField
(F.SpecialType(SpecialType.System_Int32), GeneratedNames.MakeStateMachineStateFieldName(), isPublic: true);
142
_builderField = F.
StateMachineField
(_asyncMethodBuilderMemberCollection.BuilderType, GeneratedNames.AsyncBuilderFieldName(), isPublic: true);
147
instanceIdField = F.
StateMachineField
(F.SpecialType(SpecialType.System_UInt64), GeneratedNames.MakeStateMachineStateIdFieldName(), isPublic: true);
Lowering\IteratorRewriter\IteratorRewriter.cs (2)
177
stateField = F.
StateMachineField
(F.SpecialType(SpecialType.System_Int32), GeneratedNames.MakeStateMachineStateFieldName());
182
instanceIdField = F.
StateMachineField
(F.SpecialType(SpecialType.System_UInt64), GeneratedNames.MakeStateMachineStateIdFieldName());
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
472
return F.
StateMachineField
(type, GeneratedNames.ReusableHoistedLocalFieldName(slotIndex));
Lowering\StateMachineRewriter\StateMachineRewriter.cs (5)
108
initialThreadIdField = F.
StateMachineField
(F.SpecialType(SpecialType.System_Int32), GeneratedNames.MakeIteratorCurrentThreadIdFieldName());
237
var proxyField = F.
StateMachineField
(containingType, GeneratedNames.ThisProxyFieldName(), isPublic: true, isThis: true);
243
F.
StateMachineField
(containingType, GeneratedNames.StateMachineThisParameterProxyName(), isPublic: true, isThis: true) : proxyField;
252
var proxyField = F.
StateMachineField
(typeMap.SubstituteType(parameter.Type).Type, parameter.Name, isPublic: !PreserveInitialParameterValuesAndThreadId);
257
var field = F.
StateMachineField
(typeMap.SubstituteType(parameter.Type).Type, GeneratedNames.StateMachineParameterProxyFieldName(parameter.Name), isPublic: true);