Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'linker/Tests/Mono.Linker.Tests.Cases.Expectations/Metadata/SetupCompileAfterAttribute.cs')
-rw-r--r--linker/Tests/Mono.Linker.Tests.Cases.Expectations/Metadata/SetupCompileAfterAttribute.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Metadata/SetupCompileAfterAttribute.cs b/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Metadata/SetupCompileAfterAttribute.cs
new file mode 100644
index 000000000..fa580a2f8
--- /dev/null
+++ b/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Metadata/SetupCompileAfterAttribute.cs
@@ -0,0 +1,18 @@
+using System;
+
+namespace Mono.Linker.Tests.Cases.Expectations.Metadata {
+ /// <summary>
+ /// Use to compile an assembly after compiling the main test case executabe
+ /// </summary>
+ [AttributeUsage (AttributeTargets.Class, AllowMultiple = true)]
+ public class SetupCompileAfterAttribute : BaseMetadataAttribute {
+ public SetupCompileAfterAttribute (string outputName, string[] sourceFiles, string[] references = null, string[] defines = null)
+ {
+ if (sourceFiles == null)
+ throw new ArgumentNullException (nameof (sourceFiles));
+
+ if (string.IsNullOrEmpty (outputName))
+ throw new ArgumentException ("Value cannot be null or empty.", nameof (outputName));
+ }
+ }
+}