5 implementations of GetReturnValueAttributes
Microsoft.CodeAnalysis (5)
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
173public IEnumerable<Cci.ICustomAttribute> GetReturnValueAttributes(EmitContext context)
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (1)
132public IEnumerable<ICustomAttribute> GetReturnValueAttributes(EmitContext context)
Emit\NoPia\CommonEmbeddedMethod.cs (1)
223IEnumerable<Cci.ICustomAttribute> Cci.IMethodDefinition.GetReturnValueAttributes(EmitContext context)
Emit\NoPia\VtblGap.cs (1)
123IEnumerable<Cci.ICustomAttribute> Cci.IMethodDefinition.GetReturnValueAttributes(EmitContext context)
PEWriter\RootModuleStaticConstructor.cs (1)
122public IEnumerable<ICustomAttribute> GetReturnValueAttributes(EmitContext context) => SpecializedCollections.EmptyEnumerable<ICustomAttribute>();
4 references to GetReturnValueAttributes
Microsoft.CodeAnalysis (4)
PEWriter\MetadataVisitor.cs (1)
295this.Visit(method.GetReturnValueAttributes(Context));
PEWriter\MetadataWriter.cs (2)
590if (methodDef.ParameterCount == 0 && !(methodDef.ReturnValueIsMarshalledExplicitly || IteratorHelper.EnumerableIsNotEmpty(methodDef.GetReturnValueAttributes(Context)))) 603if (methodDef.ReturnValueIsMarshalledExplicitly || IteratorHelper.EnumerableIsNotEmpty(methodDef.GetReturnValueAttributes(Context)))
PEWriter\ReturnValueParameter.cs (1)
23return _containingMethod.GetReturnValueAttributes(context);