8 types derived from SourceMemberMethodSymbol
Microsoft.CodeAnalysis.CSharp (8)
Lowering\SynthesizedMethodBaseSymbol.cs (1)
23
internal abstract class SynthesizedMethodBaseSymbol :
SourceMemberMethodSymbol
Symbols\Source\SourceConstructorSymbolBase.cs (1)
17
internal abstract class SourceConstructorSymbolBase :
SourceMemberMethodSymbol
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
17
internal abstract class SourceDelegateMethodSymbol :
SourceMemberMethodSymbol
Symbols\Source\SourceDestructorSymbol.cs (1)
14
internal sealed class SourceDestructorSymbol :
SourceMemberMethodSymbol
Symbols\Source\SourceEventAccessorSymbol.cs (1)
15
internal abstract class SourceEventAccessorSymbol :
SourceMemberMethodSymbol
Symbols\Source\SourceOrdinaryMethodOrUserDefinedOperatorSymbol.cs (1)
17
internal abstract class SourceOrdinaryMethodOrUserDefinedOperatorSymbol :
SourceMemberMethodSymbol
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
17
internal class SourcePropertyAccessorSymbol :
SourceMemberMethodSymbol
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
16
internal sealed class SynthesizedSimpleProgramEntryPointSymbol :
SourceMemberMethodSymbol
61 references to SourceMemberMethodSymbol
Microsoft.CodeAnalysis.CSharp (61)
Binder\Binder.CapturedParametersFinder.cs (2)
47
foreach (
SourceMemberMethodSymbol
sourceMethod in containingType.GetMethodsPossiblyCapturingPrimaryConstructorParameters())
100
void getBodyBinderAndSyntax(
SourceMemberMethodSymbol
sourceMethod, out Binder? bodyBinder, out CSharpSyntaxNode? syntaxNode)
Binder\Binder_Statements.cs (2)
3834
SourceMemberMethodSymbol
? sourceConstructor = constructor as
SourceMemberMethodSymbol
;
Binder\BinderFactory.BinderFactoryVisitor.cs (6)
173
SourceMemberMethodSymbol
method = null;
216
var
method = GetMethodSymbol(parent, resultBinder);
251
SourceMemberMethodSymbol
method = GetMethodSymbol(parent, resultBinder);
507
private
SourceMemberMethodSymbol
GetMethodSymbol(BaseMethodDeclarationSyntax baseMethodDeclarationSyntax, Binder outerBinder)
511
return (
SourceMemberMethodSymbol
)_memberOpt;
521
return (
SourceMemberMethodSymbol
)GetMemberSymbol(methodName, baseMethodDeclarationSyntax.FullSpan, container, SymbolKind.Method);
Binder\ExecutableCodeBinder.cs (1)
136
if (((iterator as
SourceMemberMethodSymbol
)?.IsUnsafe == true || (iterator as LocalFunctionSymbol)?.IsUnsafe == true)
Binder\RefSafetyAnalysis.cs (1)
38
if (symbol is
SourceMemberMethodSymbol
{ IsUnsafe: true })
CodeGen\CodeGenerator.cs (2)
149
var
sourceMethod = method as
SourceMemberMethodSymbol
;
Compilation\SyntaxTreeSemanticModel.cs (7)
1088
var
symbol = GetDeclaredSymbol(memberDecl).GetSymbol<
SourceMemberMethodSymbol
>();
1113
var
symbol = GetDeclaredSymbol(accessorDecl).GetSymbol<
SourceMemberMethodSymbol
>();
1185
SourceMemberMethodSymbol
symbol = null;
1191
symbol = GetDeclaredSymbol(exprDecl).GetSymbol<
SourceMemberMethodSymbol
>();
1244
MemberSemanticModel createMethodBodySemanticModel(CSharpSyntaxNode memberDecl,
SourceMemberMethodSymbol
symbol)
Compiler\MethodBodySynthesizer.cs (1)
174
internal static BoundBlock ConstructAutoPropertyAccessorBody(
SourceMemberMethodSymbol
accessor)
Compiler\MethodCompiler.cs (3)
918
SourceMemberMethodSymbol
sourceMethod = methodSymbol as
SourceMemberMethodSymbol
;
1855
if (method is
SourceMemberMethodSymbol
sourceMethod)
FlowAnalysis\FlowAnalysisPass.cs (1)
59
Debug.Assert(method is not
SourceMemberMethodSymbol
{ SyntaxNode: ConstructorDeclarationSyntax { Initializer: not null } } || block.HasErrors);
FlowAnalysis\NullableWalker.cs (1)
882
if (method is
SourceMemberMethodSymbol
{ SyntaxNode: ConstructorDeclarationSyntax { Initializer: { RawKind: var initializerKind } } })
Lowering\InitializerRewriter.cs (2)
24
var
sourceMethod = method as
SourceMemberMethodSymbol
;
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
170
if (method is
SourceMemberMethodSymbol
{ Bodies: { arrowBody: null, blockBody: null } } and not SynthesizedSimpleProgramEntryPointSymbol)
Lowering\Instrumentation\ModuleCancellationInstrumenter.cs (1)
52
method is
SourceMemberMethodSymbol
{ Bodies: { arrowBody: null, blockBody: null } } and not SynthesizedSimpleProgramEntryPointSymbol))
Lowering\Instrumentation\StackOverflowProbingInstrumenter.cs (1)
42
method is
SourceMemberMethodSymbol
{ Bodies: { arrowBody: null, blockBody: null } } and not SynthesizedSimpleProgramEntryPointSymbol))
Lowering\LocalRewriter\LocalRewriter_ReturnStatement.cs (1)
48
(method as
SourceMemberMethodSymbol
)?.IsExpressionBodied ??
Symbols\MemberSymbolExtensions.cs (2)
549
SourceMemberMethodSymbol
sourceMethod = method as
SourceMemberMethodSymbol
;
Symbols\Source\SourceConstructorSymbol.cs (1)
230
protected override
SourceMemberMethodSymbol
? BoundAttributesSource => SourcePartialDefinitionPart;
Symbols\Source\SourceCustomEventAccessorSymbol.cs (2)
81
protected override
SourceMemberMethodSymbol
? BoundAttributesSource => (
SourceMemberMethodSymbol
?)PartialDefinitionPart;
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
413
protected override
SourceMemberMethodSymbol
BoundAttributesSource => _invoke;
Symbols\Source\SourceEventAccessorSymbol.cs (1)
238
protected abstract override
SourceMemberMethodSymbol
? BoundAttributesSource { get; }
Symbols\Source\SourceFieldLikeEventSymbol.cs (2)
257
protected override
SourceMemberMethodSymbol
? BoundAttributesSource
262
? (
SourceMemberMethodSymbol
?)this.AssociatedEvent.RemoveMethod
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2173
if (method1.OriginalDefinition is
SourceMemberMethodSymbol
{ MethodKind: MethodKind.Constructor } constructor &&
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (3)
545
var
sourceMethod = method as
SourceMemberMethodSymbol
;
1848
if (implementingMethodOriginalDefinition is
SourceMemberMethodSymbol
sourceImplementMethodOriginalDefinition)
Symbols\Source\SourceMethodSymbolWithAttributes.cs (2)
122
protected virtual
SourceMemberMethodSymbol
BoundAttributesSource
277
var
copyFrom = this.BoundAttributesSource;
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
391
protected sealed override
SourceMemberMethodSymbol
BoundAttributesSource
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
91
protected abstract override
SourceMemberMethodSymbol
BoundAttributesSource { get; }
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
812
protected sealed override
SourceMemberMethodSymbol
? BoundAttributesSource => (
SourceMemberMethodSymbol
?)PartialDefinitionPart;
Symbols\Source\SynthesizedSourceOrdinaryMethodSymbol.cs (1)
65
protected sealed override
SourceMemberMethodSymbol
? BoundAttributesSource => null;
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperatorBase.cs (1)
52
protected sealed override
SourceMemberMethodSymbol
? BoundAttributesSource => null;
Symbols\Synthesized\SynthesizedAccessorValueParameterSymbol.cs (4)
22
public SynthesizedAccessorValueParameterSymbol(
SourceMemberMethodSymbol
accessor, int ordinal)
70
get { return (
SourceMemberMethodSymbol
)this.ContainingSymbol; }
76
var
accessor = (
SourceMemberMethodSymbol
)this.ContainingSymbol;
Symbols\Synthesized\SynthesizedEventAccessorSymbol.cs (3)
49
protected override
SourceMemberMethodSymbol
BoundAttributesSource
57
return (
SourceMemberMethodSymbol
)definitionPart;
61
? (
SourceMemberMethodSymbol
)this.AssociatedEvent.RemoveMethod