Files
mono/mcs/errors/cs1618.cs
T
Marek Safar 0c31213775 error messages review
svn path=/trunk/mcs/; revision=46724
2005-06-29 14:55:08 +00:00

17 lines
390 B
C#

// cs1618.cs: Cannot create delegate with `TestClass.Show(int)' because it has a Conditional attribute
// Line: 13
class TestClass
{
delegate void test_delegate (int arg);
[System.Diagnostics.Conditional("DEBUG")]
public void Show (int arg) {}
public TestClass ()
{
test_delegate D = new test_delegate (Show);
}
}