Skip to content

Conversation

@pougetat
Copy link

@pougetat pougetat commented Mar 14, 2019

The purpose of this PR is to fix some of the coding style in NewModuleManifestCommand

  • Comments for members
  • 3 member names have been changed so that the use of nameof can be consistent throughout the file : nameof(Modules.CLRVersion) => nameof(CLRVersion). Unfortunately this means not following certain conventions for these 3 member names.

PR Checklist

/// </summary>
[Parameter]
public Guid Guid
public Guid GUID
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert - we should use camel style. Also it is public API (breaking change).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

[AllowNull]
[SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings")]
public string HelpInfoUri
public string HelpInfoURI
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert - it is public API (breaking change).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

public Guid Guid
public Guid GUID
{
get { return _guid; }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pougetat You could review all such unneeded private fields and remove them. Better in follow PR.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good

@iSazonov iSazonov added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Mar 23, 2019
@iSazonov iSazonov added this to the 6.3.0-preview.1 milestone Mar 26, 2019
@iSazonov iSazonov self-assigned this Mar 26, 2019
@iSazonov iSazonov merged commit 0f429f2 into PowerShell:master Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants