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

KeptReferencesInAssemblyAttribute.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: 644077a1350e29faeb92a4c6bf04b16d913e1436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;

namespace Mono.Linker.Tests.Cases.Expectations.Assertions
{
	[AttributeUsage (AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
	public class KeptReferencesInAssemblyAttribute : BaseInAssemblyAttribute
	{
		public KeptReferencesInAssemblyAttribute (string assemblyFileName, string[] expectedReferenceAssemblyNames)
		{
			if (string.IsNullOrEmpty (assemblyFileName))
				throw new ArgumentNullException (nameof (assemblyFileName));

			if (expectedReferenceAssemblyNames == null)
				throw new ArgumentNullException (nameof (expectedReferenceAssemblyNames));
		}
	}
}