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

KeptDelegateCacheFieldAttribute.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: 79d7a6f07f632411de6d918bf30ff1b9f9abdce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
using System;

namespace Mono.Linker.Tests.Cases.Expectations.Assertions {
	[AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct, Inherited = false, AllowMultiple = true)]
	public class KeptDelegateCacheFieldAttribute : KeptAttribute {
		public KeptDelegateCacheFieldAttribute (string uniquePartOfName)
		{
			if (string.IsNullOrEmpty (uniquePartOfName))
				throw new ArgumentNullException (nameof (uniquePartOfName));
		}
	}
}