You've already forked linux-packaging-mono
Imported Upstream version 4.3.2.467
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
25
mcs/errors/cs0619-58.cs
Normal file
25
mcs/errors/cs0619-58.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
// CS0619: `Program.TestEventArgs' is obsolete: `FooBar'
|
||||
// Line: 10
|
||||
|
||||
using System;
|
||||
|
||||
namespace Program
|
||||
{
|
||||
public class TestClass
|
||||
{
|
||||
public EventHandler<TestEventArgs> Foo;
|
||||
}
|
||||
|
||||
[Obsolete(Messages.Test, true)]
|
||||
public sealed class TestEventArgs : EventArgs
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
namespace Program
|
||||
{
|
||||
public static class Messages
|
||||
{
|
||||
public const string Test = "FooBar";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user