17 overrides of HasEnumeratorCancellationAttribute
Microsoft.CodeAnalysis.CSharp (17)
Symbols\Extensions\ReceiverParameterSymbol.cs (1)
27
internal override bool
HasEnumeratorCancellationAttribute
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
159
internal sealed override bool
HasEnumeratorCancellationAttribute
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
31
internal override bool
HasEnumeratorCancellationAttribute
=> false;
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
969
internal sealed override bool
HasEnumeratorCancellationAttribute
=> throw ExceptionUtilities.Unreachable();
Symbols\NativeIntegerTypeSymbol.cs (1)
469
internal override bool
HasEnumeratorCancellationAttribute
=> _underlyingParameter.HasEnumeratorCancellationAttribute;
Symbols\ReducedExtensionMethodSymbol.cs (1)
684
internal override bool
HasEnumeratorCancellationAttribute
=> throw ExceptionUtilities.Unreachable();
Symbols\Retargeting\RetargetingParameterSymbol.cs (1)
142
internal sealed override bool
HasEnumeratorCancellationAttribute
=> _underlyingParameter.HasEnumeratorCancellationAttribute;
Symbols\SignatureOnlyParameterSymbol.cs (1)
44
internal override bool
HasEnumeratorCancellationAttribute
{ get { throw ExceptionUtilities.Unreachable(); } }
Symbols\Source\SourceClonedParameterSymbol.cs (1)
132
internal sealed override bool
HasEnumeratorCancellationAttribute
Symbols\Source\SourceComplexParameterSymbol.cs (1)
201
internal override bool
HasEnumeratorCancellationAttribute
Symbols\Source\SourceSimpleParameterSymbol.cs (1)
83
internal override bool
HasEnumeratorCancellationAttribute
Symbols\Source\ThisParameterSymbol.cs (1)
98
internal override bool
HasEnumeratorCancellationAttribute
Symbols\SubstitutedParameterSymbol.cs (1)
79
internal override bool
HasEnumeratorCancellationAttribute
=> _underlyingParameter.HasEnumeratorCancellationAttribute;
Symbols\Synthesized\SynthesizedCollectionBuilderProjectedMethodSymbol.cs (1)
133
internal override bool
HasEnumeratorCancellationAttribute
=> throw ExceptionUtilities.Unreachable();
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
512
internal override bool
HasEnumeratorCancellationAttribute
=> false;
Symbols\Synthesized\SynthesizedParameterSymbol.cs (2)
328
internal override bool
HasEnumeratorCancellationAttribute
=> false;
386
internal override bool
HasEnumeratorCancellationAttribute
=> _baseParameterForAttributes?.HasEnumeratorCancellationAttribute ?? false;
10 references to HasEnumeratorCancellationAttribute
Microsoft.CodeAnalysis.CSharp (10)
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (2)
142
if (_isEnumerable && this.method.Parameters.Any(static p => !p.IsExtensionParameterImplementation() && p.
HasEnumeratorCancellationAttribute
))
215
parameter.
HasEnumeratorCancellationAttribute
&&
Symbols\Extensions\ReceiverParameterSymbol.cs (1)
29
get { return _underlyingParameter.
HasEnumeratorCancellationAttribute
; }
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
161
get { return _underlyingParameter.
HasEnumeratorCancellationAttribute
; }
Symbols\NativeIntegerTypeSymbol.cs (1)
469
internal override bool HasEnumeratorCancellationAttribute => _underlyingParameter.
HasEnumeratorCancellationAttribute
;
Symbols\Retargeting\RetargetingParameterSymbol.cs (1)
142
internal sealed override bool HasEnumeratorCancellationAttribute => _underlyingParameter.
HasEnumeratorCancellationAttribute
;
Symbols\Source\SourceClonedParameterSymbol.cs (1)
134
get { return _originalParam.
HasEnumeratorCancellationAttribute
; }
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1616
var enumeratorCancellationCount = Parameters.Count(p => p.
HasEnumeratorCancellationAttribute
);
Symbols\SubstitutedParameterSymbol.cs (1)
79
internal override bool HasEnumeratorCancellationAttribute => _underlyingParameter.
HasEnumeratorCancellationAttribute
;
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
386
internal override bool HasEnumeratorCancellationAttribute => _baseParameterForAttributes?.
HasEnumeratorCancellationAttribute
?? false;