diff options
author | Marek Safar <marek.safar@gmail.com> | 2017-05-09 17:50:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-09 17:50:55 +0300 |
commit | e3c3100f21b4afdcd5180d1c1dc61d24f1e09931 (patch) | |
tree | a500b72fdd0541253c5a4923fa26eb53ade4283d /linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptMemberAttribute.cs | |
parent | e4dfcf006b0705aba6b204aab2d603b781c5fc44 (diff) |
Test framework (#101)
Diffstat (limited to 'linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptMemberAttribute.cs')
-rw-r--r-- | linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptMemberAttribute.cs | 13 |
1 files changed, 13 insertions, 0 deletions
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 |