blob: 1dd4daaa155f3017d6f6dd9a2d75abbf7ad62650 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using System;
namespace Mono.Linker.Tests.Cases.Expectations.Assertions
{
[AttributeUsage (
AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Constructor | AttributeTargets.Field,
AllowMultiple = true,
Inherited = false)]
public class LogContainsAttribute : EnableLoggerAttribute
{
public LogContainsAttribute (string message, bool regexMatch = false)
{
if (string.IsNullOrEmpty (message))
throw new ArgumentException ("Value cannot be null or empty.", nameof (message));
}
}
}
|