mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix: Extensions.GetMethodName made public to make it accessible from Netgraph
This commit is contained in:
parent
30c2521b0f
commit
67efdc5ec3
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user