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

CreatedMemberAttribute.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: b51bf3e5d2659b9292ef022c8071cc6f56fc348f (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 | AttributeTargets.Delegate | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultiple = true, Inherited = false)]
	public sealed class CreatedMemberAttribute : BaseExpectedLinkedBehaviorAttribute
	{

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