1 override of InheritsBaseMethodAttributes
Microsoft.CodeAnalysis.CSharp (1)
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
216internal override bool InheritsBaseMethodAttributes => true;
11 references to InheritsBaseMethodAttributes
Microsoft.CodeAnalysis.CSharp (11)
Lowering\SynthesizedMethodBaseSymbol.cs (10)
119var inheritAttributes = InheritsBaseMethodAttributes; 153return InheritsBaseMethodAttributes 161return InheritsBaseMethodAttributes ? BaseMethod.GetReturnTypeAttributes() : ImmutableArray<CSharpAttributeData>.Empty; 165public sealed override DllImportData? GetDllImportData() => InheritsBaseMethodAttributes ? BaseMethod.GetDllImportData() : null; 167internal sealed override MethodImplAttributes ImplementationAttributes => InheritsBaseMethodAttributes ? BaseMethod.ImplementationAttributes : default; 169internal sealed override MarshalPseudoCustomAttributeData? ReturnValueMarshallingInformation => InheritsBaseMethodAttributes ? BaseMethod.ReturnValueMarshallingInformation : null; 171internal sealed override bool HasSpecialName => InheritsBaseMethodAttributes && BaseMethod.HasSpecialName; 178internal sealed override bool RequiresSecurityObject => InheritsBaseMethodAttributes && BaseMethod.RequiresSecurityObject; 180internal sealed override bool HasDeclarativeSecurity => InheritsBaseMethodAttributes && BaseMethod.HasDeclarativeSecurity; 182internal sealed override IEnumerable<SecurityAttribute> GetSecurityInformation() => InheritsBaseMethodAttributes
Symbols\Synthesized\SynthesizedSubstitutedTypeParameterSymbol.cs (1)
60if (ContainingSymbol is SynthesizedMethodBaseSymbol { InheritsBaseMethodAttributes: true })