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 in parameterised block's last child is null. #15469

Closed
JonHanna opened this issue Oct 16, 2015 · 0 comments
Closed

Incorrect exception in parameterised block's last child is null. #15469

JonHanna opened this issue Oct 16, 2015 · 0 comments

Comments

@JonHanna
Copy link
Contributor

Creating a block from a list of expressions which contains a null normally throws ArgumentNullException.

However, if this null expression is the last expression, and if the block has variables and doesn't have an explicitly set type, then it throws NullReferenceException instead.

JonHanna referenced this issue in JonHanna/corefx Oct 16, 2015
@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 1.0.0-rtm milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jan 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants