mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Initial run of code formatter
I (Jason Shirk) ran https://github.com/dotnet/codeformatter with the default rules, basically: codeformatter /nocopyright "/c:DEBUG,UNIX,CORECLR" @files.rsp This caused a few problems building, which were fixed up manually. Notable changes: `this.` is removed unless needed to disambiguate. private instance fields are renamed to have a `_` prefix. private static fields are renamed to have a `s_` prefix. I left some projects alone (like PackageManagement) and also left some generated code alone.
This commit is contained in:
1 parent
bc4fe11888
commit
403ae3f53f
953 files changed
+71009
-64819
No files matched your search
@@ -60,8 +60,8 @@ namespace System.Management.Automation
|
||||
/// <summary>
|
||||
/// Gets the name of the EnvironmentProvider
|
||||
/// </summary>
|
||||
internal override string Environment
|
||||
{
|
||||
internal override string Environment
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Environment";
|
||||
@@ -71,8 +71,8 @@ namespace System.Management.Automation
|
||||
/// <summary>
|
||||
/// Gets the name of the Certificate
|
||||
/// </summary>
|
||||
internal override string Certificate
|
||||
{
|
||||
internal override string Certificate
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Certificate";
|
||||
@@ -82,8 +82,8 @@ namespace System.Management.Automation
|
||||
/// <summary>
|
||||
/// Gets the name of the VariableProvider
|
||||
/// </summary>
|
||||
internal override string Variable
|
||||
{
|
||||
internal override string Variable
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Variable";
|
||||
@@ -93,8 +93,8 @@ namespace System.Management.Automation
|
||||
/// <summary>
|
||||
/// Gets the name of the AliasProvider
|
||||
/// </summary>
|
||||
internal override string Alias
|
||||
{
|
||||
internal override string Alias
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Alias";
|
||||
@@ -104,8 +104,8 @@ namespace System.Management.Automation
|
||||
/// <summary>
|
||||
/// Gets the name of the FunctionProvider
|
||||
/// </summary>
|
||||
internal override string Function
|
||||
{
|
||||
internal override string Function
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Function";
|
||||
@@ -115,8 +115,8 @@ namespace System.Management.Automation
|
||||
/// <summary>
|
||||
/// Gets the name of the FileSystemProvider
|
||||
/// </summary>
|
||||
internal override string FileSystem
|
||||
{
|
||||
internal override string FileSystem
|
||||
{
|
||||
get
|
||||
{
|
||||
return "FileSystem";
|
||||
@@ -126,8 +126,8 @@ namespace System.Management.Automation
|
||||
/// <summary>
|
||||
/// Gets the name of the RegistryProvider
|
||||
/// </summary>
|
||||
internal override string Registry
|
||||
{
|
||||
internal override string Registry
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Registry";
|
||||
@@ -143,8 +143,8 @@ namespace System.Management.Automation
|
||||
/// <summary>
|
||||
/// Gets the name of the EnvironmentProvider
|
||||
/// </summary>
|
||||
internal override string Environment
|
||||
{
|
||||
internal override string Environment
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Microsoft.PowerShell.Core\\Environment";
|
||||
@@ -154,8 +154,8 @@ namespace System.Management.Automation
|
||||
/// <summary>
|
||||
/// Gets the name of the Certificate
|
||||
/// </summary>
|
||||
internal override string Certificate
|
||||
{
|
||||
internal override string Certificate
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Microsoft.PowerShell.Security\\Certificate";
|
||||
@@ -165,8 +165,8 @@ namespace System.Management.Automation
|
||||
/// <summary>
|
||||
/// Gets the name of the VariableProvider
|
||||
/// </summary>
|
||||
internal override string Variable
|
||||
{
|
||||
internal override string Variable
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Microsoft.PowerShell.Core\\Variable";
|
||||
@@ -176,8 +176,8 @@ namespace System.Management.Automation
|
||||
/// <summary>
|
||||
/// Gets the name of the AliasProvider
|
||||
/// </summary>
|
||||
internal override string Alias
|
||||
{
|
||||
internal override string Alias
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Microsoft.PowerShell.Core\\Alias";
|
||||
@@ -187,8 +187,8 @@ namespace System.Management.Automation
|
||||
/// <summary>
|
||||
/// Gets the name of the FunctionProvider
|
||||
/// </summary>
|
||||
internal override string Function
|
||||
{
|
||||
internal override string Function
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Microsoft.PowerShell.Core\\Function";
|
||||
@@ -198,8 +198,8 @@ namespace System.Management.Automation
|
||||
/// <summary>
|
||||
/// Gets the name of the FileSystemProvider
|
||||
/// </summary>
|
||||
internal override string FileSystem
|
||||
{
|
||||
internal override string FileSystem
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Microsoft.PowerShell.Core\\FileSystem";
|
||||
@@ -209,14 +209,13 @@ namespace System.Management.Automation
|
||||
/// <summary>
|
||||
/// Gets the name of the RegistryProvider
|
||||
/// </summary>
|
||||
internal override string Registry
|
||||
{
|
||||
internal override string Registry
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Microsoft.PowerShell.Core\\Registry";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user