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
Use ValueTuple instead of Tuple for internal cache #168
Conversation
// See the LICENSE file in the project root for more information. | ||
|
||
using System.Collections.Concurrent; | ||
using System.Runtime.InteropServices; |
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.
📝 Not considering the new use of ValueTuple
, The only difference between this file and the one that's used is the placement of these using
directives.
@sharwell which Issue does this address? |
Would you mind also writing some unit tests for IsApiAvailable against expected and erroneous values? I believe CommonUnsafeNativeMethods should have some values which are expected to work |
No specific issue. I observed this by accident while investigating something else.
I can try to get these but it may take me a bit to complete the update. |
@zsd4yr Added tests |
src/System.Windows.Forms.Design.Editors/src/System.Windows.Forms.Design.Editors.csproj
Outdated
Show resolved
Hide resolved
For most of the projects I maintain, I apply labels to the pull request itself if and only if it doesn't strictly resolve one or more existing issues. On GitHub, pull requests are treated roughly equivalent to issues for search/triage/reference purposes, so you can apply labels to it to treat it as both a pull request and an issue. An issue could be created, but it would really just be noise and a new level of indirection. |
This comment has been minimized.
This comment has been minimized.
@sharwell what is the reason for no squash? Do you want to preserve history of different changes which is valuable in this specific case? Or is it something you believe is right all the time? I agree we don't need a new issue in this case. It would not bring additional value. BTW: We do not place labels on PRs - see PR guidence. |
^ the guidance has changed. I will label the pr appropriate to the request not to squash. |
ddb3300
to
63231c7
Compare
I'm rebasing this the following commits:
I'll push the second commit after I see the first one pass CI. |
63231c7
to
03a214a
Compare
No description provided.