Files
Dec2017-Script-Dump/UnityEngine/UnityEngineInternal/NetFxCoreExtensions.cs
T
2026-06-04 11:42:34 +02:00

22 lines
566 B
C#

using System;
using System.Reflection;
namespace UnityEngineInternal
{
// Token: 0x02000505 RID: 1285
internal static class NetFxCoreExtensions
{
// Token: 0x06003C5E RID: 15454 RVA: 0x0006AB58 File Offset: 0x00068D58
public static Delegate CreateDelegate(this MethodInfo self, Type delegateType, object target)
{
return Delegate.CreateDelegate(delegateType, target, self);
}
// Token: 0x06003C5F RID: 15455 RVA: 0x0006AB78 File Offset: 0x00068D78
public static MethodInfo GetMethodInfo(this Delegate self)
{
return self.Method;
}
}
}