[runtime] Fix monitor exception throwing
[mono.git] / mcs / tools / linker / Tests / TestCases / Linker / SimpleXml / Library.cs
1 using System;
2
3 public class Foo {
4
5         int _baz;
6         [NotLinked] int _shebang;
7
8         public Foo ()
9         {
10                 _baz = 42;
11         }
12
13         public int Baz ()
14         {
15                 return _baz;
16         }
17
18         [NotLinked] public int Shebang (int bang)
19         {
20                 return _shebang = bang * 2;
21         }
22 }
23
24 public class Bar {
25
26         int _truc;
27
28         public Bar ()
29         {
30                 _truc = 12;
31         }
32
33         public int Truc ()
34         {
35                 return _truc;
36         }
37 }
38
39 [NotLinked] public class Gazonk {
40 }
41
42 [NotLinked, AttributeUsage (AttributeTargets.All)]
43 public class NotLinkedAttribute : Attribute {
44 }