Пример #1
0
        static void AssertMethod(string code, string method_name)
        {
            var method = GetMethod(method_name);

            Assert.AreEqual(Normalize(code), Normalize(Formatter.FormatMethodBody(method)));
        }
 static void AssertMethod(string code, DynamicMethod method)
 {
     Assert.AreEqual(Normalize(code),
                     Normalize(Formatter.FormatMethodBody(method)));
 }