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

UnusedTypeIsPresservedWhenEntireAssemblyIsPreserved.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: 246c80af64d77879b5c7fbb6fad86d7f547e02f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using Mono.Linker.Tests.Cases.Expectations.Assertions;

namespace Mono.Linker.Tests.Cases.LinkXml {

	[KeptMember(".ctor()")]
	class UnusedTypeIsPresservedWhenEntireAssemblyIsPreserved {
		public static void Main ()
		{
		}

		[Kept]
		[KeptMember (".ctor()")]
		class Unused {
			[Kept]
			void Foo ()
			{
			}
		}
	}
}