a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
387 B
C#
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);
|
|
}
|
|
}
|
|
|