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

ExpectedInstructionSequenceAttribute.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: 35ead6966a4f627273b612b8c4ef22fa8716a947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;

namespace Mono.Linker.Tests.Cases.Expectations.Assertions
{
	[AttributeUsage (AttributeTargets.Method | AttributeTargets.Constructor, Inherited = false, AllowMultiple = false)]
	public class ExpectedInstructionSequenceAttribute : BaseInAssemblyAttribute
	{
		public ExpectedInstructionSequenceAttribute (string[] opCodes)
		{
			if (opCodes == null)
				throw new ArgumentNullException (nameof (opCodes));
		}
	}
}