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

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

namespace Mono.Linker.Tests.TestCasesRunner {
	public static class ExpectationsProvider {

		public static bool IsAssemblyAssertion (CustomAttribute attr)
		{
			return attr.AttributeType.Name == nameof (KeptAssemblyAttribute) || attr.AttributeType.Name == nameof (RemovedAssemblyAttribute);
		}
	}
}