17 references to LeastOverriddenMember
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Expressions.cs (1)
3389
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)
2141
var m1LeastOverriddenParameters = m1.
LeastOverriddenMember
.GetParameters();
2142
var m2LeastOverriddenParameters = m2.
LeastOverriddenMember
.GetParameters();
2448
var m1DefinitionParameters = m1.
LeastOverriddenMember
.OriginalDefinition.GetParameters();
2449
var m2DefinitionParameters = m2.
LeastOverriddenMember
.OriginalDefinition.GetParameters();
2498
int m1ModifierCount = m1.
LeastOverriddenMember
.CustomModifierCount();
2499
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,