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

Adjust implementation of MemberSemanticModel.GetEnclosingBinderInternal to avoid NullReferenceException. #11542

Merged
merged 1 commit into from
May 25, 2016

Conversation

AlekseyTs
Copy link
Contributor

The change addresses the situation when SemanticModel is created to speculate on a With block and the function is trying to locate a binder for the With expression within the block.

Fixes https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_workitems?id=187910&_a=edit.

@dotnet/roslyn-compiler Please review Update3 fix.

@MattGertz, @jaredpar For approval.

…al to avoid NullReferenceException.

The change addresses the situation when SemanticModel is created to speculate on a With block and the function is trying to locate a binder for the With expression within the block.

Fixes https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_workitems?id=187910&_a=edit.
@MattGertz
Copy link
Contributor

Approved pending tests/PRs

@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler Please review Update 3 fix.

@jcouv
Copy link
Member

jcouv commented May 25, 2016

LGTM

1 similar comment
@VSadov
Copy link
Member

VSadov commented May 25, 2016

LGTM

@AlekseyTs AlekseyTs merged commit 2b079d8 into dotnet:master May 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants