5 references to GetLeastOverriddenMethod
Microsoft.CodeAnalysis.CSharp (5)
FlowAnalysis\NullableWalker.cs (1)
6332var isObjectEqualsMethodOrOverride = method.GetLeastOverriddenMethod(accessingTypeOpt: null)
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (2)
435(object)potentialToStringCall.Method.GetLeastOverriddenMethod(charType) == _compilation.GetSpecialTypeMember(SpecialMember.System_Object__ToString)) 670toStringMethod.GetLeastOverriddenMethod(type) == (object)objectToStringMethod)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4503if (method.GetLeastOverriddenMethod(null) == objectToString)
Symbols\Synthesized\Records\SynthesizedRecordObjectMethod.cs (1)
45MethodSymbol leastOverridden = overriding.GetLeastOverriddenMethod(accessingTypeOpt: null);