blob: 6f21e7b5511c01597ec92261f8e3632709ffabc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
using Mono.Linker.Tests.Cases.Expectations.Assertions;
namespace Mono.Linker.Tests.Cases.LinkXml {
class UnusedPropertyPreservedByLinkXmlIsKept {
public static void Main ()
{
}
[Kept]
class Unused {
[Kept]
[KeptBackingField]
public int PreservedProperty1 { [Kept] get; [Kept] set; }
[Kept]
[KeptBackingField]
public int PreservedProperty2 { [Kept] get; set; }
[Kept]
[KeptBackingField]
public int PreservedProperty3 { get; [Kept] set; }
[Kept]
[KeptBackingField]
public int PreservedProperty4 { [Kept] get; [Kept] set; }
[Kept]
[KeptBackingField]
public int PreservedProperty5 { [Kept] get; [Kept] set; }
[Kept]
[KeptBackingField]
public int PreservedProperty6 { [Kept] get; set; }
[Kept]
[KeptBackingField]
public int PreservedProperty7 { get; [Kept] set; }
[Kept]
[KeptBackingField]
public int PreservedProperty8 { [Kept] get; [Kept] set; }
public int NotPreservedProperty { get; set; }
}
}
}
|