From 78847b201945acd7ddbae4a3c0564fdadd864395 Mon Sep 17 00:00:00 2001 From: John Doe Date: Thu, 22 Nov 2018 14:23:08 -0800 Subject: [PATCH] Typos (dotnet/corertdotnet/coreclr#6605) * accross -> across * adress -> address * Appartment -> Apartment * persective -> perspective * paramaterized -> parameterized * Langage -> Language * miminum -> minimum * Curret -> Current * currnet -> current * definately -> definitely Signed-off-by: dotnet-bot Commit migrated from https://github.com/dotnet/coreclr/commit/6eb05cd76855ac929d0c0def670d6bba1133dfdf --- .../src/System/Diagnostics/Tracing/ActivityTracker.cs | 2 +- .../System.Private.CoreLib/src/System/Globalization/Calendar.cs | 2 +- .../src/System/Globalization/CultureData.Unix.cs | 2 +- .../System.Private.CoreLib/src/System/Globalization/DateTimeParse.cs | 4 ++-- .../System.Private.CoreLib/src/System/Globalization/JulianCalendar.cs | 2 +- .../src/System/Globalization/LocaleData.Unix.cs | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/ActivityTracker.cs b/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/ActivityTracker.cs index d9f9f08..16874d8 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/ActivityTracker.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/ActivityTracker.cs @@ -450,7 +450,7 @@ namespace System.Diagnostics.Tracing byte* endPtr = ptr + 12; ptr += whereToAddId; if (endPtr <= ptr) - return 13; // 12 means we might exactly fit, 13 means we definately did not fit + return 13; // 12 means we might exactly fit, 13 means we definitely did not fit if (0 < id && id <= (uint)NumberListCodes.LastImmediateValue && !overflow) WriteNibble(ref ptr, endPtr, id); diff --git a/src/libraries/System.Private.CoreLib/src/System/Globalization/Calendar.cs b/src/libraries/System.Private.CoreLib/src/System/Globalization/Calendar.cs index 66a6369..f839581 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Globalization/Calendar.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Globalization/Calendar.cs @@ -173,7 +173,7 @@ namespace System.Globalization /*=================================CurrentEraValue========================== - **Action: This is used to convert CurretEra(0) to an appropriate era value. + **Action: This is used to convert CurrentEra(0) to an appropriate era value. **Returns: **Arguments: **Exceptions: diff --git a/src/libraries/System.Private.CoreLib/src/System/Globalization/CultureData.Unix.cs b/src/libraries/System.Private.CoreLib/src/System/Globalization/CultureData.Unix.cs index 029057c..d870742 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Globalization/CultureData.Unix.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Globalization/CultureData.Unix.cs @@ -353,7 +353,7 @@ namespace System.Globalization private static string GetThreeLetterWindowsLanguageName(string cultureName) { - string langName = LocaleData.GetThreeLetterWindowsLangageName(cultureName); + string langName = LocaleData.GetThreeLetterWindowsLanguageName(cultureName); return langName == null ? "ZZZ" /* default lang name */ : langName; } diff --git a/src/libraries/System.Private.CoreLib/src/System/Globalization/DateTimeParse.cs b/src/libraries/System.Private.CoreLib/src/System/Globalization/DateTimeParse.cs index c33e5b5..d36ead3 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Globalization/DateTimeParse.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Globalization/DateTimeParse.cs @@ -678,7 +678,7 @@ new DS[] { DS.ERROR, DS.TX_NNN, DS.TX_NNN, DS.TX_NNN, DS.ERROR, DS.ERROR, raw.year = tokenValue; // // If we have number which has 3 or more digits (like "001" or "0001"), - // we assume this number is a year. Save the currnet raw.numCount in + // we assume this number is a year. Save the current raw.numCount in // raw.year. // switch (sep = str.GetSeparatorToken(dtfi, out indexBeforeSeparator, out charBeforeSeparator)) @@ -882,7 +882,7 @@ new DS[] { DS.ERROR, DS.TX_NNN, DS.TX_NNN, DS.TX_NNN, DS.ERROR, DS.ERROR, raw.year = tokenValue; // // If we have number which has 3 or more digits (like "001" or "0001"), - // we assume this number is a year. Save the currnet raw.numCount in + // we assume this number is a year. Save the current raw.numCount in // raw.year. // switch (sep = str.GetSeparatorToken(dtfi, out indexBeforeSeparator, out charBeforeSeparator)) diff --git a/src/libraries/System.Private.CoreLib/src/System/Globalization/JulianCalendar.cs b/src/libraries/System.Private.CoreLib/src/System/Globalization/JulianCalendar.cs index a1ffbeb..a61cf97 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Globalization/JulianCalendar.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Globalization/JulianCalendar.cs @@ -128,7 +128,7 @@ namespace System.Globalization { if (year == 1 && month == 1) { - // The mimimum supported Julia date is Julian 0001/01/03. + // The minimum supported Julia date is Julian 0001/01/03. if (day < 3) { throw new ArgumentOutOfRangeException(null, diff --git a/src/libraries/System.Private.CoreLib/src/System/Globalization/LocaleData.Unix.cs b/src/libraries/System.Private.CoreLib/src/System/Globalization/LocaleData.Unix.cs index ccf1078..2bd3d79 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Globalization/LocaleData.Unix.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Globalization/LocaleData.Unix.cs @@ -4466,7 +4466,7 @@ namespace System.Globalization return s_nameIndexToNumericData[index * NUMERIC_LOCALE_DATA_COUNT_PER_ROW + (int) part]; } - internal static string GetThreeLetterWindowsLangageName(string cultureName) + internal static string GetThreeLetterWindowsLanguageName(string cultureName) { int index = SearchCultureName(cultureName); if (index < 0) -- 2.7.4