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