1 write to _promiseOfValueOrEndField
Microsoft.CodeAnalysis.CSharp (1)
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (1)
129_promiseOfValueOrEndField = F.StateMachineField(
23 references to _promiseOfValueOrEndField
Microsoft.CodeAnalysis.CSharp (23)
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (23)
304var promiseType = (NamedTypeSymbol)_promiseOfValueOrEndField.Type; 338var versionInit = F.Assignment(versionLocal, F.Call(F.Field(F.This(), _promiseOfValueOrEndField), promise_get_Version)); 343F.Call(F.Field(F.This(), _promiseOfValueOrEndField), promise_GetStatus, versionLocal), 346thenClause: F.Return(F.New(valueTaskT_ctorValue, F.Call(F.Field(F.This(), _promiseOfValueOrEndField), promise_GetResult, versionLocal)))); 377BoundFieldAccess promiseField = F.InstanceField(_promiseOfValueOrEndField); 379.SymbolAsMember((NamedTypeSymbol)_promiseOfValueOrEndField.Type); 401.AsMember((NamedTypeSymbol)_promiseOfValueOrEndField.Type); 456var returnStatement = F.Return(F.New(valueTask_ctor, F.This(), F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_get_Version))); 505.AsMember((NamedTypeSymbol)_promiseOfValueOrEndField.Type); 512F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_GetResult, F.Parameter(IValueTaskSourceOfBool_GetResult.Parameters[0])))); 530.AsMember((NamedTypeSymbol)_promiseOfValueOrEndField.Type); 537F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_GetStatus, F.Parameter(IValueTaskSourceOfBool_GetStatus.Parameters[0])))); 556.AsMember((NamedTypeSymbol)_promiseOfValueOrEndField.Type); 564F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_OnCompleted, 583.AsMember((NamedTypeSymbol)_promiseOfValueOrEndField.Type); 590F.ExpressionStatement(F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_GetResult, F.Parameter(IValueTaskSource_GetResult.Parameters[0]))), 607.AsMember((NamedTypeSymbol)_promiseOfValueOrEndField.Type); 614F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_GetStatus, F.Parameter(IValueTaskSource_GetStatus.Parameters[0])))); 629.AsMember((NamedTypeSymbol)_promiseOfValueOrEndField.Type); 637F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_OnCompleted, 686setResultMethod = (MethodSymbol)setResultMethod.SymbolAsMember((NamedTypeSymbol)_promiseOfValueOrEndField.Type); 692setExceptionMethod = (MethodSymbol)setExceptionMethod.SymbolAsMember((NamedTypeSymbol)_promiseOfValueOrEndField.Type); 699asyncIteratorInfo: new AsyncIteratorInfo(_promiseOfValueOrEndField, _combinedTokensField, _currentField, _disposeModeField, setResultMethod, setExceptionMethod),