public void Func2Test() { MethodInfo expected = typeof(StaticReflectionTests).GetMethod("Func2"); MethodInfo actual = StaticReflection.MethodInfo <int, int>(Func2); Assert.AreEqual(expected, actual); }
public void Proc3Test() { MethodInfo expected = typeof(StaticReflectionTests).GetMethod("Proc3"); MethodInfo actual = StaticReflection.MethodInfo <int, int>(Proc3); Assert.AreEqual(expected, actual); }