Update LambdaExpressionVistor to throw more specific exception if method was not found in context class.
Example:
class ExpressionContext { }
expression Get([Param]) == 0'.
'ToLambda<ExpressionContext,bool>()' throws System.ArgumentNullException : Value cannot be null. Parameter name: method - no method name (Get) provided in exception
Update LambdaExpressionVistor to throw more specific exception if method was not found in context class.
Example:
class ExpressionContext { }
expressionGet([Param]) == 0'
.'ToLambda<ExpressionContext,bool>()' throws
System.ArgumentNullException : Value cannot be null. Parameter name: method
- no method name (Get) provided in exception