1 override of InheritsBaseMethodAttributes
Microsoft.CodeAnalysis.CSharp (1)
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
220internal override bool InheritsBaseMethodAttributes => true;
11 references to InheritsBaseMethodAttributes
Microsoft.CodeAnalysis.CSharp (11)
Lowering\SynthesizedMethodBaseSymbol.cs (10)
134var inheritAttributes = InheritsBaseMethodAttributes; 168return InheritsBaseMethodAttributes 176return InheritsBaseMethodAttributes ? BaseMethod.GetReturnTypeAttributes() : ImmutableArray<CSharpAttributeData>.Empty; 180public sealed override DllImportData? GetDllImportData() => InheritsBaseMethodAttributes ? BaseMethod.GetDllImportData() : null; 182internal sealed override MethodImplAttributes ImplementationAttributes => InheritsBaseMethodAttributes ? BaseMethod.ImplementationAttributes : default; 184internal sealed override MarshalPseudoCustomAttributeData? ReturnValueMarshallingInformation => InheritsBaseMethodAttributes ? BaseMethod.ReturnValueMarshallingInformation : null; 186internal sealed override bool HasSpecialName => InheritsBaseMethodAttributes && BaseMethod.HasSpecialName; 193internal sealed override bool RequiresSecurityObject => InheritsBaseMethodAttributes && BaseMethod.RequiresSecurityObject; 195internal sealed override bool HasDeclarativeSecurity => InheritsBaseMethodAttributes && BaseMethod.HasDeclarativeSecurity; 197internal sealed override IEnumerable<SecurityAttribute> GetSecurityInformation() => InheritsBaseMethodAttributes
Symbols\Synthesized\SynthesizedSubstitutedTypeParameterSymbol.cs (1)
47if (ContainingSymbol is SynthesizedMethodBaseSymbol { InheritsBaseMethodAttributes: true })