-
-
Notifications
You must be signed in to change notification settings - Fork 326
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
Fix operator equal application issue #3168
Conversation
This comment has been minimized.
This comment has been minimized.
Be a legend 🏆 by adding a before and after screenshot of the changes you made, especially if they are around UI/UX. |
📝 WalkthroughWalkthroughThe pull request modifies the Changes
Suggested labels
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Why does it compared as int64 not intptr |
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, or 📝 job summary for details.
See ❌ Event descriptions for more information. If the flagged items are 🤯 false positivesIf items relate to a ...
|
@taooceros Yeah, that makes sense. Now move to |
I am traveling now so couldn't check this but isn't the value field is intptr? |
On the other hand I think for latest c# maybe nint is preferred over intptr? I am not totally sure though |
@taooceros Sorry, I am confused with it. Firstly, I can provide you all the types here: In the first version of my codes, I use
And you comment for So I use
And now you again ask me to compare with |
For me,
So, I should use the first version? |
nint actually (not uint). Search it. It is now an alias of intptr I believe. |
I think the current one is fine. Just curious why x.HWND is not the HWND type. |
Thank you for clarifying. @jjw24 Please check. |
I just check and now I understand what's going on. Maybe later on we can change things to static type pinvoke. |
Fix operator equal application issue for #3122