Skip to content

Commit 923ea69

Browse files
authored
Support Numeric IntPtr
1 parent b5694be commit 923ea69

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
@@ -273,7 +273,7 @@ A struct type is a value type that can declare constants, fields, methods, prope
273273
274274
### 8.3.5 Simple types
275275
276-
Except for `nint` and `nuint`, the simple types are aliases for predefined `struct` types in the `System` namespace, as described in the table below.
276+
The simple types are aliases for predefined `struct` types in the `System` namespace, as described in the table below.
277277
278278
**Keyword** | **Aliased type**
279279
----------- | ------------------
@@ -283,8 +283,8 @@ Except for `nint` and `nuint`, the simple types are aliases for predefined `stru
283283
`ushort` | `System.UInt16`
284284
`int` | `System.Int32`
285285
`uint` | `System.UInt32`
286-
`nint` | none; see below
287-
`nuint` | none; see below
286+
`nint` | `System.IntPtr`
287+
`nuint` | `System.UIntPtr`
288288
`long` | `System.Int64`
289289
`ulong` | `System.UInt64`
290290
`char` | `System.Char`
@@ -293,7 +293,7 @@ Except for `nint` and `nuint`, the simple types are aliases for predefined `stru
293293
`bool` | `System.Boolean`
294294
`decimal` | `System.Decimal`
295295
296-
Every simple type has members. Each simple type that is an alias for a predefined struct type, has that struct type’s members.
296+
Every simple type has members. Each simple type has its aliased struct type’s members.
297297
298298
> *Example*: `int` has the members declared in `System.Int32` and the members inherited from `System.Object`, and the following statements are permitted:
299299
>

0 commit comments

Comments
 (0)