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

cs1667-3.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2bda9ffdb828c4fb21aff7419e2302ae88566209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// cs1667.cs: Attribute 'Conditional' is not valid on property or event accessors. It is valid on 'class, method' declarations only.
// Line: 10

using System;
using System.Diagnostics;

class Class1 
{
        public int G {
            [Conditional("DEBUG")]
            get {
                    return 1;
            }
	}
}