2 types derived from SourceOrdinaryMethodSymbol
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\SourceOrdinaryMethodSymbol.cs (2)
910
private sealed class SourceOrdinaryMethodSymbolSimple :
SourceOrdinaryMethodSymbol
961
private sealed class SourceOrdinaryMethodSymbolComplex :
SourceOrdinaryMethodSymbol
66 references to SourceOrdinaryMethodSymbol
Microsoft.CodeAnalysis.CSharp (66)
Binder\Binder_Conversions.cs (2)
3017
var
sourceMethod = selectedMethod.OriginalDefinition as
SourceOrdinaryMethodSymbol
;
Symbols\MemberSymbolExtensions.cs (3)
552
is
SourceOrdinaryMethodSymbol
{ IsPartial: true }
561
is
SourceOrdinaryMethodSymbol
{ IsPartialImplementation: true }
570
is
SourceOrdinaryMethodSymbol
{ IsPartialDefinition: true }
Symbols\Source\SourceComplexParameterSymbol.cs (3)
423
var
sourceMethod = this.ContainingSymbol as
SourceOrdinaryMethodSymbol
;
429
var
definition = sourceMethod.SourcePartialDefinition;
Symbols\Source\SourceMemberContainerSymbol.cs (18)
2132
case (
SourceOrdinaryMethodSymbol
{ IsPartialDefinition: true },
SourceOrdinaryMethodSymbol
{ IsPartialImplementation: true }):
2133
case (
SourceOrdinaryMethodSymbol
{ IsPartialImplementation: true },
SourceOrdinaryMethodSymbol
{ IsPartialDefinition: true }):
3639
case (
SourceOrdinaryMethodSymbol
currentMethod,
SourceOrdinaryMethodSymbol
prevMethod):
3653
Debug.Assert(symbol is
SourceOrdinaryMethodSymbol
or SourcePropertySymbol or SourcePropertyAccessorSymbol);
3654
Debug.Assert(prev is
SourceOrdinaryMethodSymbol
or SourcePropertySymbol or SourcePropertyAccessorSymbol);
3663
case
SourceOrdinaryMethodSymbol
method:
3696
void mergePartialMethods(ref Dictionary<ReadOnlyMemory<char>, ImmutableArray<Symbol>> membersByName, ReadOnlyMemory<char> name,
SourceOrdinaryMethodSymbol
currentMethod,
SourceOrdinaryMethodSymbol
prevMethod, BindingDiagnosticBag diagnostics)
3779
private static ImmutableArray<Symbol> FixPartialMethod(ImmutableArray<Symbol> symbols,
SourceOrdinaryMethodSymbol
part1,
SourceOrdinaryMethodSymbol
part2)
3781
SourceOrdinaryMethodSymbol
definition;
3782
SourceOrdinaryMethodSymbol
implementation;
3794
SourceOrdinaryMethodSymbol
.InitializePartialMethodParts(definition, implementation);
4985
var
method =
SourceOrdinaryMethodSymbol
.CreateMethodSymbol(this, bodyBinder, methodSyntax, compilation.IsNullableAnalysisEnabledIn(methodSyntax), diagnostics);
Symbols\Source\SourceMemberMethodSymbol.cs (1)
773
/// Overridden by <see cref="
SourceOrdinaryMethodSymbol
"/>,
Symbols\Source\SourceOrdinaryMethodSymbol.cs (18)
22
public static
SourceOrdinaryMethodSymbol
CreateMethodSymbol(
187
static void forceMethodTypeParameters(TypeWithAnnotations type,
SourceOrdinaryMethodSymbol
method, ImmutableArray<TypeParameterConstraintClause> declaredConstraints)
289
internal static void InitializePartialMethodParts(
SourceOrdinaryMethodSymbol
definition,
SourceOrdinaryMethodSymbol
implementation)
303
internal abstract
SourceOrdinaryMethodSymbol
OtherPartOfPartial { get; }
338
internal
SourceOrdinaryMethodSymbol
SourcePartialDefinition
346
internal
SourceOrdinaryMethodSymbol
SourcePartialImplementation
432
var
implementingPart = this.SourcePartialImplementation;
458
var
implementingPart = this.SourcePartialImplementation;
474
private static void PartialMethodChecks(
SourceOrdinaryMethodSymbol
definition,
SourceOrdinaryMethodSymbol
implementation, BindingDiagnosticBag diagnostics)
578
static bool hasDifferencesInParameterOrTypeParameterName(
SourceOrdinaryMethodSymbol
definition,
SourceOrdinaryMethodSymbol
implementation)
585
private static void PartialMethodConstraintsChecks(
SourceOrdinaryMethodSymbol
definition,
SourceOrdinaryMethodSymbol
implementation, BindingDiagnosticBag diagnostics)
929
internal sealed override
SourceOrdinaryMethodSymbol
OtherPartOfPartial
972
private
SourceOrdinaryMethodSymbol
_otherPartOfPartial;
996
internal sealed override
SourceOrdinaryMethodSymbol
OtherPartOfPartial => _otherPartOfPartial;
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
20
/// Unlike <see cref="
SourceOrdinaryMethodSymbol
"/>, this type doesn't depend
Symbols\Source\SourcePropertySymbol.cs (3)
679
/// This method is analogous to <see cref="
SourceOrdinaryMethodSymbol
.PartialMethodChecks(
SourceOrdinaryMethodSymbol
,
SourceOrdinaryMethodSymbol
, BindingDiagnosticBag)" />.
Symbols\Source\SourceTypeParameterSymbol.cs (15)
128
var
sourceMethod = this.ContainingSymbol as
SourceOrdinaryMethodSymbol
;
131
var
implementingPart = sourceMethod.SourcePartialImplementation;
183
var
sourceMethod = this.ContainingSymbol as
SourceOrdinaryMethodSymbol
;
289
case
SourceOrdinaryMethodSymbol
_:
758
private readonly
SourceOrdinaryMethodSymbol
_overridingMethod;
766
protected OverriddenMethodTypeParameterMapBase(
SourceOrdinaryMethodSymbol
overridingMethod)
771
public
SourceOrdinaryMethodSymbol
OverridingMethod
817
protected abstract MethodSymbol GetOverriddenMethod(
SourceOrdinaryMethodSymbol
overridingMethod);
822
public OverriddenMethodTypeParameterMap(
SourceOrdinaryMethodSymbol
overridingMethod)
828
protected override MethodSymbol GetOverriddenMethod(
SourceOrdinaryMethodSymbol
overridingMethod)
843
public ExplicitInterfaceMethodTypeParameterMap(
SourceOrdinaryMethodSymbol
implementationMethod)
849
protected override MethodSymbol GetOverriddenMethod(
SourceOrdinaryMethodSymbol
overridingMethod)
876
public
SourceOrdinaryMethodSymbol
Owner
Symbols\TypeWithAnnotations.cs (2)
326
var
declaringMethod = (DefaultType as TypeParameterSymbol)?.DeclaringMethod as
SourceOrdinaryMethodSymbol
;