[runtime] Fix monitor exception throwing
[mono.git] / mcs / tools / linker / Tests / TestCases / Linker / Simple / Library.cs
1 using System;
2
3 public class Library {
4
5         private int _pouet;
6         [NotLinked] private int _hey;
7
8         public Library ()
9         {
10                 _pouet = 1;
11         }
12
13         [NotLinked] public Library (int pouet)
14         {
15                 _pouet = pouet;
16         }
17
18         public int Hello ()
19         {
20                 Console.WriteLine ("Hello");
21                 return _pouet;
22         }
23
24         [NotLinked] public void Hey (int hey)
25         {
26                 _hey = hey;
27                 Console.WriteLine (_hey);
28         }
29 }
30
31
32 [NotLinked] public class Toy {
33 }
34
35 [NotLinked, AttributeUsage (AttributeTargets.All)]
36 public class NotLinkedAttribute : Attribute {
37 }