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