Merge pull request #5382 from kumpera/pedump_fix
[mono.git] / mono / tests / custom-attr-errors-lib.cs
1 using System;
2
3 #if WITH_MEMBERS
4 public class DisappearingType { }
5
6 public sealed class MissingAttribute : Attribute {}
7
8 public enum DisappearingEnum {
9         V0
10 }
11 #endif
12
13
14 public sealed class MissingCtorAttribute : Attribute {
15 #if WITH_MEMBERS
16         public MissingCtorAttribute (int i) {}
17 #endif
18 }
19
20 public sealed class BadAttrAttribute : Attribute {
21 #if WITH_MEMBERS
22         public int Field, Field2;
23         public int Property { get; set; }
24         public int Property2 { get; set; }
25         public int Property3 { get; set; }
26 #else
27         public string Field2;
28         public double Property2 { get; set; }
29         public int Property3 { get { return 0; } }
30 #endif
31
32 }