Skip to content

Commit 9c714ff

Browse files
Fix building with GVM_RESOLUTION_TRACE defined (#118160)
`MethodNameAndSignature` no longer has the `string`-typed property.
1 parent 18ae5dd commit 9c714ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coreclr/nativeaot/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/TypeLoaderEnvironment.GVMResolution.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ private static InstantiatedMethod ResolveInterfaceGenericVirtualMethodSlot(DefTy
330330
RuntimeTypeHandle openTargetTypeHandle = targetType.GetTypeDefinition().RuntimeTypeHandle;
331331

332332
#if GVM_RESOLUTION_TRACE
333-
Debug.WriteLine("INTERFACE GVM call = " + GetTypeNameDebug(slotMethod.OwningType) + "." + slotMethod.NameAndSignature.Name);
333+
Debug.WriteLine("INTERFACE GVM call = " + GetTypeNameDebug(slotMethod.OwningType) + "." + slotMethod.Name);
334334
#endif
335335

336336
foreach (NativeFormatModuleInfo module in ModuleList.EnumerateModules(RuntimeAugments.GetModuleFromTypeHandle(openTargetTypeHandle)))
@@ -459,7 +459,7 @@ private static InstantiatedMethod ResolveGenericVirtualMethodTarget(DefType targ
459459
hashCode = ((hashCode << 13) ^ hashCode) ^ openTargetTypeHandle.GetHashCode();
460460

461461
#if GVM_RESOLUTION_TRACE
462-
Debug.WriteLine("GVM Target Resolution = " + GetTypeNameDebug(targetType) + "." + slotMethod.NameAndSignature.Name);
462+
Debug.WriteLine("GVM Target Resolution = " + GetTypeNameDebug(targetType) + "." + slotMethod.Name);
463463
#endif
464464

465465
foreach (NativeFormatModuleInfo module in ModuleList.EnumerateModules(RuntimeAugments.GetModuleFromTypeHandle(openTargetTypeHandle)))

0 commit comments

Comments
 (0)