/// Because qualifiers are not ordered, any new qualifier has an arbitrary index,
diff --git a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/CustomActionProxy.cs b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/CustomActionProxy.cs
index bb947a2af..632447157 100644
--- a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/CustomActionProxy.cs
+++ b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/CustomActionProxy.cs
@@ -297,7 +297,7 @@ namespace Microsoft.PackageManagement.Msi.Internal.Deployment.WindowsInstaller
}
///
- /// Checks if a method has the right return and paramater types
+ /// Checks if a method has the right return and parameter types
/// for a custom action, and that it is marked by a CustomActionAttribute.
///
/// Method to be checked.
diff --git a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Exceptions.cs b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Exceptions.cs
index e1e7283f3..7be8e134a 100644
--- a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Exceptions.cs
+++ b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Exceptions.cs
@@ -546,7 +546,7 @@ namespace Microsoft.PackageManagement.Msi.Internal.Deployment.WindowsInstaller
}
///
- /// Gets a message that describes the merge conflits.
+ /// Gets a message that describes the merge conflicts.
///
public override String Message
{
diff --git a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/FeatureInfo.cs b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/FeatureInfo.cs
index b9617ea41..f1152ee88 100644
--- a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/FeatureInfo.cs
+++ b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/FeatureInfo.cs
@@ -294,7 +294,7 @@ namespace Microsoft.PackageManagement.Msi.Internal.Deployment.WindowsInstaller
/// MsiGetFeatureInfo,
/// MsiSetFeatureAttributes
///
- /// Since the lpAttributes paramter of
+ /// Since the lpAttributes parameter of
/// MsiGetFeatureInfo
/// does not contain an equivalent flag for , this flag will
/// not be retrieved.
diff --git a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Handle.cs b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Handle.cs
index 317c0ac6b..fb7694dad 100644
--- a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Handle.cs
+++ b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Handle.cs
@@ -132,7 +132,7 @@ namespace Microsoft.PackageManagement.Msi.Internal.Deployment.WindowsInstaller
}
///
- /// Gets an object that can be used internally for safe syncronization.
+ /// Gets an object that can be used internally for safe synchronization.
///
internal object Sync
{
diff --git a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Installer.cs b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Installer.cs
index 02de57ca5..689cce6c8 100644
--- a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Installer.cs
+++ b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Installer.cs
@@ -106,7 +106,7 @@ internal static partial class Installer
///
/// One or more mode flags specifying the type of messages to log
/// Full path to the log file. A null path disables logging,
- /// in which case the logModes paraneter is ignored.
+ /// in which case the logModes parameter is ignored.
/// an invalid log mode was specified
/// This method takes effect on any new installation processes. Calling this
/// method from within a custom action will not start logging for that installation.
@@ -121,7 +121,7 @@ internal static partial class Installer
///
/// One or more mode flags specifying the type of messages to log
/// Full path to the log file. A null path disables logging,
- /// in which case the logModes paraneter is ignored.
+ /// in which case the logModes parameter is ignored.
/// If true, the log lines will be appended to any existing file content.
/// If false, the log file will be truncated if it exists. The default is false.
/// If true, the log will be flushed after every line.
diff --git a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/InstallerUtils.cs b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/InstallerUtils.cs
index 697306a31..a0359b8ad 100644
--- a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/InstallerUtils.cs
+++ b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/InstallerUtils.cs
@@ -27,7 +27,7 @@ namespace Microsoft.PackageManagement.Msi.Internal.Deployment.WindowsInstaller
{
get
{
- // TODO: Use the extended form of version info to get the 4th component of the verison.
+ // TODO: Use the extended form of version info to get the 4th component of the version.
uint[] dllVersionInfo = new uint[5];
dllVersionInfo[0] = 20;
int hr = NativeMethods.DllGetVersion(dllVersionInfo);
diff --git a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/PatchInstallation.cs b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/PatchInstallation.cs
index e0ab88221..8ec7617c4 100644
--- a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/PatchInstallation.cs
+++ b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/PatchInstallation.cs
@@ -205,7 +205,7 @@ namespace Microsoft.PackageManagement.Msi.Internal.Deployment.WindowsInstaller
}
///
- /// Gets a value indicating whether this patch is marked as obsolte.
+ /// Gets a value indicating whether this patch is marked as obsolete.
///
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Obsoleted")]
[SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
diff --git a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Session.cs b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Session.cs
index 03b89193e..96edcdda4 100644
--- a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Session.cs
+++ b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/Session.cs
@@ -932,7 +932,7 @@ namespace Microsoft.PackageManagement.Msi.Internal.Deployment.WindowsInstaller
}
///
- /// Throws an exception if the custom action is not able to access immedate session details.
+ /// Throws an exception if the custom action is not able to access immediate session details.
///
private void ValidateSessionAccess()
{
diff --git a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/SummaryInfo.cs b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/SummaryInfo.cs
index e1211044a..6060fc881 100644
--- a/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/SummaryInfo.cs
+++ b/src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/SummaryInfo.cs
@@ -139,7 +139,7 @@ namespace Microsoft.PackageManagement.Msi.Internal.Deployment.WindowsInstaller
/// Gets or sets the Template summary information property.
///
- /// The Template summary information propery indicates the platform and language versions supported by the database.
+ /// The Template summary information property indicates the platform and language versions supported by the database.
///
/// The syntax of the Template Summary property information is:
/// [platform property][,platform property][,...];[language id][,language id][,...]
diff --git a/src/Microsoft.PackageManagement.MsiProvider/MsiProvider.cs b/src/Microsoft.PackageManagement.MsiProvider/MsiProvider.cs
index a871a6f51..ade91656e 100644
--- a/src/Microsoft.PackageManagement.MsiProvider/MsiProvider.cs
+++ b/src/Microsoft.PackageManagement.MsiProvider/MsiProvider.cs
@@ -42,7 +42,7 @@ namespace Microsoft.PackageManagement.Msi.Internal {
///
/// Returns the name of the Provider.
///
- /// The name of this proivder (uses the constant declared at the top of the class)
+ /// The name of this provider (uses the constant declared at the top of the class)
public string GetPackageProviderName() {
return ProviderName;
}
diff --git a/src/Microsoft.PackageManagement.MsuProvider/MsuProvider.cs b/src/Microsoft.PackageManagement.MsuProvider/MsuProvider.cs
index f980705ee..0cde216f1 100644
--- a/src/Microsoft.PackageManagement.MsuProvider/MsuProvider.cs
+++ b/src/Microsoft.PackageManagement.MsuProvider/MsuProvider.cs
@@ -43,7 +43,7 @@ namespace Microsoft.PackageManagement.Msu.Internal {
///
/// Returns the name of the Provider.
///
- /// The name of this proivder (uses the constant declared at the top of the class)
+ /// The name of this provider (uses the constant declared at the top of the class)
public string GetPackageProviderName() {
return ProviderName;
}
diff --git a/src/Microsoft.PackageManagement.NuGetProvider/NugetLightRequest.cs b/src/Microsoft.PackageManagement.NuGetProvider/NugetLightRequest.cs
index 5bc0aa951..08eada3ae 100644
--- a/src/Microsoft.PackageManagement.NuGetProvider/NugetLightRequest.cs
+++ b/src/Microsoft.PackageManagement.NuGetProvider/NugetLightRequest.cs
@@ -45,10 +45,10 @@
private string _destinationPath = null;
internal Lazy SkipValidate; //??? Seems to be a design choice. Why let a user to decide?
- // we cannot enable skipdepedencies because this will break downlevel psget which sets skipdependencies to true
+ // we cannot enable skipdependencies because this will break downlevel psget which sets skipdependencies to true
//internal Lazy SkipDependencies;
- //internal ImplictLazy ContinueOnFailure;
- //internal ImplictLazy FindByCanonicalId;
+ //internal ImplicitLazy ContinueOnFailure;
+ //internal ImplicitLazy FindByCanonicalId;
private HttpClient _httpClient;
private HttpClient _httpClientWithoutAcceptHeader;
@@ -73,8 +73,8 @@
Scope = new Lazy(() => GetOptionValue("Scope"));
//SkipDependencies = new Lazy(() => GetOptionValue("SkipDependencies").IsTrue());
- //ContinueOnFailure = new ImplictLazy(() => GetOptionValue("ContinueOnFailure").IsTrue());
- //FindByCanonicalId = new ImplictLazy(() => GetOptionValue("FindByCanonicalId").IsTrue());
+ //ContinueOnFailure = new ImplicitLazy(() => GetOptionValue("ContinueOnFailure").IsTrue());
+ //FindByCanonicalId = new ImplicitLazy(() => GetOptionValue("FindByCanonicalId").IsTrue());
Headers = new Lazy(() => (GetOptionValues("Headers") ?? new string[0]).ToArray());
InstalledPackages = new Lazy(() => (GetInstalledPackagesOptionValue()).ToArray());
@@ -984,7 +984,7 @@
if (pkgItem != null && pkgItem.IsInstalled)
{
- //A user does not provide any package name in the commandeline, return them all
+ //A user does not provide any package name in the commandline, return them all
if (string.IsNullOrWhiteSpace(name))
{
isDup = true;
@@ -1409,7 +1409,7 @@
}
if (AllVersions.Value){
- //Display versions from lastest to oldest
+ //Display versions from latest to oldest
pkgs = (from p in pkgs select p).OrderByDescending(x => x.Version);
}
@@ -1605,7 +1605,7 @@
return pkgs;
}
- //Tags should be performed as *AND* intead of *OR"
+ //Tags should be performed as *AND* instead of *OR"
//For example -FilterOnTag:{ "A", "B"}, the returned package should have both A and B.
return pkgs.Where(pkg => FilterOnTag.Value.All(
tagFromUser =>
@@ -1681,7 +1681,7 @@
//A sample case will be something like find-package sql*Compact*.
//When the AllVersions property exists, the query like the following containing the wildcards does not work. We need to remove the wild cards and
- //replace it with the longest string searhc.
+ //replace it with the longest string search.
//http://www.powershellgallery.com/api/v2/Search()?$orderby=DownloadCount%20desc,Id&searchTerm='tsdprovi*'&targetFramework=''&includePrerelease=false
if ((!String.IsNullOrWhiteSpace(name) && source.Location.IndexOf("powershellgallery.com", StringComparison.OrdinalIgnoreCase) == -1)
@@ -1714,7 +1714,7 @@
if (!String.IsNullOrWhiteSpace(name))
{
- //Filter on the results. This is needed because we replace [...] regex in the searchterm at the begining of this method.
+ //Filter on the results. This is needed because we replace [...] regex in the searchterm at the beginning of this method.
pkgs = FilterOnName(pkgs, name, isNameContainsWildCard);
}
diff --git a/src/Microsoft.PackageManagement.NuGetProvider/Package/PackageItem.cs b/src/Microsoft.PackageManagement.NuGetProvider/Package/PackageItem.cs
index 146050c07..bff97d2b3 100644
--- a/src/Microsoft.PackageManagement.NuGetProvider/Package/PackageItem.cs
+++ b/src/Microsoft.PackageManagement.NuGetProvider/Package/PackageItem.cs
@@ -130,7 +130,7 @@
}
}
- //Comparer for packges using version and id
+ //Comparer for packages using version and id
internal class PackageItemComparer : IEqualityComparer
{
public bool Equals(PackageItem packageOne, PackageItem packageTwo)
diff --git a/src/Microsoft.PackageManagement.NuGetProvider/Repository/HttpClientPackageRepository.cs b/src/Microsoft.PackageManagement.NuGetProvider/Repository/HttpClientPackageRepository.cs
index fa65b1f6a..e364ece78 100644
--- a/src/Microsoft.PackageManagement.NuGetProvider/Repository/HttpClientPackageRepository.cs
+++ b/src/Microsoft.PackageManagement.NuGetProvider/Repository/HttpClientPackageRepository.cs
@@ -100,7 +100,7 @@
//Usually versions has a limited number, ToArray should be ok.
var versions = version.GetComparableVersionStrings().ToArray();
- //Will only enumerate oackages once
+ //Will only enumerate packages once
return packages.FirstOrDefault(package => packageId.Equals(package.Id, StringComparison.OrdinalIgnoreCase) && versions.Contains(package.Version,StringComparer.OrdinalIgnoreCase));
}
diff --git a/src/Microsoft.PackageManagement.NuGetProvider/Repository/LocalPackageRepository.cs b/src/Microsoft.PackageManagement.NuGetProvider/Repository/LocalPackageRepository.cs
index fc1c77995..48181a074 100644
--- a/src/Microsoft.PackageManagement.NuGetProvider/Repository/LocalPackageRepository.cs
+++ b/src/Microsoft.PackageManagement.NuGetProvider/Repository/LocalPackageRepository.cs
@@ -345,7 +345,7 @@
return packages;
}
- //return the lastest version
+ //return the latest version
return packages.GroupBy(p => p.Id).Select(each => each.OrderByDescending(pp => pp.Version).FirstOrDefault());
}
diff --git a/src/Microsoft.PackageManagement.NuGetProvider/Sdk/Request.cs b/src/Microsoft.PackageManagement.NuGetProvider/Sdk/Request.cs
index 13bc8bbb8..a7c781c66 100644
--- a/src/Microsoft.PackageManagement.NuGetProvider/Sdk/Request.cs
+++ b/src/Microsoft.PackageManagement.NuGetProvider/Sdk/Request.cs
@@ -13,7 +13,7 @@ namespace Microsoft.PackageManagement.NuGetProvider
//private Dictionary _options;
private string[] _packageSources;
- #region PackageMangaement Interfaces
+ #region PackageManagement Interfaces
[SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Justification = "It's a generated code")]
public interface IProviderServices {
@@ -278,7 +278,7 @@ namespace Microsoft.PackageManagement.NuGetProvider
private static string FixMeFormat(string formatString, object[] args) {
if (args == null || args.Length == 0) {
- // not really any args, and not really expectng any
+ // not really any args, and not really expecting any
return formatString.Replace('{', '\u00ab').Replace('}', '\u00bb');
}
return args.Aggregate(formatString.Replace('{', '\u00ab').Replace('}', '\u00bb'), (current, arg) => current + string.Format(CultureInfo.CurrentCulture, " \u00ab{0}\u00bb", arg));
diff --git a/src/Microsoft.PackageManagement.NuGetProvider/Utility/PackageUtility.cs b/src/Microsoft.PackageManagement.NuGetProvider/Utility/PackageUtility.cs
index e45ba24af..be39bfe2b 100644
--- a/src/Microsoft.PackageManagement.NuGetProvider/Utility/PackageUtility.cs
+++ b/src/Microsoft.PackageManagement.NuGetProvider/Utility/PackageUtility.cs
@@ -30,7 +30,7 @@
internal static string GetPackageNameWithoutVersionInfo(string packageName)
{
//Input: JQuery.2.1.3
- //output: Jqery
+ //output: JQuery
// An unsupported scenario is if the package has name MyModule2.2 and version 2.0 then we will return version as 2.2.2.0 and packagename as mymodule
string version = String.Empty;
@@ -276,7 +276,7 @@
}
// Dependencies are of the form "dep1|dep2"
- // Split them up and process each depedency with ParseDependency function
+ // Split them up and process each dependency with ParseDependency function
var dependencies = value.Split('|').Select(ParseDependency);
// group the dependencies by target framework
@@ -338,7 +338,7 @@
///
/// Extract the package id.
- /// From the feed, the package id is eqaul to something like this "http://www.nuget.org/api/v2/Packages(Id='jQuery',Version='2.1.3')".
+ /// From the feed, the package id is equal to something like this "http://www.nuget.org/api/v2/Packages(Id='jQuery',Version='2.1.3')".
/// But we need id='jQuery'.
///
///
@@ -416,7 +416,7 @@
}
///
- /// A help for processing the metatadata tag
+ /// A help for processing the metadata tag
///
///
///
@@ -542,7 +542,7 @@
if (!groups.Any())
{
- // since there is no group, we are encoutering
+ // since there is no group, we are encountering
// old format, is direct child of
var dependencySet = new PackageDependencySet
{
@@ -586,7 +586,7 @@
}
///
- /// Make sure the Nuget required xml tags exist witin the metadata tag in the nuspec file.
+ /// Make sure the Nuget required xml tags exist within the metadata tag in the nuspec file.
///
///
private static void EnsureRequiredXmlTags(PackageBase package)
diff --git a/src/Microsoft.PackageManagement.NuGetProvider/nugetlightprovider.cs b/src/Microsoft.PackageManagement.NuGetProvider/nugetlightprovider.cs
index 5bc32760e..dd038b1f1 100644
--- a/src/Microsoft.PackageManagement.NuGetProvider/nugetlightprovider.cs
+++ b/src/Microsoft.PackageManagement.NuGetProvider/nugetlightprovider.cs
@@ -18,7 +18,7 @@ namespace Microsoft.PackageManagement.NuGetProvider
///
/// Important notes:
/// - Required Methods: Not all methods are required; some package providers do not support some features. If the methods isn't used or implemented it should be removed (or commented out)
- /// - Error Handling: Avoid throwing exceptions from these methods. To properly return errors to the user, use the request.Error(...) method to notify the user of an error conditionm and then return.
+ /// - Error Handling: Avoid throwing exceptions from these methods. To properly return errors to the user, use the request.Error(...) method to notify the user of an error condition and then return.
/// - Communicating with the HOST and CORE: each method takes a Request (in reality, an alias for System.Object), which can be used in one of two ways:
/// - use the c# 'dynamic' keyword, and call functions on the object directly.
/// - use the () ]]> extension method to strongly-type it to the Request type (which calls upon the duck-typer to generate a strongly-typed wrapper).
@@ -65,7 +65,7 @@ namespace Microsoft.PackageManagement.NuGetProvider
}
///
- /// This is just here as to give us some possibility of knowing when an unexception happens...
+ /// This is just here as to give us some possibility of knowing when an exception happens...
/// At the very least, we'll write it to the system debug channel, so a developer can find it if they are looking for it.
///
public void OnUnhandledException(string methodName, Exception exception) {
@@ -275,7 +275,7 @@ namespace Microsoft.PackageManagement.NuGetProvider
request.Verbose(Resources.Messages.SuccessfullyValidated, name);
}
- // it's good to check just before you actaully write something to see if the user has cancelled the operation
+ // it's good to check just before you actually write something to see if the user has cancelled the operation
if (request.IsCanceled)
{
return;
@@ -397,7 +397,7 @@ namespace Microsoft.PackageManagement.NuGetProvider
return;
}
- // A user does not provide the package full Name at all Or used wildcard in the name. Let's try searching the entire reposiotry for matches.
+ // A user does not provide the package full Name at all Or used wildcard in the name. Let's try searching the entire repository for matches.
request.YieldPackages(request.SearchForPackages(name), name);
}
catch (Exception ex)
diff --git a/src/Microsoft.PackageManagement.PackageSourceListProvider/Extensions/PackageListExtensions.cs b/src/Microsoft.PackageManagement.PackageSourceListProvider/Extensions/PackageListExtensions.cs
index bb7a4db32..ce49bcb1b 100644
--- a/src/Microsoft.PackageManagement.PackageSourceListProvider/Extensions/PackageListExtensions.cs
+++ b/src/Microsoft.PackageManagement.PackageSourceListProvider/Extensions/PackageListExtensions.cs
@@ -76,7 +76,7 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
{
if (args == null || args.Length == 0)
{
- // not really any args, and not really expectng any
+ // not really any args, and not really expecting any
return formatString.Replace('{', '\u00ab').Replace('}', '\u00bb');
}
return args.Aggregate(formatString.Replace('{', '\u00ab').Replace('}', '\u00bb'), (current, arg) => current + string.Format(CultureInfo.CurrentCulture, " \u00ab{0}\u00bb", arg));
diff --git a/src/Microsoft.PackageManagement.PackageSourceListProvider/PackageList/ExePackageInstaller.cs b/src/Microsoft.PackageManagement.PackageSourceListProvider/PackageList/ExePackageInstaller.cs
index 18e6ca1d7..064d2a2c4 100644
--- a/src/Microsoft.PackageManagement.PackageSourceListProvider/PackageList/ExePackageInstaller.cs
+++ b/src/Microsoft.PackageManagement.PackageSourceListProvider/PackageList/ExePackageInstaller.cs
@@ -214,7 +214,7 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
private static bool YieldPackages(string hive, RegistryKey regkey, string name, string displayname, string requiredVersion, string minimumVersion, string maximumVersion, PackageJson package, Request request)
{
- //TODO make it wildcard match, follow the fastfrence format, get-package git no reults, get-package git*
+ //TODO make it wildcard match, follow the fastfrence format, get-package git no results, get-package git*
if (regkey != null)
{
diff --git a/src/Microsoft.PackageManagement.PackageSourceListProvider/PackageList/PackageListProvider.cs b/src/Microsoft.PackageManagement.PackageSourceListProvider/PackageList/PackageListProvider.cs
index 8e4fe99d7..b34610b48 100644
--- a/src/Microsoft.PackageManagement.PackageSourceListProvider/PackageList/PackageListProvider.cs
+++ b/src/Microsoft.PackageManagement.PackageSourceListProvider/PackageList/PackageListProvider.cs
@@ -276,7 +276,7 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
}
}
- // it's good to check just before you actaully write something to see if the user has cancelled the operation
+ // it's good to check just before you actually write something to see if the user has cancelled the operation
if (request.IsCanceled) {
return;
}
diff --git a/src/Microsoft.PackageManagement/Api/IHostAPI.cs b/src/Microsoft.PackageManagement/Api/IHostAPI.cs
index 07581b089..739293522 100644
--- a/src/Microsoft.PackageManagement/Api/IHostAPI.cs
+++ b/src/Microsoft.PackageManagement/Api/IHostAPI.cs
@@ -18,7 +18,7 @@ namespace Microsoft.PackageManagement.Internal.Api {
using System.Net;
///
- /// Functions implemented by the HOST to provide contexual information and control to for the current request.
+ /// Functions implemented by the HOST to provide contextual information and control to for the current request.
///
public interface IHostApi {
@@ -198,7 +198,7 @@ namespace Microsoft.PackageManagement.Internal.Api {
///
/// the name of the provider or component requesting the provider.
/// the name of the requested provider
- /// the miniumum version of the provider required
+ /// the minimum version of the provider required
///
/// the remote location that the provider is being bootstrapped from
/// the target folder where the provider is to be installed.
@@ -214,7 +214,7 @@ namespace Microsoft.PackageManagement.Internal.Api {
bool ShouldContinueWithUntrustedPackageSource(string package, string packageSource);
///
- /// Allow a package provider to comfirm a user whether the process should continue
+ /// Allow a package provider to confirm a user whether the process should continue
///
/// Query that inquires whether the cmdlet should continue.
/// Caption of the window that might be displayed when the user is prompted whether or not to perform the action.
@@ -224,7 +224,7 @@ namespace Microsoft.PackageManagement.Internal.Api {
bool ShouldContinue(string query, string caption, ref bool yesToAll, ref bool noToAll);
///
- /// Allow a package provider to comfirm a user whether the process should continue
+ /// Allow a package provider to confirm a user whether the process should continue
///
/// Query that inquires whether the cmdlet should continue.
/// Caption of the window that might be displayed when the user is prompted whether or not to perform the action.
diff --git a/src/Microsoft.PackageManagement/Implementation/PackageManagementService.cs b/src/Microsoft.PackageManagement/Implementation/PackageManagementService.cs
index a081161dc..44d418171 100644
--- a/src/Microsoft.PackageManagement/Implementation/PackageManagementService.cs
+++ b/src/Microsoft.PackageManagement/Implementation/PackageManagementService.cs
@@ -775,7 +775,7 @@ namespace Microsoft.PackageManagement.Internal.Implementation {
AddToProviderCacheTable(provider.ProviderName, provider);
- //initialize the warpper package provider
+ //initialize the wrapper package provider
provider.Initialize(request);
// addOrSet locks the collection anyway.
diff --git a/src/Microsoft.PackageManagement/Implementation/Request.cs b/src/Microsoft.PackageManagement/Implementation/Request.cs
index 7a5494980..149ed1ed1 100644
--- a/src/Microsoft.PackageManagement/Implementation/Request.cs
+++ b/src/Microsoft.PackageManagement/Implementation/Request.cs
@@ -236,7 +236,7 @@ namespace Microsoft.PackageManagement.Internal.Implementation {
private static string FixMeFormat(string formatString, object[] args) {
if (args == null || args.Length == 0) {
- // not really any args, and not really expectng any
+ // not really any args, and not really expecting any
return formatString.Replace('{', '\u00ab').Replace('}', '\u00bb');
}
return args.Aggregate(formatString.Replace('{', '\u00ab').Replace('}', '\u00bb'), (current, arg) => current + string.Format(CultureInfo.CurrentCulture, " \u00ab{0}\u00bb", arg));
diff --git a/src/Microsoft.PackageManagement/PackageManager.cs b/src/Microsoft.PackageManagement/PackageManager.cs
index fe2c84c1f..12bcef38b 100644
--- a/src/Microsoft.PackageManagement/PackageManager.cs
+++ b/src/Microsoft.PackageManagement/PackageManager.cs
@@ -16,7 +16,7 @@ namespace Microsoft.PackageManagement.Internal {
using Implementation;
///
- /// The public interface to accessing the fetaures of the Package Management Service
+ /// The public interface to accessing the features of the Package Management Service
/// This offers two possible methods to get the instance of the PackageManagementService.
/// If the Host is consuming the PackageManagementService by linking to this assembly, then
/// the simplest access is just to use the Instance method.
diff --git a/src/Microsoft.PackageManagement/Packaging/BaseElement.cs b/src/Microsoft.PackageManagement/Packaging/BaseElement.cs
index faed008a9..30e1fba13 100644
--- a/src/Microsoft.PackageManagement/Packaging/BaseElement.cs
+++ b/src/Microsoft.PackageManagement/Packaging/BaseElement.cs
@@ -21,7 +21,7 @@ namespace Microsoft.PackageManagement.Internal.Packaging {
///
/// The base element that is common to all elements in a Swidtag.
- /// Swidtag classes are intended to be constructed, but are not mutatable
+ /// Swidtag classes are intended to be constructed, but are not mutable
/// (ie, can't be created and have values modified or removed)
///
public class BaseElement {
@@ -46,7 +46,7 @@ namespace Microsoft.PackageManagement.Internal.Packaging {
}
///
- /// All Swidtag elements can explicity support the xml:lang attribute.
+ /// All Swidtag elements can explicitly support the xml:lang attribute.
///
public string Culture {
get {
diff --git a/src/Microsoft.PackageManagement/Packaging/Swidtag.cs b/src/Microsoft.PackageManagement/Packaging/Swidtag.cs
index a86ca7d4f..8c4468736 100644
--- a/src/Microsoft.PackageManagement/Packaging/Swidtag.cs
+++ b/src/Microsoft.PackageManagement/Packaging/Swidtag.cs
@@ -264,7 +264,7 @@ namespace Microsoft.PackageManagement.Internal.Packaging {
/// The ResourceCollection added. If the Payload already exists, returns the current Payload.
internal Payload AddPayload() {
// should we just detect and add the evidence element when a provider is adding items to the evidence
- // instead of requiring someone to explicity add the element?
+ // instead of requiring someone to explicitly add the element?
if (Element.Elements(Iso19770_2.Elements.Payload).Any()) {
return Payload;
}
@@ -294,7 +294,7 @@ namespace Microsoft.PackageManagement.Internal.Packaging {
/// The added Evidence element. If the Evidence element already exists, returns the current element.
internal Evidence AddEvidence() {
// should we just detect and add the evidence element when a provider is adding items to the evidence
- // instead of requiring someone to explicity add the element?
+ // instead of requiring someone to explicitly add the element?
if (Element.Elements(Iso19770_2.Elements.Evidence).Any()) {
return Evidence;
}
diff --git a/src/Microsoft.PackageManagement/Properties/AssemblyInfo.cs b/src/Microsoft.PackageManagement/Properties/AssemblyInfo.cs
index e72eb47bb..d34225c1e 100644
--- a/src/Microsoft.PackageManagement/Properties/AssemblyInfo.cs
+++ b/src/Microsoft.PackageManagement/Properties/AssemblyInfo.cs
@@ -29,7 +29,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
-// Normally, we wouldn't actaully permit access to the internals of the API
+// Normally, we wouldn't actually permit access to the internals of the API
// but we're sharing code with the other tightly-coupled providers
// Third-party providers shouldn't use (or want) to be tightly-coupled
diff --git a/src/Microsoft.PackageManagement/Utility/Collections/PathEqualityComparer.cs b/src/Microsoft.PackageManagement/Utility/Collections/PathEqualityComparer.cs
index b1085516a..1b36acc42 100644
--- a/src/Microsoft.PackageManagement/Utility/Collections/PathEqualityComparer.cs
+++ b/src/Microsoft.PackageManagement/Utility/Collections/PathEqualityComparer.cs
@@ -64,7 +64,7 @@ namespace Microsoft.PackageManagement.Internal.Utility.Collections {
}
catch (Exception) {
//GetFullPath() can throw for the bad path or unsupported path format, e.g. PS:MydriveFolder.
- //we should not throw in this case. Intead return string.Empty to indicate not matching
+ //we should not throw in this case. Instead return string.Empty to indicate not matching
}
return string.Empty;
}
diff --git a/src/Microsoft.PackageManagement/Utility/Extensions/FilesystemExtensions.cs b/src/Microsoft.PackageManagement/Utility/Extensions/FilesystemExtensions.cs
index 74888c932..37cedcaff 100644
--- a/src/Microsoft.PackageManagement/Utility/Extensions/FilesystemExtensions.cs
+++ b/src/Microsoft.PackageManagement/Utility/Extensions/FilesystemExtensions.cs
@@ -95,7 +95,7 @@ namespace Microsoft.PackageManagement.Internal.Utility.Extensions {
}
if (File.Exists(location)) {
- // err("Unable to forcably remove file '{0}'. This can't be good.", location);
+ // err("Unable to forcibly remove file '{0}'. This can't be good.", location);
}
}
return;
@@ -146,7 +146,7 @@ namespace Microsoft.PackageManagement.Internal.Utility.Extensions {
catch { }
}
- // delete all filese that is older than 2 days
+ // delete all files that is older than 2 days
foreach (var filePath in Directory.EnumerateFiles(TempPath))
{
try
@@ -202,7 +202,7 @@ namespace Microsoft.PackageManagement.Internal.Utility.Extensions {
}
#endif
}
- // not a remote (or resovably-remote) path or
+ // not a remote (or resolvable-remote) path or
// it is already a path that is in it's correct form (via localpath)
return pathUri.LocalPath;
} catch (UriFormatException) {
diff --git a/src/Microsoft.PackageManagement/Utility/Plugin/DynamicTypeExtensions.cs b/src/Microsoft.PackageManagement/Utility/Plugin/DynamicTypeExtensions.cs
index 3702d22a6..897d332dd 100644
--- a/src/Microsoft.PackageManagement/Utility/Plugin/DynamicTypeExtensions.cs
+++ b/src/Microsoft.PackageManagement/Utility/Plugin/DynamicTypeExtensions.cs
@@ -138,7 +138,7 @@ namespace Microsoft.PackageManagement.Internal.Utility.Plugin
// this method isn't returning anything.
if (instanceMethod.ReturnType != typeof(void))
{
- // pop the return value beacuse the generated method is void and the
+ // pop the return value because the generated method is void and the
// method we called actually gave us a result.
il.Emit(OpCodes.Pop);
}
diff --git a/src/Microsoft.PackageManagement/providers/IPackageProvider.cs b/src/Microsoft.PackageManagement/providers/IPackageProvider.cs
index 44549e063..c3477cd69 100644
--- a/src/Microsoft.PackageManagement/providers/IPackageProvider.cs
+++ b/src/Microsoft.PackageManagement/providers/IPackageProvider.cs
@@ -72,7 +72,7 @@ namespace Microsoft.PackageManagement.Internal.Providers {
/// Expected behavior:
/// If request.Sources is null or empty, the provider should return the list of registered sources.
/// Otherwise, the provider should return package sources that match the strings in the request.Sources
- /// collction. If the string doesn't match a registered source (either by name or by location) and the
+ /// collection. If the string doesn't match a registered source (either by name or by location) and the
/// string can be construed as a package source (ie, passing in a valid URL to a provider that uses URLs
/// for their package sources), then the provider should return a package source for that URL, but marked
/// as 'unregistered' (and 'untrusted')
@@ -84,7 +84,7 @@ namespace Microsoft.PackageManagement.Internal.Providers {
///
/// PowerShellMetaProvider notes:
/// - may use Resolve-PackageSource as the function name
- /// - $request object is not passed as a parameter, but inserted as a variable before the ca New-PackageSourcell.
+ /// - $request object is not passed as a parameter, but inserted as a variable before the ca New-PackageSource.
/// - Values can be returned using Write-Object for objects returned from the function
///
void ResolvePackageSources(IRequest requestObject);
@@ -115,7 +115,7 @@ namespace Microsoft.PackageManagement.Internal.Providers {
/// that match sources (either by name or location) in the list of specified strings.
///
/// matches against the name of a package. If this is null or empty, should return all matching packages.
- /// an exact version of the package to match. If this is specified, miniumum and maximum should be ignored.
+ /// an exact version of the package to match. If this is specified, minimum and maximum should be ignored.
/// the minimum version of the package to match. If requiredVersion is specified, this should be ignored.
/// the maximum version of the package to match. If requiredVersion is specified, this should be ignored.
/// the batch id. If the provider supports batch searches, and this is non-zero,
@@ -226,7 +226,7 @@ namespace Microsoft.PackageManagement.Internal.Providers {
/// Returns Software Identities for installed packages
///
/// matches against the name of a package. If this is null or empty, should return all matching packages.
- /// an exact version of the package to match. If this is specified, miniumum and maximum should be ignored.
+ /// an exact version of the package to match. If this is specified, minimum and maximum should be ignored.
/// the minimum version of the package to match. If requiredVersion is specified, this should be ignored.
/// the maximum version of the package to match. If requiredVersion is specified, this should be ignored.
/// The request context passed to the provider.
diff --git a/src/Microsoft.PackageManagement/providers/inbox/Common/Extensions/FilesystemExtensions.cs b/src/Microsoft.PackageManagement/providers/inbox/Common/Extensions/FilesystemExtensions.cs
index 5cb3b2d91..51affeac3 100644
--- a/src/Microsoft.PackageManagement/providers/inbox/Common/Extensions/FilesystemExtensions.cs
+++ b/src/Microsoft.PackageManagement/providers/inbox/Common/Extensions/FilesystemExtensions.cs
@@ -108,7 +108,7 @@ namespace Microsoft.PackageManagement.Provider.Utility {
if (File.Exists(location))
{
- // err("Unable to forcably remove file '{0}'. This can't be good.", location);
+ // err("Unable to forcibly remove file '{0}'. This can't be good.", location);
}
}
return;
@@ -213,7 +213,7 @@ namespace Microsoft.PackageManagement.Provider.Utility {
// }
// }
}
- // not a remote (or resovably-remote) path or
+ // not a remote (or resolvable-remote) path or
// it is already a path that is in it's correct form (via localpath)
return pathUri.LocalPath;
} catch (UriFormatException) {
diff --git a/src/Microsoft.PackageManagement/providers/inbox/Common/Version/SemanticVersion.cs b/src/Microsoft.PackageManagement/providers/inbox/Common/Version/SemanticVersion.cs
index dc48cf249..d620554a0 100644
--- a/src/Microsoft.PackageManagement/providers/inbox/Common/Version/SemanticVersion.cs
+++ b/src/Microsoft.PackageManagement/providers/inbox/Common/Version/SemanticVersion.cs
@@ -14,7 +14,7 @@ namespace Microsoft.PackageManagement.Provider.Utility
/// Example: EntityFramework 6.1.3-beta1
/// Version: 6.1.3
/// SpecialVersion: -beta1
- /// OrginalString: 6.1.3-beta1
+ /// OriginalString: 6.1.3-beta1
///
///
[TypeConverter(typeof(SemanticVersionTypeConverter))]
diff --git a/src/Microsoft.PowerShell.Activities/Activities/ActivityGenerator.cs b/src/Microsoft.PowerShell.Activities/Activities/ActivityGenerator.cs
index 745ad6032..1657310a3 100644
--- a/src/Microsoft.PowerShell.Activities/Activities/ActivityGenerator.cs
+++ b/src/Microsoft.PowerShell.Activities/Activities/ActivityGenerator.cs
@@ -109,7 +109,7 @@ namespace {0}
/// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run.
///
/// The NativeActivityContext for the currently running activity.
- /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// A populated instance of System.Management.Automation.PowerShell
/// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context)
{{
@@ -448,7 +448,7 @@ namespace {0}
/// Generates a complete activity source file from a module.
///
///
- /// The namesspace to use for the target classes
+ /// The namespace to use for the target classes
/// An array of code elements to compile into an assembly
static public string[] GenerateFromModuleInfo(PSModuleInfo moduleToProcess, string activityNamespace)
{
diff --git a/src/Microsoft.PowerShell.Activities/Activities/GetCimAssociatedInstanceActivity.cs b/src/Microsoft.PowerShell.Activities/Activities/GetCimAssociatedInstanceActivity.cs
index 8a052183f..97fb15bc2 100644
--- a/src/Microsoft.PowerShell.Activities/Activities/GetCimAssociatedInstanceActivity.cs
+++ b/src/Microsoft.PowerShell.Activities/Activities/GetCimAssociatedInstanceActivity.cs
@@ -84,7 +84,7 @@ namespace Microsoft.PowerShell.Activities
/// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run.
///
/// The NativeActivityContext for the currently running activity.
- /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// A populated instance of System.Management.Automation.PowerShell
/// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context)
{
diff --git a/src/Microsoft.PowerShell.Activities/Activities/GetCimClassActivity.cs b/src/Microsoft.PowerShell.Activities/Activities/GetCimClassActivity.cs
index 717689988..249864c18 100644
--- a/src/Microsoft.PowerShell.Activities/Activities/GetCimClassActivity.cs
+++ b/src/Microsoft.PowerShell.Activities/Activities/GetCimClassActivity.cs
@@ -84,7 +84,7 @@ namespace Microsoft.PowerShell.Activities
/// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run.
///
/// The NativeActivityContext for the currently running activity.
- /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// A populated instance of System.Management.Automation.PowerShell
/// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context)
{
diff --git a/src/Microsoft.PowerShell.Activities/Activities/GetCimInstanceActivity.cs b/src/Microsoft.PowerShell.Activities/Activities/GetCimInstanceActivity.cs
index 8821a9524..bf08b44b6 100644
--- a/src/Microsoft.PowerShell.Activities/Activities/GetCimInstanceActivity.cs
+++ b/src/Microsoft.PowerShell.Activities/Activities/GetCimInstanceActivity.cs
@@ -107,7 +107,7 @@ namespace Microsoft.PowerShell.Activities
/// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run.
///
/// The NativeActivityContext for the currently running activity.
- /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// A populated instance of System.Management.Automation.PowerShell
/// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context)
{
diff --git a/src/Microsoft.PowerShell.Activities/Activities/GetPSWorkflowData.cs b/src/Microsoft.PowerShell.Activities/Activities/GetPSWorkflowData.cs
index 8fbc788d7..a2a7b9daa 100644
--- a/src/Microsoft.PowerShell.Activities/Activities/GetPSWorkflowData.cs
+++ b/src/Microsoft.PowerShell.Activities/Activities/GetPSWorkflowData.cs
@@ -301,7 +301,7 @@ namespace Microsoft.PowerShell.Activities
foreach(string varKey in dictionaryParam.Keys)
{
- // We need to get the values of required runtime variables only, not evrything from DataContext parameters
+ // We need to get the values of required runtime variables only, not everything from DataContext parameters
//
if (workflowRuntimeVariables.ContainsKey(varKey))
{
diff --git a/src/Microsoft.PowerShell.Activities/Activities/InlineScript.cs b/src/Microsoft.PowerShell.Activities/Activities/InlineScript.cs
index 767bf7b63..1601beb08 100644
--- a/src/Microsoft.PowerShell.Activities/Activities/InlineScript.cs
+++ b/src/Microsoft.PowerShell.Activities/Activities/InlineScript.cs
@@ -159,7 +159,7 @@ namespace Microsoft.PowerShell.Activities
///
/// Validates the contents of the script block for this command.
///
- /// Metatdata for this activity
+ /// Metadata for this activity
protected override void CacheMetadata(NativeActivityMetadata metadata)
{
base.CacheMetadata(metadata);
@@ -195,7 +195,7 @@ namespace Microsoft.PowerShell.Activities
/// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the script to run.
///
/// The NativeActivityContext for the currently running activity.
- /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// A populated instance of System.Management.Automation.PowerShell
/// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
[System.Diagnostics.CodeAnalysis.SuppressMessage(
"Microsoft.Reliability",
@@ -780,7 +780,7 @@ namespace Microsoft.PowerShell.Activities
public class Suspend : NativeActivity
{
///
- /// Optional field used for resuming the worklfow for a specific label.
+ /// Optional field used for resuming the workflow for a specific label.
///
public string Label { get; set; }
diff --git a/src/Microsoft.PowerShell.Activities/Activities/InvokeCimMethodActivity.cs b/src/Microsoft.PowerShell.Activities/Activities/InvokeCimMethodActivity.cs
index b818ffba9..da7558d5f 100644
--- a/src/Microsoft.PowerShell.Activities/Activities/InvokeCimMethodActivity.cs
+++ b/src/Microsoft.PowerShell.Activities/Activities/InvokeCimMethodActivity.cs
@@ -105,7 +105,7 @@ namespace Microsoft.PowerShell.Activities
/// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run.
///
/// The NativeActivityContext for the currently running activity.
- /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// A populated instance of System.Management.Automation.PowerShell
/// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context)
{
diff --git a/src/Microsoft.PowerShell.Activities/Activities/NewCimInstanceActivity.cs b/src/Microsoft.PowerShell.Activities/Activities/NewCimInstanceActivity.cs
index 04745a5b0..53f94aa05 100644
--- a/src/Microsoft.PowerShell.Activities/Activities/NewCimInstanceActivity.cs
+++ b/src/Microsoft.PowerShell.Activities/Activities/NewCimInstanceActivity.cs
@@ -91,7 +91,7 @@ namespace Microsoft.PowerShell.Activities
/// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run.
///
/// The NativeActivityContext for the currently running activity.
- /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// A populated instance of System.Management.Automation.PowerShell
/// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context)
{
diff --git a/src/Microsoft.PowerShell.Activities/Activities/NewCimSessionActivity.cs b/src/Microsoft.PowerShell.Activities/Activities/NewCimSessionActivity.cs
index 59bf6502c..26511b9a7 100644
--- a/src/Microsoft.PowerShell.Activities/Activities/NewCimSessionActivity.cs
+++ b/src/Microsoft.PowerShell.Activities/Activities/NewCimSessionActivity.cs
@@ -92,7 +92,7 @@ namespace Microsoft.PowerShell.Activities
/// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run.
///
/// The NativeActivityContext for the currently running activity.
- /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// A populated instance of System.Management.Automation.PowerShell
/// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context)
{
diff --git a/src/Microsoft.PowerShell.Activities/Activities/NewCimSessionOptionActivity.cs b/src/Microsoft.PowerShell.Activities/Activities/NewCimSessionOptionActivity.cs
index 6eca4892c..570c66731 100644
--- a/src/Microsoft.PowerShell.Activities/Activities/NewCimSessionOptionActivity.cs
+++ b/src/Microsoft.PowerShell.Activities/Activities/NewCimSessionOptionActivity.cs
@@ -175,7 +175,7 @@ namespace Microsoft.PowerShell.Activities
/// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run.
///
/// The NativeActivityContext for the currently running activity.
- /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// A populated instance of System.Management.Automation.PowerShell
/// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context)
{
diff --git a/src/Microsoft.PowerShell.Activities/Activities/Pipeline.cs b/src/Microsoft.PowerShell.Activities/Activities/Pipeline.cs
index cac9c7058..fba27cc72 100644
--- a/src/Microsoft.PowerShell.Activities/Activities/Pipeline.cs
+++ b/src/Microsoft.PowerShell.Activities/Activities/Pipeline.cs
@@ -16,7 +16,7 @@ namespace Microsoft.PowerShell.Activities
///
/// The implementation of pipeline activity.
/// This similar concept which we have in PowerShell today like Get-Process | Stop-Process.
- /// Pipline activity will make sure the piped execution of its child acitities.
+ /// Pipeline activity will make sure the piped execution of its child activities.
///
#if _NOTARMBUILD_
[Designer (typeof (PipelineDesigner))]
@@ -65,7 +65,7 @@ namespace Microsoft.PowerShell.Activities
///
/// Validate the required number of activities of pipeline activity.
- /// Setup the cachemetata with variables and activities.
+ /// Setup the cachemetadata with variables and activities.
///
///
protected override void CacheMetadata(NativeActivityMetadata metadata)
@@ -101,7 +101,7 @@ namespace Microsoft.PowerShell.Activities
return;
}
#endif
- // Adding variables into the CacheMetatdata of pipeline activity.
+ // Adding variables into the CacheMetadata of pipeline activity.
metadata.AddImplementationVariable(this.lastIndexHint);
// We use a GUID here to make this name hard to guess. It's not a security issue,
@@ -118,7 +118,7 @@ namespace Microsoft.PowerShell.Activities
appendOutput = true;
}
- // Adding activities into the CacheMetatdata of pipeline activity.
+ // Adding activities into the CacheMetadata of pipeline activity.
if (count == 1)
{
@@ -285,7 +285,7 @@ namespace Microsoft.PowerShell.Activities
///
/// The activity context.
/// The variable which needs to set.
- /// The value for the vriable.
+ /// The value for the variable.
private void SetData(ActivityContext context, Variable> variable, PSDataCollection value)
{
PropertyDescriptor prop = context.DataContext.GetProperties()[variable.Name];
diff --git a/src/Microsoft.PowerShell.Activities/Activities/PowerShellValue.cs b/src/Microsoft.PowerShell.Activities/Activities/PowerShellValue.cs
index 49d2e43f7..c94500925 100644
--- a/src/Microsoft.PowerShell.Activities/Activities/PowerShellValue.cs
+++ b/src/Microsoft.PowerShell.Activities/Activities/PowerShellValue.cs
@@ -40,7 +40,7 @@ namespace Microsoft.PowerShell.Activities
///
/// Validates the syntax of the script text for this activity.
///
- /// Activity metatdata for this activity
+ /// Activity metadata for this activity
protected override void CacheMetadata(NativeActivityMetadata metadata)
{
base.CacheMetadata(metadata);
diff --git a/src/Microsoft.PowerShell.Activities/Activities/RemoveCimInstanceActivity.cs b/src/Microsoft.PowerShell.Activities/Activities/RemoveCimInstanceActivity.cs
index 77e9dcc90..bcc130c66 100644
--- a/src/Microsoft.PowerShell.Activities/Activities/RemoveCimInstanceActivity.cs
+++ b/src/Microsoft.PowerShell.Activities/Activities/RemoveCimInstanceActivity.cs
@@ -75,7 +75,7 @@ namespace Microsoft.PowerShell.Activities
/// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run.
///
/// The NativeActivityContext for the currently running activity.
- /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// A populated instance of System.Management.Automation.PowerShell
/// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context)
{
diff --git a/src/Microsoft.PowerShell.Activities/Activities/SetCimInstanceActivity.cs b/src/Microsoft.PowerShell.Activities/Activities/SetCimInstanceActivity.cs
index a39313128..16759ec2b 100644
--- a/src/Microsoft.PowerShell.Activities/Activities/SetCimInstanceActivity.cs
+++ b/src/Microsoft.PowerShell.Activities/Activities/SetCimInstanceActivity.cs
@@ -93,7 +93,7 @@ namespace cimcmdlets.Activities
/// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run.
///
/// The NativeActivityContext for the currently running activity.
- /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// A populated instance of System.Management.Automation.PowerShell
/// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context)
{
diff --git a/src/Microsoft.PowerShell.Activities/Activities/WorkflowJobConverter.cs b/src/Microsoft.PowerShell.Activities/Activities/WorkflowJobConverter.cs
index 6aaf318fd..a09ae005e 100644
--- a/src/Microsoft.PowerShell.Activities/Activities/WorkflowJobConverter.cs
+++ b/src/Microsoft.PowerShell.Activities/Activities/WorkflowJobConverter.cs
@@ -102,7 +102,7 @@ namespace Microsoft.PowerShell.Workflow
/// the AST before compilation. This stage should be light-weight and as efficient
/// as possible.
///
- /// The PowerShell AST correpsponding to the job's definition.
+ /// The PowerShell AST corresponding to the job's definition.
/// A collection of PSParseErrors corresponding to any semantic issues in the AST.
public List ValidateAst(FunctionDefinitionAst ast)
{
@@ -113,7 +113,7 @@ namespace Microsoft.PowerShell.Workflow
/// Converts a PowerShell AST into a script block that represents
/// the workflow to run.
///
- /// The PowerShell AST correpsponding to the job's definition.
+ /// The PowerShell AST corresponding to the job's definition.
/// The module that is defining this command (if any)
///
/// A PowerShell script block that invokes an underlying job,
@@ -138,7 +138,7 @@ namespace Microsoft.PowerShell.Workflow
/// Converts a PowerShell AST into a script block that represents
/// the workflow to run.
///
- /// The PowerShell AST correpsponding to the job's definition.
+ /// The PowerShell AST corresponding to the job's definition.
/// The module that is defining this command (if any)
/// Only root Workflow will be compiled
///
@@ -163,7 +163,7 @@ namespace Microsoft.PowerShell.Workflow
/// Converts a PowerShell AST into a script block that represents
/// the workflow to run.
///
- /// The PowerShell AST correpsponding to the job's definition.
+ /// The PowerShell AST corresponding to the job's definition.
/// The module that is defining this command (if any)
/// The initial session state of a runspace.
/// parsing errors
@@ -188,7 +188,7 @@ namespace Microsoft.PowerShell.Workflow
/// Converts a PowerShell AST into a script block that represents
/// the workflow to run.
///
- /// The PowerShell AST correpsponding to the job's definition.
+ /// The PowerShell AST corresponding to the job's definition.
/// The module that is defining this command (if any)
/// The initial session state of a runspace.
/// parsing errors
@@ -206,7 +206,7 @@ namespace Microsoft.PowerShell.Workflow
/// Converts a PowerShell AST into a script block that represents
/// the workflow to run.
///
- /// The PowerShell AST correpsponding to the job's definition.
+ /// The PowerShell AST corresponding to the job's definition.
/// The module that is defining this command (if any).
/// The initial session state of a runspace.
/// Language mode of source that is creating the workflow.
@@ -224,7 +224,7 @@ namespace Microsoft.PowerShell.Workflow
/// Converts a PowerShell AST into a script block that represents
/// the workflow to run.
///
- /// The PowerShell AST correpsponding to the job's definition.
+ /// The PowerShell AST corresponding to the job's definition.
/// The module that is defining this command (if any)
/// The initial session state of a runspace.
/// Language mode of source that is creating the workflow.
@@ -323,7 +323,7 @@ namespace Microsoft.PowerShell.Workflow
invoker = System.Management.Automation.PowerShell.Create(initialSessionState);
var scopeFromIss = GetScopeFromIss(initialSessionState, invoker, out processedActivityLibraries, out activityMap);
- // Add functionDefinitions, if any, from scopeFromIss to parent scope, so that they will be available for all FunctionDefintionAsts
+ // Add functionDefinitions, if any, from scopeFromIss to parent scope, so that they will be available for all FunctionDefinitionAsts
foreach(var entry in scopeFromIss.functionDefinitions)
{
scope.functionDefinitions.Add(entry.Key, entry.Value);
@@ -908,7 +908,7 @@ namespace Microsoft.PowerShell.Workflow
/// The list of additional assemblies to search for workflow activities.
/// Any parameter validation applied to the parameters in the provided AST.
/// Any nested workflows required by this PowerShell AST.
- /// All assemblies, including provided at API or proiveded in workfow definition, required by this PowerShell Workflow.
+ /// All assemblies, including provided at API or provided in workflow definition, required by this PowerShell Workflow.
/// The attribute string for the workflow if these is one.
public static string Convert(FunctionDefinitionAst ast,
PSModuleInfo definingModule,
@@ -1901,7 +1901,7 @@ namespace Microsoft.PowerShell.Workflow
/// Block variable scope prefix like "$GLOBAL:" and "$SCRIPT:". In script workflow,
/// the only valid scope prefix is "$WORKFLOW:". When generating expression for the
/// PowerShellValue activity, we need to remove the $WORKFLOW part. Otherwise it will
- /// generate error during execution, becuase the prefix "WORKFLOW" is not actually
+ /// generate error during execution, because the prefix "WORKFLOW" is not actually
/// supported in the PowerShell.
///
///
@@ -2058,7 +2058,7 @@ namespace Microsoft.PowerShell.Workflow
///
/// Used to hold the CmdletBinding attribute string specified in the script workflow text.
- /// This needs to be propigated to the synthesized driver function .
+ /// This needs to be propagated to the synthesized driver function .
///
internal string CmdletAttributeText { get; set; }
@@ -2398,7 +2398,7 @@ namespace Microsoft.PowerShell.Workflow
// Generate debug symbol information for variable assignments.
GenerateSymbolicInformation(value.Extent);
- // Visit the right-hand side of the expression for activitities
+ // Visit the right-hand side of the expression for activities
PipelineAst rightPipeline = value as PipelineAst;
if (rightPipeline != null)
{
@@ -2944,7 +2944,7 @@ namespace Microsoft.PowerShell.Workflow
return null;
}
- // This is now an interative pipeline, remember the nonIterativePipelineVariable as one that needs to be set.
+ // This is now an interactive pipeline, remember the nonIterativePipelineVariable as one that needs to be set.
if (!String.IsNullOrEmpty(nonIterativePipelineVariable) &&
!iterativePipelineVariables.Contains(nonIterativePipelineVariable, StringComparer.OrdinalIgnoreCase))
{
@@ -2952,7 +2952,7 @@ namespace Microsoft.PowerShell.Workflow
}
}
- // Verify that once they've started an interative pipeline, all commands are
+ // Verify that once they've started an interactive pipeline, all commands are
// Foreach-Object -Sequence or Where-Object -Sequence.
if (isIterativePipeline && (! isIterativeCommand))
{
@@ -7426,7 +7426,7 @@ namespace Microsoft.PowerShell.Workflow
if (tryStatementAst.Finally != null)
{
// Close the original try / catch. Since we're bringing the original
- // finally into a new catch statement, we need to sythesize a dummy one here.
+ // finally into a new catch statement, we need to synthesize a dummy one here.
if (tryStatementAst.CatchClauses.Count == 0)
{
WriteLine("");
diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/GetCounterCommand.cs b/src/Microsoft.PowerShell.Commands.Diagnostics/GetCounterCommand.cs
index dd52a22aa..d297f1b43 100644
--- a/src/Microsoft.PowerShell.Commands.Diagnostics/GetCounterCommand.cs
+++ b/src/Microsoft.PowerShell.Commands.Diagnostics/GetCounterCommand.cs
@@ -180,7 +180,7 @@ namespace Microsoft.PowerShell.Commands
// The localized Pdh resource strings might use Unicode characters that are different from
// what the user can type with the keyboard to represent a special character.
//
- // e.g. the apostrophe in Frence UI culture: it's [char]39 from keyboard, but it's [char]8217
+ // e.g. the apostrophe in French UI culture: it's [char]39 from keyboard, but it's [char]8217
// in the resource strings.
//
// With this dictionary, we can add special mapping if we find other special cases in the future.
diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/GetEventCommand.cs b/src/Microsoft.PowerShell.Commands.Diagnostics/GetEventCommand.cs
index 9b6111684..7d64b1a6b 100644
--- a/src/Microsoft.PowerShell.Commands.Diagnostics/GetEventCommand.cs
+++ b/src/Microsoft.PowerShell.Commands.Diagnostics/GetEventCommand.cs
@@ -816,7 +816,7 @@ namespace Microsoft.PowerShell.Commands
//
// CreateSession creates an EventLogSession connected to a target machine or localhost.
- // If _credential argment is PSCredential.Empty, the session will be created for the current context.
+ // If _credential argument is PSCredential.Empty, the session will be created for the current context.
//
private EventLogSession CreateSession()
{
@@ -1139,7 +1139,7 @@ namespace Microsoft.PowerShell.Commands
//
// If none of the logs/paths/providers were valid, queriedLogsQueryMap is empty.
- // Simply conitnue to the next hashtable since all the errors have been written already.
+ // Simply continue to the next hashtable since all the errors have been written already.
//
if (queriedLogsQueryMap.Count == 0)
{
@@ -1672,7 +1672,7 @@ namespace Microsoft.PowerShell.Commands
// ValidateAndResolveFilePath helper.
// Returns a string collection of resolved file paths.
// Writes non-terminating errors for invalid paths
- // and returns an empty colleciton.
+ // and returns an empty collection.
//
private StringCollection ValidateAndResolveFilePath(string path)
{
@@ -1899,7 +1899,7 @@ namespace Microsoft.PowerShell.Commands
// AddLogsForProviderToInternalMap helper.
// Retrieves log names to which _providerName writes.
// NOTE: there are many misconfigured providers in the system.
- // We therefore catch EventLogException excpetions and write them out as non-terminating errors.
+ // We therefore catch EventLogException exceptions and write them out as non-terminating errors.
// The results are added to _providersByLogMap dictionary.
//
private void AddLogsForProviderToInternalMap(EventLogSession eventLogSession, string providerName)
diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/ImportCounterCommand.cs b/src/Microsoft.PowerShell.Commands.Diagnostics/ImportCounterCommand.cs
index ad5da97ff..8ca3130a5 100644
--- a/src/Microsoft.PowerShell.Commands.Diagnostics/ImportCounterCommand.cs
+++ b/src/Microsoft.PowerShell.Commands.Diagnostics/ImportCounterCommand.cs
@@ -555,7 +555,7 @@ namespace Microsoft.PowerShell.Commands
// ResolveFilePath helper.
// Returns a string collection of resolved file paths.
// Writes non-terminating errors for invalid paths
- // and returns an empty colleciton.
+ // and returns an empty collection.
//
private bool ResolveFilePaths()
{
diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/PdhHelper.cs b/src/Microsoft.PowerShell.Commands.Diagnostics/PdhHelper.cs
index 3bd937fda..25afd9892 100644
--- a/src/Microsoft.PowerShell.Commands.Diagnostics/PdhHelper.cs
+++ b/src/Microsoft.PowerShell.Commands.Diagnostics/PdhHelper.cs
@@ -1516,7 +1516,7 @@ namespace Microsoft.Powershell.Commands.GetCounter.PdhNative
//
// Prior to Vista, PdhCollectQueryDataWithTime() was not available,
// so we could not collect a timestamp for the entire sample set.
- // We will use the last sample's timstamp instead.
+ // We will use the last sample's timestamp instead.
//
nextSet = new PerformanceCounterSampleSet(sampleTimeStamp, samplesArr, _firstReading);
_firstReading = false;
diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/SessionBasedWrapper.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/SessionBasedWrapper.cs
index b81fc370b..56cbb10ed 100644
--- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/SessionBasedWrapper.cs
+++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/SessionBasedWrapper.cs
@@ -109,7 +109,7 @@ namespace Microsoft.PowerShell.Cmdletization
#endregion Common CIM-related parameters
- #region Abstract methods to be overriden in derived classes
+ #region Abstract methods to be overridden in derived classes
///
/// Creates a object that performs a query against the wrapped object model.
@@ -123,7 +123,7 @@ namespace Microsoft.PowerShell.Cmdletization
///