Skip to content

Commit 34406b1

Browse files
committed
[change] the shared type of ElementType.FnPtr is changed from IntPtr to UIntPtr
1 parent e5b5292 commit 34406b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Editor/Meta/MetaUtil.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public static TypeSig ToShareTypeSig(ICorLibTypes corTypes, TypeSig typeSig)
122122
}
123123
return new GenericInstSig(gia.GenericType, gia.GenericArguments.Select(ga => ToShareTypeSig(corTypes, ga)).ToList());
124124
}
125-
case ElementType.FnPtr: return corTypes.IntPtr;
125+
case ElementType.FnPtr: return corTypes.UIntPtr;
126126
case ElementType.ValueArray: return typeSig;
127127
case ElementType.Module: return typeSig;
128128
default:

0 commit comments

Comments
 (0)