w32file-unix.c: In function 'mono_w32file_get_file_size':
[mono-project.git] / mcs / errors / cs1618.cs
blobfc569e3b8f5344238dcac80994fd2c124e75f7f7
1 // CS1618: 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);