Beispiel #1
0
        public void ArgumentsFunc()
        {
            int i      = 0;
            var actual = NameOf.Arguments(() => DummyMethod(i));

            CollectionAssert.AreEqual(new[] { "arg" }, actual.Select(x => x.Name));
            CollectionAssert.AreEqual(new[] { 0 }, actual.Select(x => x.Value));
        }