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

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

namespace Mono.Linker.Tests.Cases.References
{
	// Actions:
	// link - This assembly
	// link - lib.exe

	[SetupCompileBefore ("lib.exe", new[] { "Dependencies/ReferenceWithEntryPoint_Lib.cs" })]
	[KeptAssembly ("lib.exe")]
	[KeptMemberInAssembly ("lib.exe", typeof (ReferenceWithEntryPoint_Lib), "UsedMethod()")]
	class ReferenceWithEntryPoint
	{
		public static void Main ()
		{
			ReferenceWithEntryPoint_Lib.UsedMethod ();
		}
	}
}