Skip to content

Commit

Permalink
Mention intptr and uintptr
Browse files Browse the repository at this point in the history
  • Loading branch information
schmittjoseph committed Aug 25, 2023
1 parent f6c520c commit f5948a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion documentation/api/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ Currently some types of parameters are unable to be captured. When a method cont
| Parameter Type | Example |
| -- | -- |
| [Generic type parameters](https://learn.microsoft.com/dotnet/csharp/programming-guide/generics/generic-type-parameters) | `MyMethod<T>(T t)` |
| Parameters with pass-by-reference modifiers ([`in`](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/in-parameter-modifier), [`out`](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/out-parameter-modifier), and [`ref`](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/ref)) | `MyMethod(ref int i)` |
| [`IntPtr`](https://learn.microsoft.com/dotnet/api/system.intptr) and [`UIntPtr`](https://learn.microsoft.com/dotnet/api/system.uintptr) | `IntPtr i` |
| Parameters with pass-by-reference modifiers ([`in`](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/in-parameter-modifier), [`out`](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/out-parameter-modifier), and [`ref`](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/ref)) | `ref int i` |
| [Nullable value types](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/nullable-value-types) | `int?` |
| [Pointers](https://learn.microsoft.com/dotnet/csharp/language-reference/unsafe-code#pointer-types) | `void*` |
| [Tuples](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/value-tuples) | `(int, int)` |
Expand Down

0 comments on commit f5948a8

Please sign in to comment.