From: John Doe Date: Thu, 22 Nov 2018 22:23:08 +0000 (-0800) Subject: Typos (dotnet/corert#6605) X-Git-Tag: accepted/tizen/unified/20190422.045933~496 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6eb05cd76855ac929d0c0def670d6bba1133dfdf;p=platform%2Fupstream%2Fcoreclr.git Typos (dotnet/corert#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 --- diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs index d9f9f08..16874d8 100644 --- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs +++ b/src/System.Private.CoreLib/shared/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/System.Private.CoreLib/shared/System/Globalization/Calendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/Calendar.cs index 66a6369..f839581 100644 --- a/src/System.Private.CoreLib/shared/System/Globalization/Calendar.cs +++ b/src/System.Private.CoreLib/shared/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/System.Private.CoreLib/shared/System/Globalization/CultureData.Unix.cs b/src/System.Private.CoreLib/shared/System/Globalization/CultureData.Unix.cs index 029057c..d870742 100644 --- a/src/System.Private.CoreLib/shared/System/Globalization/CultureData.Unix.cs +++ b/src/System.Private.CoreLib/shared/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/System.Private.CoreLib/shared/System/Globalization/DateTimeParse.cs b/src/System.Private.CoreLib/shared/System/Globalization/DateTimeParse.cs index c33e5b5..d36ead3 100644 --- a/src/System.Private.CoreLib/shared/System/Globalization/DateTimeParse.cs +++ b/src/System.Private.CoreLib/shared/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/System.Private.CoreLib/shared/System/Globalization/JulianCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/JulianCalendar.cs index a1ffbeb..a61cf97 100644 --- a/src/System.Private.CoreLib/shared/System/Globalization/JulianCalendar.cs +++ b/src/System.Private.CoreLib/shared/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/System.Private.CoreLib/shared/System/Globalization/LocaleData.Unix.cs b/src/System.Private.CoreLib/shared/System/Globalization/LocaleData.Unix.cs index ccf1078..2bd3d79 100644 --- a/src/System.Private.CoreLib/shared/System/Globalization/LocaleData.Unix.cs +++ b/src/System.Private.CoreLib/shared/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)