1 write to _isEnumerable
Microsoft.CodeAnalysis.CSharp (1)
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (1)
47_isEnumerable = method.IsAsyncReturningIAsyncEnumerable(method.DeclaringCompilation);
6 references to _isEnumerable
Microsoft.CodeAnalysis.CSharp (6)
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (6)
48Debug.Assert(_isEnumerable != method.IsAsyncReturningIAsyncEnumerator(method.DeclaringCompilation)); 55if (_isEnumerable) 94if (_isEnumerable) 119=> _isEnumerable; 142if (_isEnumerable && this.method.Parameters.Any(static p => p.IsSourceParameterWithEnumeratorCancellationAttribute())) 203var initialState = _isEnumerable ? StateMachineState.FinishedState : StateMachineState.InitialAsyncIteratorState;