Skip to content

Commit e43cba3

Browse files
Fix building with GVM_RESOLUTION_TRACE (#89758)
This got broken when we got rid of reflection blocking.
1 parent e2c6fcf commit e43cba3

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ private static InstantiatedMethod FindMatchingInterfaceSlot(NativeFormatModuleIn
196196
targetTypeHandle = extRefs.GetRuntimeTypeHandleFromIndex(entryParser.GetUnsigned());
197197
isDefaultInterfaceMethodImplementation = RuntimeAugments.IsInterface(targetTypeHandle);
198198
#if GVM_RESOLUTION_TRACE
199-
Debug.WriteLine(" Searching for GVM implementation on targe type = " + RuntimeAugments.GetLastResortString(targetTypeHandle));
199+
Debug.WriteLine(" Searching for GVM implementation on targe type = " + targetTypeHandle.LowLevelToString());
200200
#endif
201201
}
202202
else
@@ -211,7 +211,7 @@ private static InstantiatedMethod FindMatchingInterfaceSlot(NativeFormatModuleIn
211211
RuntimeTypeHandle implementingTypeHandle = extRefs.GetRuntimeTypeHandleFromIndex(entryParser.GetUnsigned());
212212

213213
#if GVM_RESOLUTION_TRACE
214-
Debug.WriteLine(" -> Current implementing type = " + RuntimeAugments.GetLastResortString(implementingTypeHandle));
214+
Debug.WriteLine(" -> Current implementing type = " + implementingTypeHandle.LowLevelToString());
215215
#endif
216216

217217
uint numIfaceSigs = entryParser.GetUnsigned();

0 commit comments

Comments
 (0)