Пример #1
0
        public void NotNull_NotNull_ReturnsValue()
        {
            var param = new object();

            Assert.That(Require.NotNull(param, C_ParamName), Is.SameAs(param));
        }
Пример #2
0
        public static Result Fail([NotNull] Exception AError)
        {
            Require.NotNull(AError, nameof(AError));

            return(new Result(AError));
        }