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