diff options
Diffstat (limited to 'test/Mono.Linker.Tests.Cases.Expectations/Assertions/ExpectedLocalsSequenceAttribute.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases.Expectations/Assertions/ExpectedLocalsSequenceAttribute.cs | 18 |
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 |