Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions xml/System/GC.xml
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ If pinned is set to `true`, `T` must not be a reference type or a type that cont

If pinned is set to `true`, `T` must not be a reference type or a type that contains object references.

Skipping zero-initialization is a security risk. The unitialized array can contain invalid valuetype instances or sensitive information created by other parts of the application.
The code operating on unitialized arrays should be heavily scrutinized to ensure that the unitialized data is never read.
Skipping zero-initialization is a security risk. The uninitialized array can contain invalid valuetype instances or sensitive information created by other parts of the application.
The code operating on uninitialized arrays should be heavily scrutinized to ensure that the uninitialized data is never read.

Skipping zero-initialization using this API only has a material performance benefit for large arrays, such as buffers of several kilobytes or more.

Expand Down