From e3c3100f21b4afdcd5180d1c1dc61d24f1e09931 Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Tue, 9 May 2017 16:50:55 +0200 Subject: Test framework (#101) --- .../Assertions/KeptMemberAttribute.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptMemberAttribute.cs (limited to 'linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptMemberAttribute.cs') diff --git a/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptMemberAttribute.cs b/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptMemberAttribute.cs new file mode 100644 index 000000000..00e55f266 --- /dev/null +++ b/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptMemberAttribute.cs @@ -0,0 +1,13 @@ +using System; + +namespace Mono.Linker.Tests.Cases.Expectations.Assertions { + [AttributeUsage (AttributeTargets.Class | AttributeTargets.Delegate, AllowMultiple = true, Inherited = false)] + public sealed class KeptMemberAttribute : KeptAttribute { + public readonly string Name; + + public KeptMemberAttribute (string name) + { + Name = name; + } + } +} \ No newline at end of file -- cgit v1.2.3