Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect exception whe using non-static Regex.IsMatch #59

Open
uksus70 opened this issue Jan 26, 2011 · 0 comments
Open

Incorrect exception whe using non-static Regex.IsMatch #59

uksus70 opened this issue Jan 26, 2011 · 0 comments

Comments

@uksus70
Copy link

uksus70 commented Jan 26, 2011

When I try to use an instance of Regex in the predicate of my Linq expression, I get ArgumentOutOfRangeException. Whereas there should be the following exception:

throw new NotSupportedException(string.Format("Only the static Regex.IsMatch is supported.", m.Method.Name));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant