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

InterfaceTypeOnlyUsedHasInterfacesRemoved.cs « OnReferenceType « Inheritance.Interfaces « Mono.Linker.Tests.Cases « test - github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2a444ac3d3122264bf03c1b46c14e7254779f640 (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.Inheritance.Interfaces.OnReferenceType {
	public class InterfaceTypeOnlyUsedHasInterfacesRemoved {
		public static void Main ()
		{
			var tmp = typeof (IUsed).ToString ();
		}

		interface IRemovable1 {
		}

		interface IRemovable2 {
		}

		[Kept]
		interface IUsed : IRemovable1, IRemovable2 {
		}
	}
}