Welcome to mirror list, hosted at ThFree Co, Russian Federation.

LogContainsAttribute.cs « Assertions « Mono.Linker.Tests.Cases.Expectations « test - github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 30f13ec55306162499af2f50a946272867929153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;

namespace Mono.Linker.Tests.Cases.Expectations.Assertions
{
    [AttributeUsage (AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
    public class LogContainsAttribute : EnableLoggerAttribute
    {
        public LogContainsAttribute (string message)
        {
            if (string.IsNullOrEmpty (message))
                throw new ArgumentException ("Value cannot be null or empty.", nameof (message));
        }
    }
}