You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// List of intrinsic types => C# type namesstaticreadonlyDictionary<TypeInfo,string>TypeMappings=newDictionary<TypeInfo,string>{//...{typeof(nint).GetTypeInfo(),"nint"},{typeof(nuint).GetTypeInfo(),"nuint"},// ...};
I think nint and nuint are somewhat new integral types, but could not tell you exactly when they were added.
For sake of completeness.
The text was updated successfully, but these errors were encountered:
The underlying types themselves are not new (IntPtr and UIntPtr date back to .NET Framework 1.1 in 2003), but the aliases are, and they require C# 9 (released in 2020). It's a compiler feature rather than a runtime feature since they're just type aliases.
As in the assert
TypeMappings
, also documented among Characteristics of the integral types, i.e.I think
nint
andnuint
are somewhat new integral types, but could not tell you exactly when they were added.For sake of completeness.
The text was updated successfully, but these errors were encountered: