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