2010-06-04 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs1618.cs
blobab493783d579a06d99d94c9d2c99124869102b82
1 // cs1618.cs: Cannot create delegate with `TestClass.Show(int)' because it has a Conditional attribute
2 // Line: 13
4 class TestClass
6 delegate void test_delegate (int arg);
8 [System.Diagnostics.Conditional("DEBUG")]
9 public void Show (int arg) {}
11 public TestClass ()
13 test_delegate D = new test_delegate (Show);