Add assert when dllmap is disabled and fix support build in netcore mode
[mono-project.git] / mono / tests / custom-attr-errors-lib.cs
blob986a3f6369b1bbe05114601d5b7ecd141b696890
1 using System;
3 #if WITH_MEMBERS
4 public class DisappearingType { }
6 public sealed class MissingAttribute : Attribute {}
8 public enum DisappearingEnum {
9 V0
11 #endif
14 public sealed class MissingCtorAttribute : Attribute {
15 #if WITH_MEMBERS
16 public MissingCtorAttribute (int i) {}
17 #endif
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