b9c3f02f1abaab8b8609f11f559cd1c7c1addc87
[mono.git] / mcs / tools / linker / Tests / TestCases / Linker / VirtualCall / Library.cs
1 using System;
2
3 public class Library {
4
5         public Library ()
6         {
7         }
8
9         public int Shebang ()
10         {
11                 return Bang ();
12         }
13
14         protected virtual int Bang ()
15         {
16                 return 1;
17         }
18 }
19
20
21 public class PowerFulLibrary : Library {
22
23         protected override int Bang ()
24         {
25                 return 0;
26         }
27 }
28
29 [NotLinked, AttributeUsage (AttributeTargets.All)]
30 public class NotLinkedAttribute : Attribute {
31 }