blob: 6bbb9c28f38efbd957b08e033f1bc14f1d430cde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
using System;
namespace Mono.Linker.Tests.Cases.Expectations.Assertions
{
/// <summary>
/// Verifies that an embedded resource exists in an assembly
/// </summary>
[AttributeUsage (AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public class KeptResourceInAssemblyAttribute : BaseInAssemblyAttribute
{
public KeptResourceInAssemblyAttribute (string assemblyFileName, string resourceName)
{
if (string.IsNullOrEmpty (assemblyFileName))
throw new ArgumentNullException (nameof (assemblyFileName));
if (string.IsNullOrEmpty (resourceName))
throw new ArgumentNullException (nameof (resourceName));
}
}
}
|