diff --git a/src/System.Management.Automation/singleshell/config/MshConsoleInfo.cs b/src/System.Management.Automation/singleshell/config/MshConsoleInfo.cs index 2658538e7..003990398 100644 --- a/src/System.Management.Automation/singleshell/config/MshConsoleInfo.cs +++ b/src/System.Management.Automation/singleshell/config/MshConsoleInfo.cs @@ -21,7 +21,7 @@ namespace System.Management.Automation.Runspaces /// 2. Data values for the content represented by Console file. Later this data /// is used by other components ( MshConsoleInfo ) to construct Monad Types ( like /// PSSnapInInfo ). - /// 3. Owns responsibilty to read/write Files. + /// 3. Owns responsibility to read/write Files. /// /// Risk: /// File Acces related security issues. @@ -419,7 +419,7 @@ namespace System.Management.Automation.Runspaces IsDirty = false; Filename = null; - // Intialize list of mshsnapins.. + // Initialize list of mshsnapins.. _defaultPSSnapIns = new Collection(); _externalPSSnapIns = new Collection(); } @@ -451,7 +451,7 @@ namespace System.Management.Automation.Runspaces catch (PSArgumentException ae) { string message = ConsoleInfoErrorStrings.CannotLoadDefaults; - // If we were unalbe to load default mshsnapins throw PSSnapInException + // If we were unable to load default mshsnapins throw PSSnapInException s_mshsnapinTracer.TraceError(message); @@ -460,7 +460,7 @@ namespace System.Management.Automation.Runspaces catch (System.Security.SecurityException se) { string message = ConsoleInfoErrorStrings.CannotLoadDefaults; - // If we were unalbe to load default mshsnapins throw PSSnapInException + // If we were unable to load default mshsnapins throw PSSnapInException s_mshsnapinTracer.TraceError(message); @@ -814,7 +814,7 @@ namespace System.Management.Automation.Runspaces /// private Collection Load(string path, out PSConsoleLoadException cle) { - // Intialize the out parameter.. + // Initialize the out parameter.. cle = null; s_mshsnapinTracer.WriteLine("Load mshsnapins from console file {0}", path); @@ -933,7 +933,7 @@ namespace System.Management.Automation.Runspaces /// - /// Constructs a new list of mshsnapins from defualt mshsnapins and external mshsnapins. + /// Constructs a new list of mshsnapins from default mshsnapins and external mshsnapins. /// /// A list of mshsnapins represented by the current console file private Collection MergeDefaultExternalMshSnapins() diff --git a/src/System.Management.Automation/singleshell/config/MshConsoleLoadException.cs b/src/System.Management.Automation/singleshell/config/MshConsoleLoadException.cs index c1cc9c256..5bf45370a 100644 --- a/src/System.Management.Automation/singleshell/config/MshConsoleLoadException.cs +++ b/src/System.Management.Automation/singleshell/config/MshConsoleLoadException.cs @@ -31,7 +31,7 @@ namespace System.Management.Automation.Runspaces public class PSConsoleLoadException : SystemException, IContainsErrorRecord { /// - /// Intiate an instance of PSConsoleLoadException. + /// Initiate an instance of PSConsoleLoadException. /// /// Console info object for the exception /// A collection of PSSnapInExceptions. @@ -159,7 +159,7 @@ namespace System.Management.Automation.Runspaces } /// - /// Get object data from serizliation information. + /// Get object data from serialization information. /// /// Serialization information /// Streaming context diff --git a/src/System.Management.Automation/singleshell/config/MshSnapinInfo.cs b/src/System.Management.Automation/singleshell/config/MshSnapinInfo.cs index e3462deb0..5711e6e32 100644 --- a/src/System.Management.Automation/singleshell/config/MshSnapinInfo.cs +++ b/src/System.Management.Automation/singleshell/config/MshSnapinInfo.cs @@ -227,7 +227,7 @@ namespace System.Management.Automation public bool IsDefault { get; } /// - /// Retuns applicationbase for mshsnapin + /// Returns applicationbase for mshsnapin /// public string ApplicationBase { get; } @@ -630,7 +630,7 @@ namespace System.Management.Automation { mshsnapins.Add(ReadOne(mshsnapinRoot, id)); } - //If we cannot read some mshsnapins, we should contiune + //If we cannot read some mshsnapins, we should continue catch (SecurityException) { } @@ -906,7 +906,7 @@ namespace System.Management.Automation string.Format(CultureInfo.CurrentCulture, "{0} is null", RegistryStrings.MonadEngine_MonadVersion)); // Get version number in x.x.x.x format - // This information is available from the exeucting assembly + // This information is available from the executing assembly // // PROBLEM: The following code assumes all assemblies have the same version, // culture, publickeytoken...This will break the scenarios where only one of diff --git a/src/System.Management.Automation/singleshell/config/MshSnapinLoadException.cs b/src/System.Management.Automation/singleshell/config/MshSnapinLoadException.cs index 2fb4df239..7c6a4db44 100644 --- a/src/System.Management.Automation/singleshell/config/MshSnapinLoadException.cs +++ b/src/System.Management.Automation/singleshell/config/MshSnapinLoadException.cs @@ -189,7 +189,7 @@ namespace System.Management.Automation.Runspaces } /// - /// Get object data from serizliation information. + /// Get object data from serialization information. /// /// Serialization information /// Streaming context diff --git a/src/System.Management.Automation/singleshell/config/RegistryStringResourceIndirect.cs b/src/System.Management.Automation/singleshell/config/RegistryStringResourceIndirect.cs index 169b1ba7e..9691f628a 100644 --- a/src/System.Management.Automation/singleshell/config/RegistryStringResourceIndirect.cs +++ b/src/System.Management.Automation/singleshell/config/RegistryStringResourceIndirect.cs @@ -414,7 +414,7 @@ namespace System.Management.Automation /// /// /// - /// The FullName of the assembly to load. This takes precendence over the modulePath and + /// The FullName of the assembly to load. This takes precedence over the modulePath and /// will be passed to as a parameter to the ReflectionOnlyLoad. /// /// diff --git a/src/System.Management.Automation/singleshell/config/RunspaceConfigForSingleShell.cs b/src/System.Management.Automation/singleshell/config/RunspaceConfigForSingleShell.cs index eac791aa9..570ca05a8 100644 --- a/src/System.Management.Automation/singleshell/config/RunspaceConfigForSingleShell.cs +++ b/src/System.Management.Automation/singleshell/config/RunspaceConfigForSingleShell.cs @@ -15,7 +15,7 @@ namespace System.Management.Automation.Runspaces /// Runspace config for single shell are a special kind of runspace /// configuration that is generated for single shells. /// - /// This class needs to handle the standard managment of + /// This class needs to handle the standard management of /// /// 1. consoleInfo: each instance of this class will have /// a consoleInfo object. diff --git a/src/System.Management.Automation/singleshell/installer/CustomMshSnapin.cs b/src/System.Management.Automation/singleshell/installer/CustomMshSnapin.cs index 0ad985487..1e5814123 100644 --- a/src/System.Management.Automation/singleshell/installer/CustomMshSnapin.cs +++ b/src/System.Management.Automation/singleshell/installer/CustomMshSnapin.cs @@ -33,7 +33,7 @@ namespace System.Management.Automation /// Developers should derive from this class to implement their own /// custom mshsnapins. /// - /// Derived mshsnapins should be denotated with [RunInstaller] attribute + /// Derived mshsnapins should be denoted with [RunInstaller] attribute /// so that installutil.exe can directly install the mshsnapin into registry. /// public abstract class CustomPSSnapIn : PSSnapInInstaller diff --git a/src/System.Management.Automation/singleshell/installer/MshInstaller.cs b/src/System.Management.Automation/singleshell/installer/MshInstaller.cs index 88a464fe5..6de8fb8fb 100644 --- a/src/System.Management.Automation/singleshell/installer/MshInstaller.cs +++ b/src/System.Management.Automation/singleshell/installer/MshInstaller.cs @@ -35,7 +35,7 @@ namespace System.Management.Automation /// 1. accessing system registry /// 2. support of additional command line parameters. /// 3. writing registry files - /// 4. automatically extract informaton like vender, version, etc. + /// 4. automatically extract information like vender, version, etc. /// /// Different monad component will derive from this class. Two common /// components that need install include, diff --git a/src/System.Management.Automation/singleshell/installer/MshSnapin.cs b/src/System.Management.Automation/singleshell/installer/MshSnapin.cs index c8f69b689..f6e0e79ce 100644 --- a/src/System.Management.Automation/singleshell/installer/MshSnapin.cs +++ b/src/System.Management.Automation/singleshell/installer/MshSnapin.cs @@ -28,7 +28,7 @@ namespace System.Management.Automation /// Developers should derive from this class when implementing their own /// mshsnapins. /// - /// Derived mshsnapins should be denotated with [RunInstaller] attribute + /// Derived mshsnapins should be denoted with [RunInstaller] attribute /// so that installutil.exe can directly install the mshsnapin into registry. /// public abstract class PSSnapIn : PSSnapInInstaller diff --git a/src/System.Management.Automation/singleshell/installer/MshSnapinInstaller.cs b/src/System.Management.Automation/singleshell/installer/MshSnapinInstaller.cs index df50f4f53..506beb640 100644 --- a/src/System.Management.Automation/singleshell/installer/MshSnapinInstaller.cs +++ b/src/System.Management.Automation/singleshell/installer/MshSnapinInstaller.cs @@ -30,7 +30,7 @@ namespace System.Management.Automation /// Here, the information about registry content is provided. /// /// The reason of not calling this class MshSnapinInstaller is to "hide" the details - /// that MshSnapin class is actually doing installion. It is also more intuitive + /// that MshSnapin class is actually doing installation. It is also more intuitive /// since people deriving from this class will think there are really /// implementing a class for mshsnapin. ///