public static Expression GetContextExpression(MethodInfo method = null) { method = method ?? GetMethodInfo(); var type = new InvocationTypeProvider().GetInvocationType(method); return(Expression.Default(type)); }
public void SetUp() { _provider = new InvocationTypeProvider(); }