17 references to LeastOverriddenMember
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Expressions.cs (1)
3392
var parameters = methodResult.
LeastOverriddenMember
.GetParameters();
Binder\Binder_Invocation.cs (4)
685
syntax, candidate.
LeastOverriddenMember
);
798
if (result is null && finalApplicableCandidates[0].
LeastOverriddenMember
.MethodKind != MethodKind.LocalFunction)
859
if (OverloadResolution.IsValidParams(this, candidate.
LeastOverriddenMember
, disallowExpandedNonArrayParams: false, out _) &&
944
MethodSymbol singleCandidate = methodResolutionResult.
LeastOverriddenMember
;
Binder\Semantics\OverloadResolution\MemberResolutionResult.cs (2)
36
return new MemberResolutionResult<TMember>(Member,
LeastOverriddenMember
, result, HasTypeArgumentInferredFromFunctionType);
125
TMember IMemberResolutionResultWithPriority<TMember>.MemberWithPriority =>
LeastOverriddenMember
;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (6)
2149
var m1LeastOverriddenParameters = m1.
LeastOverriddenMember
.GetParameters();
2150
var m2LeastOverriddenParameters = m2.
LeastOverriddenMember
.GetParameters();
2456
var m1DefinitionParameters = m1.
LeastOverriddenMember
.OriginalDefinition.GetParameters();
2457
var m2DefinitionParameters = m2.
LeastOverriddenMember
.OriginalDefinition.GetParameters();
2506
int m1ModifierCount = m1.
LeastOverriddenMember
.CustomModifierCount();
2507
int m2ModifierCount = m2.
LeastOverriddenMember
.CustomModifierCount();
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (4)
1415
worseResult1.
LeastOverriddenMember
.OriginalDefinition,
1416
worseResult2.
LeastOverriddenMember
.OriginalDefinition,
1468
validResult1.
LeastOverriddenMember
.OriginalDefinition,
1469
validResult2.
LeastOverriddenMember
.OriginalDefinition,