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

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

namespace Mono.Linker.Tests.Cases.Expectations.Assertions {
	/// <summary>
	/// Verifies that an assembly does not exist in the output directory
	/// </summary>
	[AttributeUsage (AttributeTargets.Class | AttributeTargets.Delegate, AllowMultiple = true, Inherited = false)]
	public class RemovedAssemblyAttribute : BaseExpectedLinkedBehaviorAttribute {

		public RemovedAssemblyAttribute (string fileName)
		{
			if (string.IsNullOrEmpty (fileName))
				throw new ArgumentException ("Value cannot be null or empty.", nameof (fileName));
		}
	}
}