public void GetMethodInfoStaticFunctionVariableTest() { Expression <Func <int> > expression = () => Test8.Method5(); var result = ReflectionExpressions.GetMethodInfo(expression); Assert.AreEqual("Method5", result.Name); }
public void GetMethodInfoStaticFunctionTest() { var result = ReflectionExpressions.GetMethodInfo(() => Test8.Method5()); Assert.AreEqual("Method5", result.Name); }