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

test-31.il « tests « ilasm « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 19d7b454dc024080f2e6c0b6f347d918e455042a (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//
// Mono.ILASM.Tests
//
// Author(s):
//  Jackson Harper (Jackson@LatitudeGeo.com)
//
// (C) 2003 Jackson Harper, All rights reserved
//
.assembly extern corlib { }

.namespace Mono.ILASM.Tests {

           .class public PropertyTest {

                  .method public int32 get_foo ()
                  {
                          ldc.i4.1
                          ret
                  }

                  .method public void set_foo (int32)
                  {
                          ret
                  }

                  .method public void other_foo ()
                  {
                          ret
                  }

                  .method static public int32 get_static_foo ()
                  {
                          ldc.i4.1
                          ret
                  }

                  .method static public void set_static_foo (int32)
                  {
                          ret
                  }

                  .method static public void other_static_foo ()
                  {
                          ret
                  }

                  .property int32 foo (int32) = int32 (0xFFFFFFFF)
                  {
                        .get instance int32 Mono.ILASM.Tests.PropertyTest::get_foo ()
                        .set instance void Mono.ILASM.Tests.PropertyTest::set_foo (int32)
                        .other instance void Mono.ILASM.Tests.PropertyTest::other_foo () 
                  }

                  .property int32 static_foo ()
                  {
                          .get int32 Mono.ILASM.Tests.PropertyTest::get_static_foo ()
                          .set int32 Mono.ILASM.Tests.PropertyTest::set_static_foo (int32)
                          .other void Mono.ILASM.Tests.PropertyTest::other_foo ()
                  }
           }
}