-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Fixed Enumerator variable null check #89920
Fixed Enumerator variable null check #89920
Conversation
Fixed error when _hashtableContentsToEnumerate is null. It appears always when using 'Length' property when variable is null. Also reduced nesting.
@dotnet-policy-service agree |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@VSadov could you also have a look? I'm always afraid when I see lock free because I know enough about lock free programming to understand I'm not qualified to write or review such code.
Hi, are there any updates on my pull request? |
I will take a look today. |
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
@PabloKharo - looks good to me. I just want to run a few more tests to be sure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!!
Fixed error when _hashtableContentsToEnumerate is null.
Error will always appear when this variable is null when using 'Length' property.
Also reduced nesting.
The error was detected using the Svace analyzer maded by ISP RAS.