From 4df1be73ae83ad1e747519d09f67faace6b8aba7 Mon Sep 17 00:00:00 2001 From: John Doe Date: Wed, 14 Feb 2018 08:08:24 -0800 Subject: [PATCH] Typos (dotnet/corert#5386) * acces -> access * accesss -> access * acknowleges -> acknowledges * actitivy -> activity * Additonally -> Additionally * Activable -> Activatable * adjustting -> adjusting * Aggresive -> Aggressive * agressively -> aggressively * agressive -> aggressive * Aleady -> Already * alernate -> alternate * aligh -> align * Alloctor -> Allocator * allready -> already * Althought -> Although * Amonst -> Amongst * anthing -> anything * Anthyhing -> Anything * Aquired -> Acquired * aquire -> acquire * Architecure -> Architecture * Arthimatic -> Arithmetic * artiface -> artifact * artifical -> artificial * Arugment -> Argument * assigining -> assigning * atomicly -> atomically * auxillary -> auxiliary * avilability -> availability Signed-off-by: dotnet-bot --- src/mscorlib/shared/System/Diagnostics/Tracing/EventProvider.cs | 2 +- src/mscorlib/shared/System/Globalization/CompareInfo.cs | 4 ++-- src/mscorlib/shared/System/Globalization/DateTimeParse.cs | 8 ++++---- src/mscorlib/shared/System/OverflowException.cs | 2 +- src/mscorlib/shared/System/Text/UTF8Encoding.cs | 2 +- src/mscorlib/shared/System/Threading/ReaderWriterLockSlim.cs | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/mscorlib/shared/System/Diagnostics/Tracing/EventProvider.cs b/src/mscorlib/shared/System/Diagnostics/Tracing/EventProvider.cs index 4e45a98..fafdd7c 100644 --- a/src/mscorlib/shared/System/Diagnostics/Tracing/EventProvider.cs +++ b/src/mscorlib/shared/System/Diagnostics/Tracing/EventProvider.cs @@ -182,7 +182,7 @@ namespace System.Diagnostics.Tracing // // - // check if the object has been allready disposed + // check if the object has been already disposed // if (m_disposed) return; diff --git a/src/mscorlib/shared/System/Globalization/CompareInfo.cs b/src/mscorlib/shared/System/Globalization/CompareInfo.cs index 61478a4..88af26d 100644 --- a/src/mscorlib/shared/System/Globalization/CompareInfo.cs +++ b/src/mscorlib/shared/System/Globalization/CompareInfo.cs @@ -94,7 +94,7 @@ namespace System.Globalization ** culture the ID of the culture ** assembly the assembly which contains the sorting table. **Exceptions: - ** ArugmentNullException when the assembly is null + ** ArgumentNullException when the assembly is null ** ArgumentException if culture is invalid. ============================================================================*/ // Assembly constructor should be deprecated, we don't act on the assembly information any more @@ -121,7 +121,7 @@ namespace System.Globalization ** name the name of the culture ** assembly the assembly which contains the sorting table. **Exceptions: - ** ArugmentNullException when the assembly is null + ** ArgumentNullException when the assembly is null ** ArgumentException if name is invalid. ============================================================================*/ // Assembly constructor should be deprecated, we don't act on the assembly information any more diff --git a/src/mscorlib/shared/System/Globalization/DateTimeParse.cs b/src/mscorlib/shared/System/Globalization/DateTimeParse.cs index 40962f8..049aae3 100644 --- a/src/mscorlib/shared/System/Globalization/DateTimeParse.cs +++ b/src/mscorlib/shared/System/Globalization/DateTimeParse.cs @@ -1200,7 +1200,7 @@ new DS[] { DS.ERROR, DS.TX_NNN, DS.TX_NNN, DS.TX_NNN, DS.ERROR, DS.ERROR, } else if ((!Char.IsWhiteSpace(ch))) { - // Anthyhing other than whitespace outside hashes is invalid + // Anything other than whitespace outside hashes is invalid if (!foundStart || foundEnd) { return false; @@ -2108,7 +2108,7 @@ new DS[] { DS.ERROR, DS.TX_NNN, DS.TX_NNN, DS.TX_NNN, DS.ERROR, DS.ERROR, } if (result.Year != -1) { - // Aleady has a year suffix + // Already has a year suffix result.SetBadDateTimeFailure(); return false; } @@ -2702,7 +2702,7 @@ new DS[] { DS.ERROR, DS.TX_NNN, DS.TX_NNN, DS.TX_NNN, DS.ERROR, DS.ERROR, // // We have to check day of week before we adjust to the time zone. - // Otherwise, the value of day of week may change after adjustting to the time zone. + // Otherwise, the value of day of week may change after adjusting to the time zone. // if (raw.dayOfWeek != -1) { @@ -2860,7 +2860,7 @@ new DS[] { DS.ERROR, DS.TX_NNN, DS.TX_NNN, DS.TX_NNN, DS.ERROR, DS.ERROR, } // The constructor should always succeed because of the range check earlier in the function - // Althought it is UTC, internally DateTimeOffset does not use this flag + // Although it is UTC, internally DateTimeOffset does not use this flag result.parsedDate = new DateTime(utcTicks, DateTimeKind.Utc); result.timeZoneOffset = TimeSpan.Zero; } diff --git a/src/mscorlib/shared/System/OverflowException.cs b/src/mscorlib/shared/System/OverflowException.cs index 963825b..e28dcb8 100644 --- a/src/mscorlib/shared/System/OverflowException.cs +++ b/src/mscorlib/shared/System/OverflowException.cs @@ -6,7 +6,7 @@ ** ** ** -** Purpose: Exception class for Arthimatic Overflows. +** Purpose: Exception class for Arithmetic Overflows. ** ** =============================================================================*/ diff --git a/src/mscorlib/shared/System/Text/UTF8Encoding.cs b/src/mscorlib/shared/System/Text/UTF8Encoding.cs index a89af8e..67f87c9 100644 --- a/src/mscorlib/shared/System/Text/UTF8Encoding.cs +++ b/src/mscorlib/shared/System/Text/UTF8Encoding.cs @@ -852,7 +852,7 @@ namespace System.Text { if (ch == 0) { - // Check if there's anthing left to get out of the fallback buffer + // Check if there's anything left to get out of the fallback buffer ch = fallbackBuffer != null ? fallbackBuffer.InternalGetNextChar() : 0; if (ch > 0) { diff --git a/src/mscorlib/shared/System/Threading/ReaderWriterLockSlim.cs b/src/mscorlib/shared/System/Threading/ReaderWriterLockSlim.cs index 3c4aad6..4517548 100644 --- a/src/mscorlib/shared/System/Threading/ReaderWriterLockSlim.cs +++ b/src/mscorlib/shared/System/Threading/ReaderWriterLockSlim.cs @@ -1249,7 +1249,7 @@ namespace System.Threading } // Don't want to Sleep(1) in this spin wait: - // - Don't want to spin for that long, since a proper wait will follow when the spin wait fails. The artifical + // - Don't want to spin for that long, since a proper wait will follow when the spin wait fails. The artificial // delay introduced by Sleep(1) will in some cases be much longer than desired. // - Sleep(1) would put the thread into a wait state, and a proper wait will follow when the spin wait fails // anyway, so it's preferable to put the thread into the proper wait state -- 2.7.4