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/KeptInitializerData.cs')
-rw-r--r--test/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptInitializerData.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptInitializerData.cs b/test/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptInitializerData.cs
new file mode 100644
index 000000000..c0ce6ef0b
--- /dev/null
+++ b/test/Mono.Linker.Tests.Cases.Expectations/Assertions/KeptInitializerData.cs
@@ -0,0 +1,17 @@
+using System;
+
+namespace Mono.Linker.Tests.Cases.Expectations.Assertions {
+ [AttributeUsage (AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
+ public class KeptInitializerData : KeptAttribute {
+
+ public KeptInitializerData ()
+ {
+ }
+
+ public KeptInitializerData (int occuranceIndexInBody)
+ {
+ if (occuranceIndexInBody < 0)
+ throw new ArgumentException ();
+ }
+ }
+} \ No newline at end of file