16 overrides of HasEnumeratorCancellationAttribute
Microsoft.CodeAnalysis.CSharp (16)
Symbols\Extensions\ReceiverParameterSymbol.cs (1)
25internal override bool HasEnumeratorCancellationAttribute
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
146internal sealed override bool HasEnumeratorCancellationAttribute
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
31internal override bool HasEnumeratorCancellationAttribute => false;
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
956internal sealed override bool HasEnumeratorCancellationAttribute => throw ExceptionUtilities.Unreachable();
Symbols\NativeIntegerTypeSymbol.cs (1)
465internal override bool HasEnumeratorCancellationAttribute => _underlyingParameter.HasEnumeratorCancellationAttribute;
Symbols\ReducedExtensionMethodSymbol.cs (1)
681internal override bool HasEnumeratorCancellationAttribute => throw ExceptionUtilities.Unreachable();
Symbols\Retargeting\RetargetingParameterSymbol.cs (1)
141internal sealed override bool HasEnumeratorCancellationAttribute => _underlyingParameter.HasEnumeratorCancellationAttribute;
Symbols\SignatureOnlyParameterSymbol.cs (1)
44internal override bool HasEnumeratorCancellationAttribute { get { throw ExceptionUtilities.Unreachable(); } }
Symbols\Source\SourceClonedParameterSymbol.cs (1)
132internal sealed override bool HasEnumeratorCancellationAttribute
Symbols\Source\SourceComplexParameterSymbol.cs (1)
201internal override bool HasEnumeratorCancellationAttribute
Symbols\Source\SourceSimpleParameterSymbol.cs (1)
83internal override bool HasEnumeratorCancellationAttribute
Symbols\Source\ThisParameterSymbol.cs (1)
98internal override bool HasEnumeratorCancellationAttribute
Symbols\SubstitutedParameterSymbol.cs (1)
77internal override bool HasEnumeratorCancellationAttribute => _underlyingParameter.HasEnumeratorCancellationAttribute;
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
510internal override bool HasEnumeratorCancellationAttribute => false;
Symbols\Synthesized\SynthesizedParameterSymbol.cs (2)
328internal override bool HasEnumeratorCancellationAttribute => false; 384internal override bool HasEnumeratorCancellationAttribute => _baseParameterForAttributes?.HasEnumeratorCancellationAttribute ?? false;
10 references to HasEnumeratorCancellationAttribute
Microsoft.CodeAnalysis.CSharp (10)
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (2)
142if (_isEnumerable && this.method.Parameters.Any(static p => !p.IsExtensionParameterImplementation() && p.HasEnumeratorCancellationAttribute)) 215parameter.HasEnumeratorCancellationAttribute &&
Symbols\Extensions\ReceiverParameterSymbol.cs (1)
27get { return _underlyingParameter.HasEnumeratorCancellationAttribute; }
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
148get { return _underlyingParameter.HasEnumeratorCancellationAttribute; }
Symbols\NativeIntegerTypeSymbol.cs (1)
465internal override bool HasEnumeratorCancellationAttribute => _underlyingParameter.HasEnumeratorCancellationAttribute;
Symbols\Retargeting\RetargetingParameterSymbol.cs (1)
141internal sealed override bool HasEnumeratorCancellationAttribute => _underlyingParameter.HasEnumeratorCancellationAttribute;
Symbols\Source\SourceClonedParameterSymbol.cs (1)
134get { return _originalParam.HasEnumeratorCancellationAttribute; }
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1596var enumeratorCancellationCount = Parameters.Count(p => p.HasEnumeratorCancellationAttribute);
Symbols\SubstitutedParameterSymbol.cs (1)
77internal override bool HasEnumeratorCancellationAttribute => _underlyingParameter.HasEnumeratorCancellationAttribute;
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
384internal override bool HasEnumeratorCancellationAttribute => _baseParameterForAttributes?.HasEnumeratorCancellationAttribute ?? false;