Skip to content

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

@uksus70

Description

@uksus70

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));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions