using System; namespace Mono.Linker.Tests.Cases.Expectations.Assertions { /// /// Verifies that an embedded resource exists in an assembly /// [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)); } } }