Welcome to mirror list, hosted at ThFree Co, Russian Federation.

UnusedTypeWithPreserveNothingHasMembersRemoved.cs « LinkXml « Mono.Linker.Tests.Cases « Tests « linker - github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d6ea29b89b00069f3b87d13f6b1f7d818a383be8 (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
using Mono.Linker.Tests.Cases.Expectations.Assertions;

namespace Mono.Linker.Tests.Cases.LinkXml {
	class UnusedTypeWithPreserveNothingHasMembersRemoved {
		public static void Main ()
		{
		}

		[Kept]
		class Unused {
			public int Field1;
			private int Field2;
			internal int Field3;
			public static int Field4;
			private static int Field5;
			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; }

			public void Method1 ()
			{
			}

			private void Method2 ()
			{
			}

			internal void Method3 ()
			{
			}

			public static void Method4 ()
			{
			}

			private static void Method5 ()
			{
			}

			internal static void Method6 ()
			{
			}
		}
	}
}