Skip to content

Commit 281a93c

Browse files
RexJaeschkeBillWagner
authored andcommitted
Support Numeric IntPtr
1 parent 493a4cf commit 281a93c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

standard/types.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ A struct type is a value type that can declare constants, fields, methods, prope
275275
276276
### 8.3.5 Simple types
277277
278-
Except for `nint` and `nuint`, the simple types are aliases for predefined `struct` types in the `System` namespace, as described in the table below.
278+
The simple types are aliases for predefined `struct` types in the `System` namespace, as described in the table below.
279279
280280
**Keyword** | **Aliased type**
281281
----------- | ------------------
@@ -285,8 +285,8 @@ Except for `nint` and `nuint`, the simple types are aliases for predefined `stru
285285
`ushort` | `System.UInt16`
286286
`int` | `System.Int32`
287287
`uint` | `System.UInt32`
288-
`nint` | none; see below
289-
`nuint` | none; see below
288+
`nint` | `System.IntPtr`
289+
`nuint` | `System.UIntPtr`
290290
`long` | `System.Int64`
291291
`ulong` | `System.UInt64`
292292
`char` | `System.Char`
@@ -295,7 +295,7 @@ Except for `nint` and `nuint`, the simple types are aliases for predefined `stru
295295
`bool` | `System.Boolean`
296296
`decimal` | `System.Decimal`
297297
298-
Every simple type has members. Each simple type that is an alias for a predefined struct type, has that struct type’s members.
298+
Every simple type has members. Each simple type has its aliased struct type’s members.
299299
300300
> *Example*: `int` has any implementation-specific members declared in `System.Int32` and the members (required and implementation specific) inherited from `System.Object`, and the following statements are permitted:
301301
>

0 commit comments

Comments
 (0)