-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/fix-linux-mono-related' into devel
It was too long, so I'm merging it once.
- Loading branch information
Showing
63 changed files
with
905 additions
and
479 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/IL2C.Core.Test.BasicTypes/IL2C.Core.Test.BasicTypes.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 13 additions & 13 deletions
26
tests/IL2C.Core.Test.BasicTypes/System_Boolean/System_Boolean.il
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
.class public IL2C.BasicTypes.System_Boolean | ||
{ | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.i4.s 123 | ||
box [netstandard]System.Boolean | ||
isinst [netstandard]System.ValueType | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.i4.s 123 | ||
box bool | ||
isinst [netstandard]System.ValueType | ||
brnull.s F1 | ||
ldc.i4.1 | ||
ret | ||
ret | ||
F1: | ||
ldc.i4.0 | ||
ret | ||
} | ||
} | ||
|
||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof [netstandard]System.Boolean | ||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof bool | ||
ret | ||
} | ||
} | ||
} |
26 changes: 13 additions & 13 deletions
26
tests/IL2C.Core.Test.BasicTypes/System_Byte/System_Byte.il
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
.class public IL2C.BasicTypes.System_Byte | ||
{ | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.i4.s 123 | ||
box [netstandard]System.Byte | ||
isinst [netstandard]System.ValueType | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.i4.s 123 | ||
box uint8 | ||
isinst [netstandard]System.ValueType | ||
brnull.s F1 | ||
ldc.i4.1 | ||
ret | ||
ret | ||
F1: | ||
ldc.i4.0 | ||
ret | ||
} | ||
} | ||
|
||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof [netstandard]System.Byte | ||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof uint8 | ||
ret | ||
} | ||
} | ||
} |
26 changes: 13 additions & 13 deletions
26
tests/IL2C.Core.Test.BasicTypes/System_Char/System_Char.il
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
.class public IL2C.BasicTypes.System_Char | ||
{ | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.i4 12345 | ||
box [netstandard]System.Char | ||
isinst [netstandard]System.ValueType | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.i4 12345 | ||
box char | ||
isinst [netstandard]System.ValueType | ||
brnull.s F1 | ||
ldc.i4.1 | ||
ret | ||
ret | ||
F1: | ||
ldc.i4.0 | ||
ret | ||
} | ||
} | ||
|
||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof [netstandard]System.Char | ||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof char | ||
ret | ||
} | ||
} | ||
} |
26 changes: 13 additions & 13 deletions
26
tests/IL2C.Core.Test.BasicTypes/System_Double/System_Double.il
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
.class public IL2C.BasicTypes.System_Double | ||
{ | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.r8 1234567.890123 | ||
box [netstandard]System.Double | ||
isinst [netstandard]System.ValueType | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.r8 1234567.890123 | ||
box float64 | ||
isinst [netstandard]System.ValueType | ||
brnull.s F1 | ||
ldc.i4.1 | ||
ret | ||
ret | ||
F1: | ||
ldc.i4.0 | ||
ret | ||
} | ||
} | ||
|
||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof [netstandard]System.Double | ||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof float64 | ||
ret | ||
} | ||
} | ||
} |
26 changes: 13 additions & 13 deletions
26
tests/IL2C.Core.Test.BasicTypes/System_Int16/System_Int16.il
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
.class public IL2C.BasicTypes.System_Int16 | ||
{ | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.i4 12345 | ||
box [netstandard]System.Int16 | ||
isinst [netstandard]System.ValueType | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.i4 12345 | ||
box int16 | ||
isinst [netstandard]System.ValueType | ||
brnull.s F1 | ||
ldc.i4.1 | ||
ret | ||
ret | ||
F1: | ||
ldc.i4.0 | ||
ret | ||
} | ||
} | ||
|
||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof [netstandard]System.Int16 | ||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof int16 | ||
ret | ||
} | ||
} | ||
} |
26 changes: 13 additions & 13 deletions
26
tests/IL2C.Core.Test.BasicTypes/System_Int32/System_Int32.il
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
.class public IL2C.BasicTypes.System_Int32 | ||
{ | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.i4 1234567 | ||
box [netstandard]System.Int32 | ||
isinst [netstandard]System.ValueType | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.i4 1234567 | ||
box int32 | ||
isinst [netstandard]System.ValueType | ||
brnull.s F1 | ||
ldc.i4.1 | ||
ret | ||
ret | ||
F1: | ||
ldc.i4.0 | ||
ret | ||
} | ||
} | ||
|
||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof [netstandard]System.Int32 | ||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof int32 | ||
ret | ||
} | ||
} | ||
} |
26 changes: 13 additions & 13 deletions
26
tests/IL2C.Core.Test.BasicTypes/System_Int64/System_Int64.il
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
.class public IL2C.BasicTypes.System_Int64 | ||
{ | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.i8 1234567890123 | ||
box [netstandard]System.Int64 | ||
isinst [netstandard]System.ValueType | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.i8 1234567890123 | ||
box int64 | ||
isinst [netstandard]System.ValueType | ||
brnull.s F1 | ||
ldc.i4.1 | ||
ret | ||
ret | ||
F1: | ||
ldc.i4.0 | ||
ret | ||
} | ||
} | ||
|
||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof [netstandard]System.Int64 | ||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof int64 | ||
ret | ||
} | ||
} | ||
} |
26 changes: 13 additions & 13 deletions
26
tests/IL2C.Core.Test.BasicTypes/System_IntPtr/System_IntPtr.il
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
.class public IL2C.BasicTypes.System_IntPtr | ||
{ | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.i4 1234567 | ||
.method public static bool IsValueType() cil managed | ||
{ | ||
.maxstack 2 | ||
ldc.i4 1234567 | ||
conv.i | ||
box [netstandard]System.IntPtr | ||
isinst [netstandard]System.ValueType | ||
box native int | ||
isinst [netstandard]System.ValueType | ||
brnull.s F1 | ||
ldc.i4.1 | ||
ret | ||
ret | ||
F1: | ||
ldc.i4.0 | ||
ret | ||
} | ||
} | ||
|
||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof [netstandard]System.IntPtr | ||
.method public static int32 SizeOf() cil managed | ||
{ | ||
.maxstack 1 | ||
sizeof native int | ||
ret | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.