1 override of InheritsBaseMethodAttributes
Microsoft.CodeAnalysis.CSharp (1)
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
219
internal override bool
InheritsBaseMethodAttributes
=> true;
11 references to InheritsBaseMethodAttributes
Microsoft.CodeAnalysis.CSharp (11)
Lowering\SynthesizedMethodBaseSymbol.cs (10)
119
var inheritAttributes =
InheritsBaseMethodAttributes
;
156
return
InheritsBaseMethodAttributes
164
return
InheritsBaseMethodAttributes
? BaseMethod.GetReturnTypeAttributes() : ImmutableArray<CSharpAttributeData>.Empty;
168
public sealed override DllImportData? GetDllImportData() =>
InheritsBaseMethodAttributes
? BaseMethod.GetDllImportData() : null;
170
internal sealed override MethodImplAttributes ImplementationAttributes =>
InheritsBaseMethodAttributes
? BaseMethod.ImplementationAttributes : default;
172
internal sealed override MarshalPseudoCustomAttributeData? ReturnValueMarshallingInformation =>
InheritsBaseMethodAttributes
? BaseMethod.ReturnValueMarshallingInformation : null;
174
internal sealed override bool HasSpecialName =>
InheritsBaseMethodAttributes
&& BaseMethod.HasSpecialName;
181
internal sealed override bool RequiresSecurityObject =>
InheritsBaseMethodAttributes
&& BaseMethod.RequiresSecurityObject;
183
internal sealed override bool HasDeclarativeSecurity =>
InheritsBaseMethodAttributes
&& BaseMethod.HasDeclarativeSecurity;
185
internal sealed override IEnumerable<SecurityAttribute> GetSecurityInformation() =>
InheritsBaseMethodAttributes
Symbols\Synthesized\SynthesizedSubstitutedTypeParameterSymbol.cs (1)
68
private bool PropagateAttributes => _propagateAttributes || ContainingSymbol is SynthesizedMethodBaseSymbol {
InheritsBaseMethodAttributes
: true };