2 types derived from SourceMethodSymbol
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\LambdaSymbol.cs (1)
15internal sealed class LambdaSymbol : SourceMethodSymbol
Symbols\Source\LocalFunctionOrSourceMemberMethodSymbol.cs (1)
10internal abstract class LocalFunctionOrSourceMemberMethodSymbol : SourceMethodSymbol
20 references to SourceMethodSymbol
Microsoft.CodeAnalysis.CSharp (20)
FlowAnalysis\DefiniteAssignment.cs (1)
724if (CurrentSymbol is SourceMethodSymbol sourceMethod &&
Lowering\DiagnosticsPass_ExpressionTrees.cs (5)
29private SourceMethodSymbol _staticLocalOrAnonymousFunction; 155var outerLocalFunction = _staticLocalOrAnonymousFunction; 158_staticLocalOrAnonymousFunction = (SourceMethodSymbol)node.Symbol; 683var outerLocalFunction = _staticLocalOrAnonymousFunction; 686_staticLocalOrAnonymousFunction = (SourceMethodSymbol)node.Symbol;
Lowering\SynthesizedMethodBaseSymbol.cs (1)
175public sealed override bool AreLocalsZeroed => !(BaseMethod is SourceMethodSymbol sourceMethod) || sourceMethod.AreLocalsZeroed;
Symbols\Extensions\SourceExtensionImplementationMethodSymbol.cs (1)
69SourceMethodSymbol.AddSynthesizedAttributes(this, moduleBuilder, ref attributes);
Symbols\Source\SourceComplexParameterSymbol.cs (1)
82private Binder WithTypeParametersBinderOpt => (ContainingSymbol as SourceMethodSymbol)?.WithTypeParametersBinder;
Symbols\Source\SourceMethodSymbol.cs (1)
47if (ContainingSymbol is SourceMethodSymbol method)
Symbols\Source\SourceMethodSymbolWithAttributes.cs (2)
1114static ArrayBuilder<string> getNamespaceNames(SourceMethodSymbol @this) 1433static UnmanagedCallersOnlyAttributeData DecodeUnmanagedCallersOnlyAttributeData(SourceMethodSymbol @this, CSharpAttributeData attribute, Location location, BindingDiagnosticBag diagnostics)
Symbols\Source\SourcePropertySymbolBase.cs (1)
1277/// Analogous to <see cref="SourceMethodSymbol.BoundAttributesSource"/>.
Symbols\Source\SourceTypeParameterSymbol.cs (5)
612public abstract SourceMethodSymbol Owner { get; } 660private readonly SourceMethodSymbol _owner; 662public SourceNotOverridingMethodTypeParameterSymbol(SourceMethodSymbol owner, string name, int ordinal, ImmutableArray<Location> locations, ImmutableArray<SyntaxReference> syntaxRefs) 668public override SourceMethodSymbol Owner => _owner; 910public override SourceMethodSymbol Owner
Symbols\Symbol.cs (1)
1703internal static bool IsCaptured(Symbol variable, SourceMethodSymbol containingSymbol)
Symbols\TypeSymbol.cs (1)
1903if (!implementingMethod.IsExplicitInterfaceImplementation && implementingMethod is SourceMethodSymbol &&