1 write to BaseMethod
Microsoft.CodeAnalysis.CSharp (1)
Lowering\SynthesizedMethodBaseSymbol.cs (1)
44this.BaseMethod = baseMethod;
18 references to BaseMethod
Microsoft.CodeAnalysis.CSharp (18)
Compiler\MethodBodySynthesizer.Lowered.cs (1)
324MethodSymbol methodBeingWrapped = this.BaseMethod;
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
213protected override ImmutableArray<ParameterSymbol> BaseMethodParameters => this.BaseMethod.Parameters;
Lowering\SynthesizedMethodBaseSymbol.cs (16)
122get { return this.BaseMethod.Parameters; } 165? BaseMethod.GetAttributes() 172return InheritsBaseMethodAttributes ? BaseMethod.GetReturnTypeAttributes() : ImmutableArray<CSharpAttributeData>.Empty; 176public sealed override DllImportData? GetDllImportData() => InheritsBaseMethodAttributes ? BaseMethod.GetDllImportData() : null; 178internal sealed override MethodImplAttributes ImplementationAttributes => InheritsBaseMethodAttributes ? BaseMethod.ImplementationAttributes : default; 180internal sealed override MarshalPseudoCustomAttributeData? ReturnValueMarshallingInformation => InheritsBaseMethodAttributes ? BaseMethod.ReturnValueMarshallingInformation : null; 182internal sealed override bool HasSpecialName => InheritsBaseMethodAttributes && BaseMethod.HasSpecialName; 187public sealed override bool AreLocalsZeroed => !(BaseMethod is SourceMethodSymbol sourceMethod) || sourceMethod.AreLocalsZeroed; 189internal sealed override bool RequiresSecurityObject => InheritsBaseMethodAttributes && BaseMethod.RequiresSecurityObject; 191internal sealed override bool HasDeclarativeSecurity => InheritsBaseMethodAttributes && BaseMethod.HasDeclarativeSecurity; 194? BaseMethod.GetSecurityInformation() 201get { return this.BaseMethod.RefKind; } 206get { return this.TypeMap.SubstituteType(this.BaseMethod.OriginalDefinition.ReturnTypeWithAnnotations); } 209public sealed override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => BaseMethod.ReturnTypeFlowAnalysisAnnotations; 211public sealed override ImmutableHashSet<string> ReturnNotNullIfParameterNotNull => BaseMethod.ReturnNotNullIfParameterNotNull; 217get { return this.BaseMethod.IsVararg; }