From eb2e9f90ba3679fa8386c4130f81c8061e8d4ca4 Mon Sep 17 00:00:00 2001 From: Brian Chavez Date: Thu, 7 Sep 2017 11:36:37 -0700 Subject: [PATCH] Spelling and grammar corrections - A through L (#13683) --- src/mscorlib/shared/System/AggregateException.cs | 2 +- .../System/Diagnostics/Tracing/EventSource.cs | 12 +-- .../Tracing/TraceLogging/EventSourceActivity.cs | 10 +- .../TraceLogging/TraceLoggingEventSource.cs | 2 +- src/mscorlib/src/System/AppDomain.cs | 2 +- .../src/System/Diagnostics/Contracts/Contracts.cs | 2 +- .../System/Diagnostics/Contracts/ContractsBCL.cs | 2 +- .../src/System/Globalization/CultureData.cs | 114 ++++++++++----------- src/mscorlib/src/System/Globalization/TextInfo.cs | 4 +- .../src/System/Reflection/Emit/ModuleBuilder.cs | 2 +- .../System/Reflection/ExceptionHandlingClause.cs | 2 +- src/mscorlib/src/System/Reflection/MethodBody.cs | 2 +- .../Runtime/CompilerServices/AsyncMethodBuilder.cs | 2 +- .../src/System/Threading/CancellationToken.cs | 2 +- .../System/Threading/ClrThreadPoolBoundHandle.cs | 2 +- .../src/System/Threading/ManualResetEventSlim.cs | 4 +- .../src/System/Threading/PinnableBufferCache.cs | 2 +- src/mscorlib/src/System/Threading/SpinLock.cs | 2 +- .../Tasks/ConcurrentExclusiveSchedulerPair.cs | 6 +- .../src/System/Threading/Tasks/TPLETWProvider.cs | 2 +- src/mscorlib/src/System/Threading/Tasks/Task.cs | 2 +- .../src/System/Threading/Tasks/TaskScheduler.cs | 4 +- 22 files changed, 92 insertions(+), 92 deletions(-) diff --git a/src/mscorlib/shared/System/AggregateException.cs b/src/mscorlib/shared/System/AggregateException.cs index f7430ab..36b9494 100644 --- a/src/mscorlib/shared/System/AggregateException.cs +++ b/src/mscorlib/shared/System/AggregateException.cs @@ -371,7 +371,7 @@ namespace System /// If any inner exceptions are themselves instances of /// , this method will recursively flatten all of them. The /// inner exceptions returned in the new - /// will be the union of all of the the inner exceptions from exception tree rooted at the provided + /// will be the union of all of the inner exceptions from exception tree rooted at the provided /// instance. /// public AggregateException Flatten() diff --git a/src/mscorlib/shared/System/Diagnostics/Tracing/EventSource.cs b/src/mscorlib/shared/System/Diagnostics/Tracing/EventSource.cs index a3acb48..4e436e7 100644 --- a/src/mscorlib/shared/System/Diagnostics/Tracing/EventSource.cs +++ b/src/mscorlib/shared/System/Diagnostics/Tracing/EventSource.cs @@ -572,11 +572,11 @@ namespace System.Diagnostics.Tracing /// /// EventSources can have arbitrary string key-value pairs associated with them called Traits. /// These traits are not interpreted by the EventSource but may be interpreted by EventListeners - /// (e.g. like the built in ETW listener). These traits are specififed at EventSource + /// (e.g. like the built in ETW listener). These traits are specified at EventSource /// construction time and can be retrieved by using this GetTrait API. /// /// The key to look up in the set of key-value pairs passed to the EventSource constructor - /// The value string associated iwth key. Will return null if there is no such key. + /// The value string associated with key. Will return null if there is no such key. public string GetTrait(string key) { if (m_traits != null) @@ -661,7 +661,7 @@ namespace System.Diagnostics.Tracing /// /// Also specify a list of key-value pairs called traits (you must pass an even number of strings). /// The first string is the key and the second is the value. These are not interpreted by EventSource - /// itself but may be interprated the listeners. Can be fetched with GetTrait(string). + /// itself but may be interpreted the listeners. Can be fetched with GetTrait(string). /// /// See EventSourceSettings for more. /// A collection of key-value strings (must be an even number). @@ -5521,7 +5521,7 @@ namespace System.Diagnostics.Tracing /// Returns a session mask representing all sessions in which the activity /// associated with the current thread is allowed through the activity filter. /// If 'triggeringEvent' is true the event MAY be a triggering event. Ideally - /// most of the time this is false as you can guarentee this event is NOT a + /// most of the time this is false as you can guarantee this event is NOT a /// triggering event. If 'triggeringEvent' is true, then it checks the /// 'EventSource' and 'eventID' of the event being logged to see if it is actually /// a trigger. If so it activates the current activity. @@ -6070,11 +6070,11 @@ namespace System.Diagnostics.Tracing /// (m_EventEnabled) for a particular EventSource X EventListener tuple /// /// Thus a single EventListener may have many EventDispatchers (one for every EventSource - /// that that EventListener has activate) and a Single EventSource may also have many + /// that EventListener has activate) and a Single EventSource may also have many /// event Dispatchers (one for every EventListener that has activated it). /// /// Logically a particular EventDispatcher belongs to exactly one EventSource and exactly - /// one EventListener (alhtough EventDispatcher does not 'remember' the EventSource it is + /// one EventListener (although EventDispatcher does not 'remember' the EventSource it is /// associated with. /// internal class EventDispatcher diff --git a/src/mscorlib/shared/System/Diagnostics/Tracing/TraceLogging/EventSourceActivity.cs b/src/mscorlib/shared/System/Diagnostics/Tracing/TraceLogging/EventSourceActivity.cs index 38c1767..acc3eeb 100644 --- a/src/mscorlib/shared/System/Diagnostics/Tracing/TraceLogging/EventSourceActivity.cs +++ b/src/mscorlib/shared/System/Diagnostics/Tracing/TraceLogging/EventSourceActivity.cs @@ -77,8 +77,8 @@ namespace System.Diagnostics.Tracing /// /// Writes a Start event with the specified name and data. If the start event is not active (because the provider - /// is not on or keyword-level indiates the event is off, then the returned activity is simply the 'this' poitner - /// and it is effectively like the Start d + /// is not on or keyword-level indicates the event is off, then the returned activity is simply the 'this' pointer + /// and it is effectively like start did not get called. /// /// A new activityID GUID is generated and the returned /// EventSourceActivity remembers this activity and will mark every event (including the start stop and any writes) @@ -139,7 +139,7 @@ namespace System.Diagnostics.Tracing } /// /// Used if you wish to use the non-default stop name (which is the start name with Start replace with 'Stop') - /// This can be useful to indicate unusual ways of stoping (but it is still STRONGLY recommeded that + /// This can be useful to indicate unusual ways of stopping (but it is still STRONGLY recommended that /// you start with the same prefix used for the start event and you end with the 'Stop' suffix. /// public void Stop(string eventName) @@ -149,7 +149,7 @@ namespace System.Diagnostics.Tracing } /// /// Used if you wish to use the non-default stop name (which is the start name with Start replace with 'Stop') - /// This can be useful to indicate unusual ways of stoping (but it is still STRONGLY recommeded that + /// This can be useful to indicate unusual ways of stopping (but it is still STRONGLY recommended that /// you start with the same prefix used for the start event and you end with the 'Stop' suffix. /// public void Stop(string eventName, T data) @@ -158,7 +158,7 @@ namespace System.Diagnostics.Tracing } /// - /// Writes an event associated with this activity to the eventSource associted with this activity. + /// Writes an event associated with this activity to the eventSource associated with this activity. /// May only be called when the activity is in the Started state. /// /// diff --git a/src/mscorlib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingEventSource.cs b/src/mscorlib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingEventSource.cs index 251189c..a1218d1 100644 --- a/src/mscorlib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingEventSource.cs +++ b/src/mscorlib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingEventSource.cs @@ -80,7 +80,7 @@ namespace System.Diagnostics.Tracing /// /// Also specify a list of key-value pairs called traits (you must pass an even number of strings). /// The first string is the key and the second is the value. These are not interpreted by EventSource - /// itself but may be interprated the listeners. Can be fetched with GetTrait(string). + /// itself but may be interpreted the listeners. Can be fetched with GetTrait(string). /// /// /// The name of the event source. Must not be null. diff --git a/src/mscorlib/src/System/AppDomain.cs b/src/mscorlib/src/System/AppDomain.cs index 7956322..1c009ed 100644 --- a/src/mscorlib/src/System/AppDomain.cs +++ b/src/mscorlib/src/System/AppDomain.cs @@ -226,7 +226,7 @@ namespace System /// /// Initialize the compatibility flags to non-NULL values. - /// This method is also called from the VM when the default domain dosen't have a domain manager. + /// This method is also called from the VM when the default domain doesn't have a domain manager. /// private void InitializeCompatibilityFlags() { diff --git a/src/mscorlib/src/System/Diagnostics/Contracts/Contracts.cs b/src/mscorlib/src/System/Diagnostics/Contracts/Contracts.cs index 76b1519..32a4170 100644 --- a/src/mscorlib/src/System/Diagnostics/Contracts/Contracts.cs +++ b/src/mscorlib/src/System/Diagnostics/Contracts/Contracts.cs @@ -877,7 +877,7 @@ namespace System.Runtime.CompilerServices /// The method should not perform any failure (assert/throw) itself. /// This method has 3 functions: /// 1. Call any contract hooks (such as listeners to Contract failed events) - /// 2. Determine if the listeneres deem the failure as handled (then resultFailureMessage should be set to null) + /// 2. Determine if the listeners deem the failure as handled (then resultFailureMessage should be set to null) /// 3. Produce a localized resultFailureMessage used in advertising the failure subsequently. /// /// Should really be out (or the return value), but partial methods are not flexible enough. diff --git a/src/mscorlib/src/System/Diagnostics/Contracts/ContractsBCL.cs b/src/mscorlib/src/System/Diagnostics/Contracts/ContractsBCL.cs index d29b860..db6a40c 100644 --- a/src/mscorlib/src/System/Diagnostics/Contracts/ContractsBCL.cs +++ b/src/mscorlib/src/System/Diagnostics/Contracts/ContractsBCL.cs @@ -281,7 +281,7 @@ namespace System.Runtime.CompilerServices /// The method should not perform any failure (assert/throw) itself. /// This method has 3 functions: /// 1. Call any contract hooks (such as listeners to Contract failed events) - /// 2. Determine if the listeneres deem the failure as handled (then resultFailureMessage should be set to null) + /// 2. Determine if the listeners deem the failure as handled (then resultFailureMessage should be set to null) /// 3. Produce a localized resultFailureMessage used in advertising the failure subsequently. /// /// Should really be out (or the return value), but partial methods are not flexible enough. diff --git a/src/mscorlib/src/System/Globalization/CultureData.cs b/src/mscorlib/src/System/Globalization/CultureData.cs index 0dcebf4..d913a89 100644 --- a/src/mscorlib/src/System/Globalization/CultureData.cs +++ b/src/mscorlib/src/System/Globalization/CultureData.cs @@ -2424,77 +2424,77 @@ namespace System.Globalization /// private enum LocaleStringData : uint { - /// localized name of locale, eg "German (Germany)" in UI language (coresponds to LOCALE_SLOCALIZEDDISPLAYNAME) + /// localized name of locale, eg "German (Germany)" in UI language (corresponds to LOCALE_SLOCALIZEDDISPLAYNAME) LocalizedDisplayName = 0x00000002, - /// Display name (language + country usually) in English, eg "German (Germany)" (coresponds to LOCALE_SENGLISHDISPLAYNAME) + /// Display name (language + country usually) in English, eg "German (Germany)" (corresponds to LOCALE_SENGLISHDISPLAYNAME) EnglishDisplayName = 0x00000072, - /// Display name in native locale language, eg "Deutsch (Deutschland) (coresponds to LOCALE_SNATIVEDISPLAYNAME) + /// Display name in native locale language, eg "Deutsch (Deutschland) (corresponds to LOCALE_SNATIVEDISPLAYNAME) NativeDisplayName = 0x00000073, - /// Language Display Name for a language, eg "German" in UI language (coresponds to LOCALE_SLOCALIZEDLANGUAGENAME) + /// Language Display Name for a language, eg "German" in UI language (corresponds to LOCALE_SLOCALIZEDLANGUAGENAME) LocalizedLanguageName = 0x0000006f, - /// English name of language, eg "German" (coresponds to LOCALE_SENGLISHLANGUAGENAME) + /// English name of language, eg "German" (corresponds to LOCALE_SENGLISHLANGUAGENAME) EnglishLanguageName = 0x00001001, - /// native name of language, eg "Deutsch" (coresponds to LOCALE_SNATIVELANGUAGENAME) + /// native name of language, eg "Deutsch" (corresponds to LOCALE_SNATIVELANGUAGENAME) NativeLanguageName = 0x00000004, - /// localized name of country, eg "Germany" in UI language (coresponds to LOCALE_SLOCALIZEDCOUNTRYNAME) + /// localized name of country, eg "Germany" in UI language (corresponds to LOCALE_SLOCALIZEDCOUNTRYNAME) LocalizedCountryName = 0x00000006, - /// English name of country, eg "Germany" (coresponds to LOCALE_SENGLISHCOUNTRYNAME) + /// English name of country, eg "Germany" (corresponds to LOCALE_SENGLISHCOUNTRYNAME) EnglishCountryName = 0x00001002, - /// native name of country, eg "Deutschland" (coresponds to LOCALE_SNATIVECOUNTRYNAME) + /// native name of country, eg "Deutschland" (corresponds to LOCALE_SNATIVECOUNTRYNAME) NativeCountryName = 0x00000008, - /// abbreviated language name (coresponds to LOCALE_SABBREVLANGNAME) + /// abbreviated language name (corresponds to LOCALE_SABBREVLANGNAME) AbbreviatedWindowsLanguageName = 0x00000003, - /// list item separator (coresponds to LOCALE_SLIST) + /// list item separator (corresponds to LOCALE_SLIST) ListSeparator = 0x0000000C, - /// decimal separator (coresponds to LOCALE_SDECIMAL) + /// decimal separator (corresponds to LOCALE_SDECIMAL) DecimalSeparator = 0x0000000E, - /// thousand separator (coresponds to LOCALE_STHOUSAND) + /// thousand separator (corresponds to LOCALE_STHOUSAND) ThousandSeparator = 0x0000000F, - /// digit grouping (coresponds to LOCALE_SGROUPING) + /// digit grouping (corresponds to LOCALE_SGROUPING) Digits = 0x00000013, - /// local monetary symbol (coresponds to LOCALE_SCURRENCY) + /// local monetary symbol (corresponds to LOCALE_SCURRENCY) MonetarySymbol = 0x00000014, - /// English currency name (coresponds to LOCALE_SENGCURRNAME) + /// English currency name (corresponds to LOCALE_SENGCURRNAME) CurrencyEnglishName = 0x00001007, - /// Native currency name (coresponds to LOCALE_SNATIVECURRNAME) + /// Native currency name (corresponds to LOCALE_SNATIVECURRNAME) CurrencyNativeName = 0x00001008, - /// uintl monetary symbol (coresponds to LOCALE_SINTLSYMBOL) + /// uintl monetary symbol (corresponds to LOCALE_SINTLSYMBOL) Iso4217MonetarySymbol = 0x00000015, - /// monetary decimal separator (coresponds to LOCALE_SMONDECIMALSEP) + /// monetary decimal separator (corresponds to LOCALE_SMONDECIMALSEP) MonetaryDecimalSeparator = 0x00000016, - /// monetary thousand separator (coresponds to LOCALE_SMONTHOUSANDSEP) + /// monetary thousand separator (corresponds to LOCALE_SMONTHOUSANDSEP) MonetaryThousandSeparator = 0x00000017, - /// AM designator (coresponds to LOCALE_S1159) + /// AM designator (corresponds to LOCALE_S1159) AMDesignator = 0x00000028, - /// PM designator (coresponds to LOCALE_S2359) + /// PM designator (corresponds to LOCALE_S2359) PMDesignator = 0x00000029, - /// positive sign (coresponds to LOCALE_SPOSITIVESIGN) + /// positive sign (corresponds to LOCALE_SPOSITIVESIGN) PositiveSign = 0x00000050, - /// negative sign (coresponds to LOCALE_SNEGATIVESIGN) + /// negative sign (corresponds to LOCALE_SNEGATIVESIGN) NegativeSign = 0x00000051, - /// ISO abbreviated language name (coresponds to LOCALE_SISO639LANGNAME) + /// ISO abbreviated language name (corresponds to LOCALE_SISO639LANGNAME) Iso639LanguageTwoLetterName = 0x00000059, - /// ISO abbreviated country name (coresponds to LOCALE_SISO639LANGNAME2) + /// ISO abbreviated country name (corresponds to LOCALE_SISO639LANGNAME2) Iso639LanguageThreeLetterName = 0x00000067, - /// ISO abbreviated language name (coresponds to LOCALE_SISO639LANGNAME) + /// ISO abbreviated language name (corresponds to LOCALE_SISO639LANGNAME) Iso639LanguageName = 0x00000059, - /// ISO abbreviated country name (coresponds to LOCALE_SISO3166CTRYNAME) + /// ISO abbreviated country name (corresponds to LOCALE_SISO3166CTRYNAME) Iso3166CountryName = 0x0000005A, - /// 3 letter ISO country code (coresponds to LOCALE_SISO3166CTRYNAME2) + /// 3 letter ISO country code (corresponds to LOCALE_SISO3166CTRYNAME2) Iso3166CountryName2 = 0x00000068, // 3 character ISO country name - /// Not a Number (coresponds to LOCALE_SNAN) + /// Not a Number (corresponds to LOCALE_SNAN) NaNSymbol = 0x00000069, - /// + Infinity (coresponds to LOCALE_SPOSINFINITY) + /// + Infinity (corresponds to LOCALE_SPOSINFINITY) PositiveInfinitySymbol = 0x0000006a, - /// - Infinity (coresponds to LOCALE_SNEGINFINITY) + /// - Infinity (corresponds to LOCALE_SNEGINFINITY) NegativeInfinitySymbol = 0x0000006b, - /// Fallback name for resources (coresponds to LOCALE_SPARENT) + /// Fallback name for resources (corresponds to LOCALE_SPARENT) ParentName = 0x0000006d, - /// Fallback name for within the console (coresponds to LOCALE_SCONSOLEFALLBACKNAME) + /// Fallback name for within the console (corresponds to LOCALE_SCONSOLEFALLBACKNAME) ConsoleFallbackName = 0x0000006e, - /// Returns the percent symbol (coresponds to LOCALE_SPERCENT) + /// Returns the percent symbol (corresponds to LOCALE_SPERCENT) PercentSymbol = 0x00000076, - /// Returns the permille (U+2030) symbol (coresponds to LOCALE_SPERMILLE) + /// Returns the permille (U+2030) symbol (corresponds to LOCALE_SPERMILLE) PerMilleSymbol = 0x00000077 } @@ -2504,9 +2504,9 @@ namespace System.Globalization /// private enum LocaleGroupingData : uint { - /// digit grouping (coresponds to LOCALE_SGROUPING) + /// digit grouping (corresponds to LOCALE_SGROUPING) Digit = 0x00000010, - /// monetary grouping (coresponds to LOCALE_SMONGROUPING) + /// monetary grouping (corresponds to LOCALE_SMONGROUPING) Monetary = 0x00000018, } @@ -2516,29 +2516,29 @@ namespace System.Globalization /// private enum LocaleNumberData : uint { - /// language id (coresponds to LOCALE_ILANGUAGE) + /// language id (corresponds to LOCALE_ILANGUAGE) LanguageId = 0x00000001, - /// geographical location id, (coresponds to LOCALE_IGEOID) + /// geographical location id, (corresponds to LOCALE_IGEOID) GeoId = 0x0000005B, - /// 0 = context, 1 = none, 2 = national (coresponds to LOCALE_IDIGITSUBSTITUTION) + /// 0 = context, 1 = none, 2 = national (corresponds to LOCALE_IDIGITSUBSTITUTION) DigitSubstitution = 0x00001014, - /// 0 = metric, 1 = US (coresponds to LOCALE_IMEASURE) + /// 0 = metric, 1 = US (corresponds to LOCALE_IMEASURE) MeasurementSystem = 0x0000000D, - /// number of fractional digits (coresponds to LOCALE_IDIGITS) + /// number of fractional digits (corresponds to LOCALE_IDIGITS) FractionalDigitsCount = 0x00000011, - /// negative number mode (coresponds to LOCALE_INEGNUMBER) + /// negative number mode (corresponds to LOCALE_INEGNUMBER) NegativeNumberFormat = 0x00001010, - /// # local monetary digits (coresponds to LOCALE_ICURRDIGITS) + /// # local monetary digits (corresponds to LOCALE_ICURRDIGITS) MonetaryFractionalDigitsCount = 0x00000019, - /// positive currency mode (coresponds to LOCALE_ICURRENCY) + /// positive currency mode (corresponds to LOCALE_ICURRENCY) PositiveMonetaryNumberFormat = 0x0000001B, - /// negative currency mode (coresponds to LOCALE_INEGCURR) + /// negative currency mode (corresponds to LOCALE_INEGCURR) NegativeMonetaryNumberFormat = 0x0000001C, - /// type of calendar specifier (coresponds to LOCALE_ICALENDARTYPE) + /// type of calendar specifier (corresponds to LOCALE_ICALENDARTYPE) CalendarType = 0x00001009, - /// first day of week specifier (coresponds to LOCALE_IFIRSTDAYOFWEEK) + /// first day of week specifier (corresponds to LOCALE_IFIRSTDAYOFWEEK) FirstDayOfWeek = 0x0000100C, - /// first week of year specifier (coresponds to LOCALE_IFIRSTWEEKOFYEAR) + /// first week of year specifier (corresponds to LOCALE_IFIRSTWEEKOFYEAR) FirstWeekOfYear = 0x0000100D, /// /// Returns one of the following 4 reading layout values: @@ -2546,20 +2546,20 @@ namespace System.Globalization /// 1 - Right to left (eg arabic locales) /// 2 - Vertical top to bottom with columns to the left and also left to right (ja-JP locales) /// 3 - Vertical top to bottom with columns proceeding to the right - /// (coresponds to LOCALE_IREADINGLAYOUT) + /// (corresponds to LOCALE_IREADINGLAYOUT) /// ReadingLayout = 0x00000070, - /// Returns 0-11 for the negative percent format (coresponds to LOCALE_INEGATIVEPERCENT) + /// Returns 0-11 for the negative percent format (corresponds to LOCALE_INEGATIVEPERCENT) NegativePercentFormat = 0x00000074, - /// Returns 0-3 for the positive percent format (coresponds to LOCALE_IPOSITIVEPERCENT) + /// Returns 0-3 for the positive percent format (corresponds to LOCALE_IPOSITIVEPERCENT) PositivePercentFormat = 0x00000075, - /// default ansi code page (coresponds to LOCALE_IDEFAULTCODEPAGE) + /// default ansi code page (corresponds to LOCALE_IDEFAULTCODEPAGE) OemCodePage = 0x0000000B, - /// default ansi code page (coresponds to LOCALE_IDEFAULTANSICODEPAGE) + /// default ansi code page (corresponds to LOCALE_IDEFAULTANSICODEPAGE) AnsiCodePage = 0x00001004, - /// default mac code page (coresponds to LOCALE_IDEFAULTMACCODEPAGE) + /// default mac code page (corresponds to LOCALE_IDEFAULTMACCODEPAGE) MacCodePage = 0x00001011, - /// default ebcdic code page (coresponds to LOCALE_IDEFAULTEBCDICCODEPAGE) + /// default ebcdic code page (corresponds to LOCALE_IDEFAULTEBCDICCODEPAGE) EbcdicCodePage = 0x00001012, } } diff --git a/src/mscorlib/src/System/Globalization/TextInfo.cs b/src/mscorlib/src/System/Globalization/TextInfo.cs index 20a7d3d..ecc2108 100644 --- a/src/mscorlib/src/System/Globalization/TextInfo.cs +++ b/src/mscorlib/src/System/Globalization/TextInfo.cs @@ -41,14 +41,14 @@ namespace System.Globalization [OptionalField(VersionAdded = 2)] private bool _isReadOnly = false; - //// _cultureName is the name of the creating culture. Note that we consider this authoratative, + //// _cultureName is the name of the creating culture. Note that we consider this authoritative, //// if the culture's textinfo changes when deserializing, then behavior may change. //// (ala Whidbey behavior). This is the only string Arrowhead needs to serialize. //// _cultureData is the data that backs this class. //// _textInfoName is the actual name of the textInfo (from cultureData.STEXTINFO) //// this can be the same as _cultureName on Silverlight since the OS knows //// how to do the sorting. However in the desktop, when we call the sorting dll, it doesn't - //// know how to resolve custom locle names to sort ids so we have to have alredy resolved this. + //// know how to resolve custom locale names to sort ids so we have to have already resolved this. //// [OptionalField(VersionAdded = 3)] diff --git a/src/mscorlib/src/System/Reflection/Emit/ModuleBuilder.cs b/src/mscorlib/src/System/Reflection/Emit/ModuleBuilder.cs index 362b136..1c65bf9 100644 --- a/src/mscorlib/src/System/Reflection/Emit/ModuleBuilder.cs +++ b/src/mscorlib/src/System/Reflection/Emit/ModuleBuilder.cs @@ -87,7 +87,7 @@ namespace System.Reflection.Emit #endregion - #region Intenral Data Members + #region Internal Data Members // m_TypeBuilder contains both TypeBuilder and EnumBuilder objects private Dictionary m_TypeBuilderDict; private ISymbolWriter m_iSymWriter; diff --git a/src/mscorlib/src/System/Reflection/ExceptionHandlingClause.cs b/src/mscorlib/src/System/Reflection/ExceptionHandlingClause.cs index 9bb45ae..a61ed5e 100644 --- a/src/mscorlib/src/System/Reflection/ExceptionHandlingClause.cs +++ b/src/mscorlib/src/System/Reflection/ExceptionHandlingClause.cs @@ -9,7 +9,7 @@ namespace System.Reflection { public class ExceptionHandlingClause { - #region costructor + #region constructor // This class can only be created from inside the EE. protected ExceptionHandlingClause() { } #endregion diff --git a/src/mscorlib/src/System/Reflection/MethodBody.cs b/src/mscorlib/src/System/Reflection/MethodBody.cs index 4335177..e1d18bf 100644 --- a/src/mscorlib/src/System/Reflection/MethodBody.cs +++ b/src/mscorlib/src/System/Reflection/MethodBody.cs @@ -8,7 +8,7 @@ namespace System.Reflection { public class MethodBody { - #region costructor + #region constructor // This class can only be created from inside the EE. protected MethodBody() { } #endregion diff --git a/src/mscorlib/src/System/Runtime/CompilerServices/AsyncMethodBuilder.cs b/src/mscorlib/src/System/Runtime/CompilerServices/AsyncMethodBuilder.cs index 2766422..4e4de98 100644 --- a/src/mscorlib/src/System/Runtime/CompilerServices/AsyncMethodBuilder.cs +++ b/src/mscorlib/src/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @@ -1120,7 +1120,7 @@ namespace System.Runtime.CompilerServices } /// - /// Given an action, see if it is a contiunation wrapper and has a Task associated with it. If so return it (null otherwise) + /// Given an action, see if it is a continuation wrapper and has a Task associated with it. If so return it (null otherwise) /// internal static Task TryGetContinuationTask(Action action) { diff --git a/src/mscorlib/src/System/Threading/CancellationToken.cs b/src/mscorlib/src/System/Threading/CancellationToken.cs index 17847f7..4d86881 100644 --- a/src/mscorlib/src/System/Threading/CancellationToken.cs +++ b/src/mscorlib/src/System/Threading/CancellationToken.cs @@ -52,7 +52,7 @@ namespace System.Threading /// /// /// This property indicates whether cancellation has been requested for this token, - /// either through the token initially being construted in a canceled state, or through + /// either through the token initially being constructed in a canceled state, or through /// calling Cancel /// on the token's associated . /// diff --git a/src/mscorlib/src/System/Threading/ClrThreadPoolBoundHandle.cs b/src/mscorlib/src/System/Threading/ClrThreadPoolBoundHandle.cs index a4a3b98..5e0f2af 100644 --- a/src/mscorlib/src/System/Threading/ClrThreadPoolBoundHandle.cs +++ b/src/mscorlib/src/System/Threading/ClrThreadPoolBoundHandle.cs @@ -243,7 +243,7 @@ namespace System.Threading /// /// /// An unmanaged pointer to the structure from which to return the - /// asscociated user-provided object. + /// associated user-provided object. /// /// /// A user-provided object that distinguishes this diff --git a/src/mscorlib/src/System/Threading/ManualResetEventSlim.cs b/src/mscorlib/src/System/Threading/ManualResetEventSlim.cs index 8a245f0..0807e19 100644 --- a/src/mscorlib/src/System/Threading/ManualResetEventSlim.cs +++ b/src/mscorlib/src/System/Threading/ManualResetEventSlim.cs @@ -181,7 +181,7 @@ namespace System.Threading /// /// Initializes a new instance of the - /// class with a Boolen value indicating whether to set the intial state to signaled. + /// class with a boolean value indicating whether to set the initial state to signaled. /// /// true to set the initial state signaled; false to set the initial state /// to nonsignaled. @@ -194,7 +194,7 @@ namespace System.Threading /// /// Initializes a new instance of the - /// class with a Boolen value indicating whether to set the intial state to signaled and a specified + /// class with a Boolean value indicating whether to set the initial state to signaled and a specified /// spin count. /// /// true to set the initial state to signaled; false to set the initial state diff --git a/src/mscorlib/src/System/Threading/PinnableBufferCache.cs b/src/mscorlib/src/System/Threading/PinnableBufferCache.cs index cdd2453..a896fa2 100644 --- a/src/mscorlib/src/System/Threading/PinnableBufferCache.cs +++ b/src/mscorlib/src/System/Threading/PinnableBufferCache.cs @@ -393,7 +393,7 @@ namespace System private Func m_factory; /// - /// Contains 'good' buffers to reuse. They are guarenteed to be Gen 2 ENFORCED! + /// Contains 'good' buffers to reuse. They are guaranteed to be Gen 2 ENFORCED! /// private ConcurrentStack m_FreeList = new ConcurrentStack(); /// diff --git a/src/mscorlib/src/System/Threading/SpinLock.cs b/src/mscorlib/src/System/Threading/SpinLock.cs index dbf2024..917ece2 100644 --- a/src/mscorlib/src/System/Threading/SpinLock.cs +++ b/src/mscorlib/src/System/Threading/SpinLock.cs @@ -270,7 +270,7 @@ namespace System.Threading /// /// Try acquire the lock with long path, this is usually called after the first path in Enter and /// TryEnter failed The reason for short path is to make it inline in the run time which improves the - /// performance. This method assumed that the parameter are validated in Enter ir TryENter method + /// performance. This method assumed that the parameter are validated in Enter or TryEnter method. /// /// The timeout milliseconds /// The lockTaken param diff --git a/src/mscorlib/src/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs b/src/mscorlib/src/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs index fe21e25..765dcd8 100644 --- a/src/mscorlib/src/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs +++ b/src/mscorlib/src/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs @@ -41,10 +41,10 @@ namespace System.Threading.Tasks private readonly TaskScheduler m_underlyingTaskScheduler; /// /// The maximum number of tasks allowed to run concurrently. This only applies to concurrent tasks, - /// since exlusive tasks are inherently limited to 1. + /// since exclusive tasks are inherently limited to 1. /// private readonly int m_maxConcurrencyLevel; - /// The maximum number of tasks we can process before recyling our runner tasks. + /// The maximum number of tasks we can process before recycling our runner tasks. private readonly int m_maxItemsPerTask; /// /// If positive, it represents the number of concurrently running concurrent tasks. @@ -225,7 +225,7 @@ namespace System.Threading.Tasks } } - /// Initiatites scheduler shutdown due to a worker task faulting. + /// Initiates scheduler shutdown due to a worker task faulting. /// The faulted worker task that's initiating the shutdown. private void FaultWithTask(Task faultedTask) { diff --git a/src/mscorlib/src/System/Threading/Tasks/TPLETWProvider.cs b/src/mscorlib/src/System/Threading/Tasks/TPLETWProvider.cs index 826a49a..bdfe8ee 100644 --- a/src/mscorlib/src/System/Threading/Tasks/TPLETWProvider.cs +++ b/src/mscorlib/src/System/Threading/Tasks/TPLETWProvider.cs @@ -130,7 +130,7 @@ namespace System.Threading.Tasks /// /// TasksSetActivityIds will cause the task operations to set Activity Ids /// This option is incompatible with TasksFlowActivityIds flow is ignored - /// if that keyword is set. This option is likley to be removed in the future + /// if that keyword is set. This option is likely to be removed in the future /// public const EventKeywords TasksSetActivityIds = (EventKeywords)0x10000; diff --git a/src/mscorlib/src/System/Threading/Tasks/Task.cs b/src/mscorlib/src/System/Threading/Tasks/Task.cs index 84cb0fd..84811fb 100644 --- a/src/mscorlib/src/System/Threading/Tasks/Task.cs +++ b/src/mscorlib/src/System/Threading/Tasks/Task.cs @@ -608,7 +608,7 @@ namespace System.Threading.Tasks /// /// Handles everything needed for associating a CancellationToken with a task which is being constructed. - /// This method is meant to be be called either from the TaskConstructorCore or from ContinueWithCore. + /// This method is meant to be called either from the TaskConstructorCore or from ContinueWithCore. /// private void AssignCancellationToken(CancellationToken cancellationToken, Task antecedent, TaskContinuation continuation) { diff --git a/src/mscorlib/src/System/Threading/Tasks/TaskScheduler.cs b/src/mscorlib/src/System/Threading/Tasks/TaskScheduler.cs index 666a192..eddaeee 100644 --- a/src/mscorlib/src/System/Threading/Tasks/TaskScheduler.cs +++ b/src/mscorlib/src/System/Threading/Tasks/TaskScheduler.cs @@ -642,7 +642,7 @@ namespace System.Threading.Tasks } /// - /// Implemetation of for this scheduler class. + /// Implementation of for this scheduler class. /// /// Simply posts the tasks to be executed on the associated . /// @@ -677,7 +677,7 @@ namespace System.Threading.Tasks } /// - /// Implementes the property for + /// Implements the property for /// this scheduler class. /// /// By default it returns 1, because a based -- 2.7.4