-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Clarify behavior of OfType() with null values #7375
Conversation
Docs Build status updates of commit 0ce71d4: ✅ Validation status: passed
For more details, please refer to the build report. Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report. For any questions, please:
|
ping @KathleenDollard |
Any updates on that? Not sure what's up with the Snippets 5000 check - not related to the change. |
closing and reopening for a fresh build (I Think the out-of-support versions have been addressed) |
I looked everything over. I'll approve the changes once we have a clean build. The issue with the snippets build is that it's using |
Docs Build status updates of commit 0ce71d4: ✅ Validation status: passed
For more details, please refer to the build report. Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report. For any questions, please:
|
Learn Build status updates of commit 3e70262: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Learn Build status updates of commit f134982: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
OfType<T>
does not take all elements that can be cast. It skipsnull
.And consequently the hint that
Cast<T>
would instead throw is a bit misleading too.BR Matthias