5 overrides of GetReturnTypeAttributes
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
95public sealed override ImmutableArray<CSharpAttributeData> GetReturnTypeAttributes()
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1111public override ImmutableArray<CSharpAttributeData> GetReturnTypeAttributes() => Signature.ReturnParam.GetAttributes();
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
226public override ImmutableArray<CSharpAttributeData> GetReturnTypeAttributes()
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
325public override ImmutableArray<CSharpAttributeData> GetReturnTypeAttributes()
Symbols\SubstitutedMethodSymbol.cs (1)
216public override ImmutableArray<CSharpAttributeData> GetReturnTypeAttributes()
9 references to GetReturnTypeAttributes
Microsoft.CodeAnalysis.CSharp (9)
Compiler\ClsComplianceChecker.cs (2)
591CheckForAttributeWithArrayArgumentInternal(((MethodSymbol)symbol).GetReturnTypeAttributes()); 705if (TryGetClsComplianceAttributeLocation(method.GetReturnTypeAttributes(), out attributeLocation))
Emitter\Model\MethodSymbolAdapter.cs (1)
532ImmutableArray<CSharpAttributeData> userDefined = AdaptedMethodSymbol.GetReturnTypeAttributes();
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
613if (!lambda.GetAttributes().IsEmpty || !lambda.GetReturnTypeAttributes().IsEmpty)
Lowering\SynthesizedMethodBaseSymbol.cs (1)
164return InheritsBaseMethodAttributes ? BaseMethod.GetReturnTypeAttributes() : ImmutableArray<CSharpAttributeData>.Empty;
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
97return _originalMethod.GetReturnTypeAttributes();
Symbols\PublicModel\MethodSymbol.cs (1)
282return _underlying.GetReturnTypeAttributes().Cast<CSharpAttributeData, AttributeData>();
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
228return this.RetargetingTranslator.GetRetargetedAttributes(_underlyingMethod.GetReturnTypeAttributes(), ref _lazyReturnTypeCustomAttributes);
Symbols\SubstitutedMethodSymbol.cs (1)
218return this.OriginalDefinition.GetReturnTypeAttributes();