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

KeptInitializerData.cs « Assertions « Mono.Linker.Tests.Cases.Expectations « test - github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b2c5647f0d7aaf513774f038469f4d7858b2ad07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 occurrenceIndexInBody)
		{
			if (occurrenceIndexInBody < 0)
				throw new ArgumentException ();
		}
	}
}