3 references to IsSourceParameterWithEnumeratorCancellationAttribute
Microsoft.CodeAnalysis.CSharp (3)
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (2)
142
if (_isEnumerable && this.method.Parameters.Any(static p => p.
IsSourceParameterWithEnumeratorCancellationAttribute
()))
214
parameter.
IsSourceParameterWithEnumeratorCancellationAttribute
() &&
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1582
var enumeratorCancellationCount = Parameters.Count(p => p.
IsSourceParameterWithEnumeratorCancellationAttribute
());