blob: 1af6f453008b262585f3c9c5ef8817cd7a5661a6 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
using Mono.Linker.Tests.Cases.Expectations.Assertions;
namespace Mono.Linker.Tests.Cases.LinkXml {
class UnusedTypeWithPreserveFieldsHasMethodsRemoved {
public static void Main ()
{
}
[Kept]
class Unused {
[Kept]
public int Field1;
[Kept]
private int Field2;
[Kept]
internal int Field3;
[Kept]
public static int Field4;
[Kept]
private static int Field5;
[Kept]
internal static int Field6;
public string Property1 { get; set; }
private string Property2 { get; set; }
internal string Property3 { get; set; }
public static string Property4 { get; set; }
private static string Property5 { get; set; }
internal static string Property6 { get; set; }
[Kept]
public void PreservedMethod ()
{
}
public void Method1 ()
{
}
private void Method2 ()
{
}
internal void Method3 ()
{
}
public static void Method4 ()
{
}
private static void Method5 ()
{
}
internal static void Method6 ()
{
}
}
}
}
|