diff options
Diffstat (limited to 'test/Mono.Linker.Tests.Cases.Expectations/Metadata/SetupLinkerUserActionAttribute.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases.Expectations/Metadata/SetupLinkerUserActionAttribute.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases.Expectations/Metadata/SetupLinkerUserActionAttribute.cs b/test/Mono.Linker.Tests.Cases.Expectations/Metadata/SetupLinkerUserActionAttribute.cs new file mode 100644 index 000000000..6185bbbf5 --- /dev/null +++ b/test/Mono.Linker.Tests.Cases.Expectations/Metadata/SetupLinkerUserActionAttribute.cs @@ -0,0 +1,12 @@ +using System; + +namespace Mono.Linker.Tests.Cases.Expectations.Metadata { + [AttributeUsage (AttributeTargets.Class, AllowMultiple = false)] + public class SetupLinkerUserActionAttribute : BaseMetadataAttribute { + public SetupLinkerUserActionAttribute (string action) + { + if (string.IsNullOrEmpty (action)) + throw new ArgumentNullException (nameof (action)); + } + } +}
\ No newline at end of file |