[fix] 修复MetaUtil.ToShareTypeSig将Ptr和ByRef计算成IntPtr的bug,正确应该是UIntPtr
parent
61fb0cfe34
commit
beec0b73e6
|
@ -83,8 +83,8 @@ namespace HybridCLR.Editor.Meta
|
|||
case ElementType.U: return corTypes.UIntPtr;
|
||||
case ElementType.Object: return corTypes.Object;
|
||||
case ElementType.Sentinel: return typeSig;
|
||||
case ElementType.Ptr: return corTypes.IntPtr;
|
||||
case ElementType.ByRef: return corTypes.IntPtr;
|
||||
case ElementType.Ptr: return corTypes.UIntPtr;
|
||||
case ElementType.ByRef: return corTypes.UIntPtr;
|
||||
case ElementType.SZArray: return corTypes.Object;
|
||||
case ElementType.Array: return corTypes.Object;
|
||||
case ElementType.ValueType:
|
||||
|
|
Loading…
Reference in New Issue