1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-21 17:28:00 +02:00

comptime get generic arg fix

This commit is contained in:
EinBurgbauer 2021-05-17 14:35:14 +02:00
parent d7f0c6523d
commit f98b9dc99a

View file

@ -683,13 +683,7 @@ namespace System
namespace System.Reflection namespace System.Reflection
{ {
public struct TypeId : int32 public struct TypeId : int32 {}
{
public Type ToType()
{
return Type.[Friend]sTypes[(int32)this];
}
}
[Ordered, AlwaysInclude(AssumeInstantiated=true)] [Ordered, AlwaysInclude(AssumeInstantiated=true)]
public class TypeInstance : Type public class TypeInstance : Type
@ -1137,7 +1131,7 @@ namespace System.Reflection
public Type GetGenericArg(int argIdx) public Type GetGenericArg(int argIdx)
{ {
return mResolvedTypeRefs[argIdx].ToType(); return Type.GetType(mResolvedTypeRefs[argIdx]);
} }
public override void GetFullName(String strBuffer) public override void GetFullName(String strBuffer)