blob: b51755dca3003ac1e1e601fee0764c74dbd9dc80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
using System;
namespace Mono.Linker.Tests.Cases.Expectations.Metadata {
[AttributeUsage (AttributeTargets.Class, AllowMultiple = true)]
public class SandboxDependencyAttribute : BaseMetadataAttribute {
public SandboxDependencyAttribute (string relativePathToFile, string destinationFileName = null)
{
if (string.IsNullOrEmpty (relativePathToFile))
throw new ArgumentException ("Value cannot be null or empty.", nameof (relativePathToFile));
}
public SandboxDependencyAttribute (Type typeOfSourceFileToInclude, string destinationFileName = null)
{
if (typeOfSourceFileToInclude == null)
throw new ArgumentException ("Value cannot be null or empty.", nameof (typeOfSourceFileToInclude));
}
}
}
|