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
14 references to SourceMethodSymbol
Microsoft.CodeAnalysis.CSharp (14)
FlowAnalysis\DefiniteAssignment.cs (1)
709if (CurrentSymbol is SourceMethodSymbol sourceMethod &&
Lowering\DiagnosticsPass_ExpressionTrees.cs (3)
29private SourceMethodSymbol _staticLocalOrAnonymousFunction; 155var outerLocalFunction = _staticLocalOrAnonymousFunction; 639var outerLocalFunction = _staticLocalOrAnonymousFunction;
Lowering\SynthesizedMethodBaseSymbol.cs (1)
191public sealed override bool AreLocalsZeroed => !(BaseMethod is SourceMethodSymbol sourceMethod) || sourceMethod.AreLocalsZeroed;
Symbols\Source\SourceComplexParameterSymbol.cs (1)
82private Binder WithTypeParametersBinderOpt => (ContainingSymbol as SourceMethodSymbol)?.WithTypeParametersBinder;
Symbols\Source\SourceMethodSymbol.cs (1)
44if (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)
1258/// Analogous to <see cref="SourceMethodSymbol.BoundAttributesSource"/>.
Symbols\Source\SourceTypeParameterSymbol.cs (2)
607private readonly SourceMethodSymbol _owner; 609public SourceMethodTypeParameterSymbol(SourceMethodSymbol owner, string name, int ordinal, ImmutableArray<Location> locations, ImmutableArray<SyntaxReference> syntaxRefs)
Symbols\Symbol.cs (1)
1702internal static bool IsCaptured(Symbol variable, SourceMethodSymbol containingSymbol)
Symbols\TypeSymbol.cs (1)
1893if (!implementingMethod.IsExplicitInterfaceImplementation && implementingMethod is SourceMethodSymbol &&