Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs1618.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ab493783d579a06d99d94c9d2c99124869102b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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);
        }
}