-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Champion: numeric IntPtr #6065
Comments
@jcouv looks like https://github.com/dotnet/csharplang/blob/main/proposals/numeric-intptr.md is broken. |
Yes, the spec is still only a draft PR for now. The link will work by next week. |
src\System.Windows.Forms.Primitives\src\System\Windows\Forms\Message.cs#L31 src\System.Windows.Forms.Primitives\src\System\Windows\Forms\Message.cs(31,30): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'HWnd.get' is not part of the declared API.
src\System.Windows.Forms.Primitives\src\System\Windows\Forms\Message.cs#L31 src\System.Windows.Forms.Primitives\src\System\Windows\Forms\Message.cs(31,30): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'HWnd.get' is not part of the declared API.
[main] Update dependencies from dotnet/arcade - Got rid of API Compat warnings resulting from dotnet/csharplang#6065 : src\System.Windows.Forms.Primitives\src\System\Windows\Forms\Message.cs#L31 src\System.Windows.Forms.Primitives\src\System\Windows\Forms\Message.cs(31,30): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'HWnd.get' is not part of the declared API. - Suppress IL2057, IL2062, ILL2096 messages about API that need trimmable annotations
@jcouv In section 11.10 Shift Operators, the right argument is of time |
@walczakb That was a typo. Thanks for spotting. Fixed |
numeric IntPtr
Summary
System.IntPtr
andSystem.UIntPtr
become numeric types, aliased bynint
andnuint
, and gain the built-in status ofnint
andnuint
.Motivation
As part of numerics work for .NET 7,
System.IntPtr
andSystem.UIntPtr
are becoming proper numeric types.So the distinction between native integer types and their underlying types becomes unnecessary.
Detailed design
https://github.com/dotnet/csharplang/blob/main/proposals/csharp-11.0/numeric-intptr.md
Drawbacks
Alternatives
Unresolved questions
Design meetings
The text was updated successfully, but these errors were encountered: