blob: 4082fe4c85a28abfd9c914dda29f615dc0cabe76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
using System;
namespace Mono.Linker.Tests.Cases.Expectations.Assertions
{
[AttributeUsage (AttributeTargets.Class | AttributeTargets.Delegate | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultiple = true, Inherited = false)]
public sealed class KeptMemberAttribute : KeptAttribute
{
public KeptMemberAttribute (string name)
{
if (string.IsNullOrEmpty (name))
throw new ArgumentException ("Value cannot be null or empty.", nameof (name));
}
}
}
|