diff options
Diffstat (limited to 'test/Mono.Linker.Tests.Cases.Expectations/Assertions/RemovedSymbolsAttribute.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases.Expectations/Assertions/RemovedSymbolsAttribute.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases.Expectations/Assertions/RemovedSymbolsAttribute.cs b/test/Mono.Linker.Tests.Cases.Expectations/Assertions/RemovedSymbolsAttribute.cs new file mode 100644 index 000000000..633617245 --- /dev/null +++ b/test/Mono.Linker.Tests.Cases.Expectations/Assertions/RemovedSymbolsAttribute.cs @@ -0,0 +1,12 @@ +using System; + +namespace Mono.Linker.Tests.Cases.Expectations.Assertions { + [AttributeUsage (AttributeTargets.Class, AllowMultiple = true, Inherited = false)] + public class RemovedSymbolsAttribute : BaseExpectedLinkedBehaviorAttribute { + public RemovedSymbolsAttribute (string assemblyFileName) + { + if (string.IsNullOrEmpty (assemblyFileName)) + throw new ArgumentException ("Value cannot be null or empty.", nameof (assemblyFileName)); + } + } +}
\ No newline at end of file |