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)
304
var promiseType = (NamedTypeSymbol)
_promiseOfValueOrEndField
.Type;
338
var versionInit = F.Assignment(versionLocal, F.Call(F.Field(F.This(),
_promiseOfValueOrEndField
), promise_get_Version));
343
F.Call(F.Field(F.This(),
_promiseOfValueOrEndField
), promise_GetStatus, versionLocal),
346
thenClause: F.Return(F.New(valueTaskT_ctorValue, F.Call(F.Field(F.This(),
_promiseOfValueOrEndField
), promise_GetResult, versionLocal))));
377
BoundFieldAccess promiseField = F.InstanceField(
_promiseOfValueOrEndField
);
379
.SymbolAsMember((NamedTypeSymbol)
_promiseOfValueOrEndField
.Type);
401
.AsMember((NamedTypeSymbol)
_promiseOfValueOrEndField
.Type);
456
var returnStatement = F.Return(F.New(valueTask_ctor, F.This(), F.Call(F.InstanceField(
_promiseOfValueOrEndField
), promise_get_Version)));
505
.AsMember((NamedTypeSymbol)
_promiseOfValueOrEndField
.Type);
512
F.Call(F.InstanceField(
_promiseOfValueOrEndField
), promise_GetResult, F.Parameter(IValueTaskSourceOfBool_GetResult.Parameters[0]))));
530
.AsMember((NamedTypeSymbol)
_promiseOfValueOrEndField
.Type);
537
F.Call(F.InstanceField(
_promiseOfValueOrEndField
), promise_GetStatus, F.Parameter(IValueTaskSourceOfBool_GetStatus.Parameters[0]))));
556
.AsMember((NamedTypeSymbol)
_promiseOfValueOrEndField
.Type);
564
F.Call(F.InstanceField(
_promiseOfValueOrEndField
), promise_OnCompleted,
583
.AsMember((NamedTypeSymbol)
_promiseOfValueOrEndField
.Type);
590
F.ExpressionStatement(F.Call(F.InstanceField(
_promiseOfValueOrEndField
), promise_GetResult, F.Parameter(IValueTaskSource_GetResult.Parameters[0]))),
607
.AsMember((NamedTypeSymbol)
_promiseOfValueOrEndField
.Type);
614
F.Call(F.InstanceField(
_promiseOfValueOrEndField
), promise_GetStatus, F.Parameter(IValueTaskSource_GetStatus.Parameters[0]))));
629
.AsMember((NamedTypeSymbol)
_promiseOfValueOrEndField
.Type);
637
F.Call(F.InstanceField(
_promiseOfValueOrEndField
), promise_OnCompleted,
686
setResultMethod = (MethodSymbol)setResultMethod.SymbolAsMember((NamedTypeSymbol)
_promiseOfValueOrEndField
.Type);
692
setExceptionMethod = (MethodSymbol)setExceptionMethod.SymbolAsMember((NamedTypeSymbol)
_promiseOfValueOrEndField
.Type);
699
asyncIteratorInfo: new AsyncIteratorInfo(
_promiseOfValueOrEndField
, _combinedTokensField, _currentField, _disposeModeField, setResultMethod, setExceptionMethod),