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

RemovedForwarderAttribute.cs « Assertions « Mono.Linker.Tests.Cases.Expectations « Tests « linker - github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 645a01bdc900f1f355db6f5c4dddb4b5d75ad77d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System;
namespace Mono.Linker.Tests.Cases.Expectations.Assertions
{
	[AttributeUsage (AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
	public class RemovedForwarderAttribute : BaseInAssemblyAttribute
	{
		public RemovedForwarderAttribute (string assemblyFileName, string typeName)
		{
			if (string.IsNullOrEmpty (assemblyFileName))
				throw new ArgumentException ("Value cannot be null or empty.", nameof (assemblyFileName));
			if (string.IsNullOrEmpty (typeName))
				throw new ArgumentException ("Value cannot be null or empty.", nameof (typeName));
		}
	}
}