Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

17 lines
387 B
C#

// CS1618: 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);
}
}