5 references to GetHierarchyDepth
System.Reflection.MetadataLoadContext (5)
System\Reflection\DefaultBinder.cs (5)
520
int hierarchyDepth1 =
GetHierarchyDepth
(m1.DeclaringType!);
521
int hierarchyDepth2 =
GetHierarchyDepth
(m2.DeclaringType!);
547
int hierarchyDepth1 =
GetHierarchyDepth
(cur1.DeclaringType!);
548
int hierarchyDepth2 =
GetHierarchyDepth
(cur2.DeclaringType!);
605
int currentHierarchyDepth =
GetHierarchyDepth
(match[i].DeclaringType!);