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

CopyOfCoreLibrariesKeepsUnusedTypes.cs « CoreLink « Mono.Linker.Tests.Cases « Tests « linker - github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 25ee13f243195cae49367e157e7c8f79440f69ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using Mono.Linker.Tests.Cases.Expectations.Assertions;
using Mono.Linker.Tests.Cases.Expectations.Metadata;

namespace Mono.Linker.Tests.Cases.CoreLink
{
	[CoreLink ("copy")]
	[KeptAssembly ("mscorlib.dll")]
	// These types are normally removed when the core libraries are linked
	[KeptTypeInAssembly ("mscorlib.dll", typeof (ConsoleKeyInfo))]
	[KeptTypeInAssembly ("mscorlib.dll", typeof (System.Collections.ObjectModel.KeyedCollection<,>))]
	class CopyOfCoreLibrariesKeepsUnusedTypes
	{
		public static void Main()
		{
		}
	}
}