From 6f72a35a65490817e9b4d7fb23c9323f81123986 Mon Sep 17 00:00:00 2001 From: Rob Hague Date: Thu, 4 Jul 2024 20:04:28 +0200 Subject: [PATCH] Fix unitialized -> uninitialized typo in System.GC --- xml/System/GC.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/System/GC.xml b/xml/System/GC.xml index 4d28c7fc706..2e211afb216 100644 --- a/xml/System/GC.xml +++ b/xml/System/GC.xml @@ -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.