blob: e1bba7364ffdc10531254c6fc078e41340a0e7a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using System;
namespace Mono.Linker.Tests.Cases.Expectations.Assertions
{
[AttributeUsage (AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public class DependencyRecordedAttribute : BaseExpectedLinkedBehaviorAttribute
{
public DependencyRecordedAttribute(string source, string target, string marked = null)
{
if (string.IsNullOrEmpty (source))
throw new ArgumentException ("Value cannot be null or empty.", nameof (source));
if (string.IsNullOrEmpty (target))
throw new ArgumentException ("Value cannot be null or empty.", nameof (target));
}
}
}
|