Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0619-58.cs
blobca274ff4554272f4aeb95881c6139cb3bbdf77fd
1 // CS0619: `Program.TestEventArgs' is obsolete: `FooBar'
2 // Line: 10
4 using System;
6 namespace Program
8 public class TestClass
10 public EventHandler<TestEventArgs> Foo;
13 [Obsolete(Messages.Test, true)]
14 public sealed class TestEventArgs : EventArgs
19 namespace Program
21 public static class Messages
23 public const string Test = "FooBar";