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

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

namespace Mono.Linker.Tests.Cases.Attributes {
	[Foo]
	[KeptAttributeAttribute (typeof (FooAttribute))]
	class AttributeOnPreservedTypeIsKept {
		public static void Main ()
		{
		}

		[KeptBaseType (typeof (System.Attribute))]
		class FooAttribute : Attribute {
			[Kept]
			public FooAttribute ()
			{
			}
		}
	}
}