1 write to BaseMethod
Microsoft.CodeAnalysis.CSharp (1)
Lowering\SynthesizedMethodBaseSymbol.cs (1)
57this.BaseMethod = baseMethod;
16 references to BaseMethod
Microsoft.CodeAnalysis.CSharp (16)
Compiler\MethodBodySynthesizer.Lowered.cs (1)
324MethodSymbol methodBeingWrapped = this.BaseMethod;
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
212protected override ImmutableArray<ParameterSymbol> BaseMethodParameters => this.BaseMethod.Parameters;
Lowering\SynthesizedMethodBaseSymbol.cs (14)
111get { return this.BaseMethod.Parameters; } 156? BaseMethod.GetAttributes() 163return InheritsBaseMethodAttributes ? BaseMethod.GetReturnTypeAttributes() : ImmutableArray<CSharpAttributeData>.Empty; 167public sealed override DllImportData? GetDllImportData() => InheritsBaseMethodAttributes ? BaseMethod.GetDllImportData() : null; 169internal sealed override MethodImplAttributes ImplementationAttributes => InheritsBaseMethodAttributes ? BaseMethod.ImplementationAttributes : default; 171internal sealed override MarshalPseudoCustomAttributeData? ReturnValueMarshallingInformation => InheritsBaseMethodAttributes ? BaseMethod.ReturnValueMarshallingInformation : null; 173internal sealed override bool HasSpecialName => InheritsBaseMethodAttributes && BaseMethod.HasSpecialName; 178public sealed override bool AreLocalsZeroed => !(BaseMethod is SourceMethodSymbol sourceMethod) || sourceMethod.AreLocalsZeroed; 180internal sealed override bool RequiresSecurityObject => InheritsBaseMethodAttributes && BaseMethod.RequiresSecurityObject; 182internal sealed override bool HasDeclarativeSecurity => InheritsBaseMethodAttributes && BaseMethod.HasDeclarativeSecurity; 185? BaseMethod.GetSecurityInformation() 192get { return this.TypeMap.SubstituteType(this.BaseMethod.OriginalDefinition.ReturnTypeWithAnnotations); } 195public sealed override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => BaseMethod.ReturnTypeFlowAnalysisAnnotations; 197public sealed override ImmutableHashSet<string> ReturnNotNullIfParameterNotNull => BaseMethod.ReturnNotNullIfParameterNotNull;