[runtime] Avoid indirection when building MonoContext on darwin
[mono.git] / mcs / errors / cs0619-58.cs
1 // CS0619: `Program.TestEventArgs' is obsolete: `FooBar'
2 // Line: 10
3
4 using System;
5
6 namespace Program
7 {
8         public class TestClass
9         {
10                 public EventHandler<TestEventArgs> Foo;
11         }
12
13         [Obsolete(Messages.Test, true)]
14         public sealed class TestEventArgs : EventArgs
15         {
16         }
17 }
18
19 namespace Program
20 {
21         public static class Messages
22         {
23                 public const string Test = "FooBar";
24         }
25 }