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)
141stateField = F.StateMachineField(F.SpecialType(SpecialType.System_Int32), GeneratedNames.MakeStateMachineStateFieldName(), isPublic: true); 142_builderField = F.StateMachineField(_asyncMethodBuilderMemberCollection.BuilderType, GeneratedNames.AsyncBuilderFieldName(), isPublic: true); 147instanceIdField = F.StateMachineField(F.SpecialType(SpecialType.System_UInt64), GeneratedNames.MakeStateMachineStateIdFieldName(), isPublic: true);
Lowering\IteratorRewriter\IteratorRewriter.cs (2)
177stateField = F.StateMachineField(F.SpecialType(SpecialType.System_Int32), GeneratedNames.MakeStateMachineStateFieldName()); 182instanceIdField = F.StateMachineField(F.SpecialType(SpecialType.System_UInt64), GeneratedNames.MakeStateMachineStateIdFieldName());
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
472return F.StateMachineField(type, GeneratedNames.ReusableHoistedLocalFieldName(slotIndex));
Lowering\StateMachineRewriter\StateMachineRewriter.cs (5)
108initialThreadIdField = F.StateMachineField(F.SpecialType(SpecialType.System_Int32), GeneratedNames.MakeIteratorCurrentThreadIdFieldName()); 237var proxyField = F.StateMachineField(containingType, GeneratedNames.ThisProxyFieldName(), isPublic: true, isThis: true); 243F.StateMachineField(containingType, GeneratedNames.StateMachineThisParameterProxyName(), isPublic: true, isThis: true) : proxyField; 252var proxyField = F.StateMachineField(typeMap.SubstituteType(parameter.Type).Type, parameter.Name, isPublic: !PreserveInitialParameterValuesAndThreadId); 257var field = F.StateMachineField(typeMap.SubstituteType(parameter.Type).Type, GeneratedNames.StateMachineParameterProxyFieldName(parameter.Name), isPublic: true);