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

NullReferenceException thrown by Match<T> #115

Closed
abatishchev opened this issue Jun 26, 2014 · 3 comments
Closed

NullReferenceException thrown by Match<T> #115

abatishchev opened this issue Jun 26, 2014 · 3 comments

Comments

@abatishchev
Copy link
Contributor

override bool Matches(object value) of Match<T> throws NullReferenceException because argument is null.

It's null when you pass null in a method accepting (optional) nullable struct.

Here's the code, tested with latest (0285ac0825).

@abatishchev
Copy link
Contributor Author

Any response to this please? Unit tests are failing when they aren't suppose to. Please fix.

@kzu
Copy link
Contributor

kzu commented Jul 2, 2014

Please send a PR if this is really urgent.

Thanks!

/kzu

Daniel Cazzulino | Team Lead | Xamarin for Visual Studio

On Tue, Jul 1, 2014 at 4:27 PM, Alexander Batishchev <
notifications@github.com> wrote:

Any response to this please? Unit tests are failing when they aren't
suppose to. Please fix.

Reply to this email directly or view it on GitHub
#115 (comment).

@abatishchev
Copy link
Contributor Author

Please review #116 (not sure this is the proper fix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants