* CommandLineException.cs (Message): Include the inner exception message
[mcs.git] / errors / cs1667-3.cs
blob5a3492690935dfb9381ceaeb6058c09a00ee6769
1 // CS1667: Attribute `System.Diagnostics.ConditionalAttribute' is not valid on property or event accessors. It is valid on `method' declarations only
2 // GMCS1667: Attribute `System.Diagnostics.ConditionalAttribute' is not valid on property or event accessors. It is valid on `class, method' declarations only
3 // Line: 11
5 using System;
6 using System.Diagnostics;
8 class Class1
10 public int G {
11 [Conditional("DEBUG")]
12 get {
13 return 1;