Skip to content

Commit 5aa5b62

Browse files
authored
Fixes in method signature generator (#51)
***NO_CI***
1 parent 2570f11 commit 5aa5b62

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/MetadataProcessor.Core/Tables/nanoByteCodeTable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public nanoByteCodeTable(
6262
public ushort NextMethodId { get { return (ushort)_methods.Count; } }
6363

6464
/// <summary>
65-
/// Temporary string table for code generators used duing initial load.
65+
/// Temporary string table for code generators used during initial load.
6666
/// </summary>
6767
public nanoStringTable FakeStringTable { get { return _fakeStringTable; } }
6868

source/MetadataProcessor.Core/Tables/nanoSignaturesTable.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ static nanoSignaturesTable()
6666
PrimitiveTypes.Add(typeof(bool).FullName, nanoCLR_DataType.DATATYPE_BOOLEAN);
6767

6868
PrimitiveTypes.Add(typeof(object).FullName, nanoCLR_DataType.DATATYPE_OBJECT);
69-
PrimitiveTypes.Add(typeof(IntPtr).FullName, nanoCLR_DataType.DATATYPE_VALUETYPE);
70-
//PrimitiveTypes.Add(typeof(UIntPtr).FullName, nanoCLR_DataType.DATATYPE_U4);
69+
PrimitiveTypes.Add(typeof(IntPtr).FullName, nanoCLR_DataType.DATATYPE_I4);
70+
PrimitiveTypes.Add(typeof(UIntPtr).FullName, nanoCLR_DataType.DATATYPE_U4);
7171

7272
PrimitiveTypes.Add("System.WeakReference", nanoCLR_DataType.DATATYPE_WEAKCLASS);
7373
}

0 commit comments

Comments
 (0)