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

KeptSymbolsAttribute.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: 619d8f880fa03a62c7c14359071332f1968e5e6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;

namespace Mono.Linker.Tests.Cases.Expectations.Assertions
{
	[AttributeUsage (AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
	public class KeptSymbolsAttribute : KeptAttribute
	{
		public KeptSymbolsAttribute (string assemblyFileName)
		{
			if (string.IsNullOrEmpty (assemblyFileName))
				throw new ArgumentException ("Value cannot be null or empty.", nameof (assemblyFileName));
		}
	}
}