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 'test/Mono.Linker.Tests.Cases.Expectations/Assertions/ExpectedLocalsSequenceAttribute.cs')
-rw-r--r--test/Mono.Linker.Tests.Cases.Expectations/Assertions/ExpectedLocalsSequenceAttribute.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases.Expectations/Assertions/ExpectedLocalsSequenceAttribute.cs b/test/Mono.Linker.Tests.Cases.Expectations/Assertions/ExpectedLocalsSequenceAttribute.cs
new file mode 100644
index 000000000..73d220588
--- /dev/null
+++ b/test/Mono.Linker.Tests.Cases.Expectations/Assertions/ExpectedLocalsSequenceAttribute.cs
@@ -0,0 +1,18 @@
+using System;
+
+namespace Mono.Linker.Tests.Cases.Expectations.Assertions {
+ [AttributeUsage (AttributeTargets.Method | AttributeTargets.Constructor, Inherited = false, AllowMultiple = false)]
+ public class ExpectedLocalsSequenceAttribute : BaseInAssemblyAttribute {
+ public ExpectedLocalsSequenceAttribute (string [] types)
+ {
+ if (types == null)
+ throw new ArgumentNullException ();
+ }
+
+ public ExpectedLocalsSequenceAttribute (Type [] types)
+ {
+ if (types == null)
+ throw new ArgumentNullException ();
+ }
+ }
+} \ No newline at end of file