16 overrides of HasEnumeratorCancellationAttribute
Microsoft.CodeAnalysis.CSharp (16)
Symbols\Extensions\ReceiverParameterSymbol.cs (1)
25
internal override bool
HasEnumeratorCancellationAttribute
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
146
internal sealed override bool
HasEnumeratorCancellationAttribute
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
31
internal override bool
HasEnumeratorCancellationAttribute
=> false;
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
956
internal sealed override bool
HasEnumeratorCancellationAttribute
=> throw ExceptionUtilities.Unreachable();
Symbols\NativeIntegerTypeSymbol.cs (1)
465
internal override bool
HasEnumeratorCancellationAttribute
=> _underlyingParameter.HasEnumeratorCancellationAttribute;
Symbols\ReducedExtensionMethodSymbol.cs (1)
681
internal override bool
HasEnumeratorCancellationAttribute
=> throw ExceptionUtilities.Unreachable();
Symbols\Retargeting\RetargetingParameterSymbol.cs (1)
141
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)
77
internal override bool
HasEnumeratorCancellationAttribute
=> _underlyingParameter.HasEnumeratorCancellationAttribute;
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
510
internal override bool
HasEnumeratorCancellationAttribute
=> false;
Symbols\Synthesized\SynthesizedParameterSymbol.cs (2)
328
internal override bool
HasEnumeratorCancellationAttribute
=> false;
384
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)
27
get { return _underlyingParameter.
HasEnumeratorCancellationAttribute
; }
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
148
get { return _underlyingParameter.
HasEnumeratorCancellationAttribute
; }
Symbols\NativeIntegerTypeSymbol.cs (1)
465
internal override bool HasEnumeratorCancellationAttribute => _underlyingParameter.
HasEnumeratorCancellationAttribute
;
Symbols\Retargeting\RetargetingParameterSymbol.cs (1)
141
internal sealed override bool HasEnumeratorCancellationAttribute => _underlyingParameter.
HasEnumeratorCancellationAttribute
;
Symbols\Source\SourceClonedParameterSymbol.cs (1)
134
get { return _originalParam.
HasEnumeratorCancellationAttribute
; }
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1596
var enumeratorCancellationCount = Parameters.Count(p => p.
HasEnumeratorCancellationAttribute
);
Symbols\SubstitutedParameterSymbol.cs (1)
77
internal override bool HasEnumeratorCancellationAttribute => _underlyingParameter.
HasEnumeratorCancellationAttribute
;
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
384
internal override bool HasEnumeratorCancellationAttribute => _baseParameterForAttributes?.
HasEnumeratorCancellationAttribute
?? false;