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

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

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

		[Kept]
		class Unused {
			[Kept]
			public int Field1;

			private int Field2;

			[Kept]
			public void Method1 ()
			{
			}

			private void Method2 ()
			{
			}
		}
	}
}