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

SetupCompileResourceAttribute.cs « Metadata « Mono.Linker.Tests.Cases.Expectations « test - github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b86a162c581dfe46e6d251c895d88cf66053eb7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
using System;

namespace Mono.Linker.Tests.Cases.Expectations.Metadata {
	[AttributeUsage (AttributeTargets.Class, AllowMultiple = true)]
	public class SetupCompileResourceAttribute : BaseMetadataAttribute {
		public SetupCompileResourceAttribute (string relativePathToFile, string destinationFileName = null)
		{
			if (string.IsNullOrEmpty (relativePathToFile))
				throw new ArgumentException ("Value cannot be null or empty.", nameof (relativePathToFile));
		}
	}
}