14 overrides of HasAsyncMethodBuilderAttribute
Microsoft.CodeAnalysis.CSharp (14)
Symbols\ErrorMethodSymbol.cs (1)
292
internal sealed override bool
HasAsyncMethodBuilderAttribute
(out TypeSymbol builderArgument)
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
863
internal sealed override bool
HasAsyncMethodBuilderAttribute
(out TypeSymbol? builderArgument)
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1699
internal override bool
HasAsyncMethodBuilderAttribute
(out TypeSymbol builderArgument)
Symbols\NativeIntegerTypeSymbol.cs (1)
393
internal sealed override bool
HasAsyncMethodBuilderAttribute
(out TypeSymbol? builderArgument)
Symbols\ReducedExtensionMethodSymbol.cs (1)
604
internal sealed override bool
HasAsyncMethodBuilderAttribute
(out TypeSymbol builderArgument)
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
380
internal sealed override bool
HasAsyncMethodBuilderAttribute
(out TypeSymbol builderArgument)
Symbols\SignatureOnlyMethodSymbol.cs (1)
99
internal sealed override bool
HasAsyncMethodBuilderAttribute
(out TypeSymbol builderArgument)
Symbols\Source\SourceMethodSymbol.cs (1)
87
internal override bool
HasAsyncMethodBuilderAttribute
(out TypeSymbol? builderArgument)
Symbols\SubstitutedMethodSymbol.cs (1)
476
internal sealed override bool
HasAsyncMethodBuilderAttribute
(out TypeSymbol builderArgument)
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
317
internal sealed override bool
HasAsyncMethodBuilderAttribute
(out TypeSymbol builderArgument)
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
359
internal sealed override bool
HasAsyncMethodBuilderAttribute
(out TypeSymbol builderArgument)
Symbols\Synthesized\SynthesizedInstanceMethodSymbol.cs (1)
86
internal sealed override bool
HasAsyncMethodBuilderAttribute
(out TypeSymbol builderArgument)
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
511
internal sealed override bool
HasAsyncMethodBuilderAttribute
(out TypeSymbol builderArgument)
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
438
internal sealed override bool
HasAsyncMethodBuilderAttribute
(out TypeSymbol? builderArgument)
7 references to HasAsyncMethodBuilderAttribute
Microsoft.CodeAnalysis.CSharp (7)
Lowering\AsyncRewriter\AsyncMethodBuilderMemberCollection.cs (2)
188
bool useMethodLevelBuilder = method.
HasAsyncMethodBuilderAttribute
(out methodLevelBuilder);
269
bool useMethodLevelBuilder = method.
HasAsyncMethodBuilderAttribute
(out methodLevelBuilder);
Symbols\MethodSymbolExtensions.cs (2)
161
&& (method.
HasAsyncMethodBuilderAttribute
(builderArgument: out _) || method.ReturnType.IsNonGenericTaskType(compilation));
171
&& (method.
HasAsyncMethodBuilderAttribute
(builderArgument: out _) || method.ReturnType.IsGenericTaskType(compilation));
Symbols\ReducedExtensionMethodSymbol.cs (1)
606
return _reducedFrom.
HasAsyncMethodBuilderAttribute
(out builderArgument);
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
382
if (_underlyingMethod.
HasAsyncMethodBuilderAttribute
(out builderArgument))
Symbols\SubstitutedMethodSymbol.cs (1)
478
return _underlyingMethod.
HasAsyncMethodBuilderAttribute
(out builderArgument);