fix: Extensions.GetMethodName made public to make it accessible from Netgraph

This commit is contained in:
mischa 2024-10-07 14:25:17 +02:00
parent 30c2521b0f
commit 67efdc5ec3

View File

@ -54,7 +54,7 @@ public static ushort GetStableHashCode16(this string text)
// previously in DotnetCompatibility.cs // previously in DotnetCompatibility.cs
// leftover from the UNET days. supposedly for windows store? // leftover from the UNET days. supposedly for windows store?
internal static string GetMethodName(this Delegate func) public static string GetMethodName(this Delegate func)
{ {
#if NETFX_CORE #if NETFX_CORE
return func.GetMethodInfo().Name; return func.GetMethodInfo().Name;