diff options
author | Mike Voorhees <michaelv@unity3d.com> | 2017-05-31 00:13:58 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2017-05-31 11:17:50 +0300 |
commit | ec55e57a57a77f0ff8209dcdf9c5a7ee3e73befa (patch) | |
tree | d488f2b62396d10e485a6d9c96ab032549d08cf8 /linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions | |
parent | 88462b1005925c5fd8481ffb53e1e918f45b9b88 (diff) |
Better struct support in test framework
Diffstat (limited to 'linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions')
-rw-r--r-- | linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptInterfaceAttribute.cs | 2 | ||||
-rw-r--r-- | linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptMemberAttribute.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptInterfaceAttribute.cs b/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptInterfaceAttribute.cs index b6af7dc0f..9314b4712 100644 --- a/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptInterfaceAttribute.cs +++ b/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptInterfaceAttribute.cs @@ -2,7 +2,7 @@ namespace Mono.Linker.Tests.Cases.Expectations.Assertions { - [AttributeUsage (AttributeTargets.Class, AllowMultiple = true, Inherited = false)] + [AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)] public class KeptInterfaceAttribute : KeptAttribute { diff --git a/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptMemberAttribute.cs b/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptMemberAttribute.cs index e7b77ef8b..34cfc5503 100644 --- a/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptMemberAttribute.cs +++ b/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptMemberAttribute.cs @@ -1,7 +1,7 @@ using System; namespace Mono.Linker.Tests.Cases.Expectations.Assertions { - [AttributeUsage (AttributeTargets.Class | AttributeTargets.Delegate, AllowMultiple = true, Inherited = false)] + [AttributeUsage (AttributeTargets.Class | AttributeTargets.Delegate | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)] public sealed class KeptMemberAttribute : KeptAttribute { public KeptMemberAttribute (string name) |