Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-uint.il « tests « ilasm « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9d65b0ebc53a81e86ae8995c0f14df35cf68292f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//Test for keywords : uint8, uint16, uint32 & uint64
//Should get parsed as unsigned int8 .. etc
//
//uint8 in marshal (..) should get parsed as native types

.assembly Test
{
}

.namespace MonoTest
{
	.class private auto autochar beforefieldinit ConsoleApp
		extends [mscorlib]System.Object
		{
    			.field  private  marshal (uint8) int32 a0
    			.field  private  marshal (uint16) int32 a1
    			.field  private  marshal (uint32) int32 a2
    			.field  private  marshal (uint64) int64 a3

			.method assembly hidebysig static void Test() cil managed
			{
				// Code size       74 (0x4a)
				.maxstack  2

				.locals init (uint8 V_0,
						uint16 V_1,
						uint32 V_2,
						uint64 V_3)
				ret
			}
		}
}