From e101dd28c3fd372dc4f2b7e3d3bd8c72d0dcefc7 Mon Sep 17 00:00:00 2001 From: James Sun Date: Wed, 25 Dec 2019 17:22:00 +0800 Subject: [PATCH] fix typo in Hashtable.cs --- .../System.Private.CoreLib/src/System/Collections/Hashtable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/Collections/Hashtable.cs b/src/libraries/System.Private.CoreLib/src/System/Collections/Hashtable.cs index 7d10ecdefc78ca..e90c277cc0db74 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Collections/Hashtable.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Collections/Hashtable.cs @@ -662,7 +662,7 @@ public virtual object? this[object key] // in the same bucket. So in the reader we need to check if the hash table is modified during above steps. // // Writers (Insert, Remove, Clear) will set 'isWriterInProgress' flag before it starts modifying - // the hashtable and will ckear the flag when it is done. When the flag is cleared, the 'version' + // the hashtable and will clear the flag when it is done. When the flag is cleared, the 'version' // will be increased. We will repeat the reading if a writer is in progress or done with the modification // during the read. //