Skip to content

Use read-only auto-implemented property#44677

Merged
stephentoub merged 2 commits intodotnet:masterfrom
xtqqczze:RCS1170-libraries-Common
Nov 18, 2020
Merged

Use read-only auto-implemented property#44677
stephentoub merged 2 commits intodotnet:masterfrom
xtqqczze:RCS1170-libraries-Common

Conversation

@xtqqczze
Copy link
Copy Markdown
Contributor

Fix style issue and avoid diverging from PowerShell repo.

In PowerShell/PowerShell#13507 changes like these were made to the following file which comes from dotnet/runtime:

https://github.com/xtqqczze/PowerShell/blob/b201ca0b8ed736155c1761e60dfd88f82a545c65/src/System.Management.Automation/engine/ComInterop/InteropServices/ComEventsMethod.cs

So I thought it would be helpful to make changes in dotnet/runtime too.

@Dotnet-GitSync-Bot
Copy link
Copy Markdown
Collaborator

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@xtqqczze xtqqczze marked this pull request as draft November 15, 2020 06:19
@stephentoub
Copy link
Copy Markdown
Member

Thanks for the PR, @xtqqczze. The plethora of compilation failures need to be resolved before we can look at this.

@xtqqczze
Copy link
Copy Markdown
Contributor Author

xtqqczze commented Nov 15, 2020

CI failures due to #44700.

@xtqqczze
Copy link
Copy Markdown
Contributor Author

reopening to restart tests

@xtqqczze xtqqczze closed this Nov 16, 2020
@xtqqczze xtqqczze reopened this Nov 16, 2020
@xtqqczze
Copy link
Copy Markdown
Contributor Author

reopening to restart tests

@xtqqczze xtqqczze closed this Nov 16, 2020
@xtqqczze xtqqczze reopened this Nov 16, 2020
@xtqqczze
Copy link
Copy Markdown
Contributor Author

restarting tests

@xtqqczze xtqqczze closed this Nov 17, 2020
@xtqqczze xtqqczze reopened this Nov 17, 2020
@xtqqczze xtqqczze changed the title Use read-only auto-implemented property in src\libraries\Common Use read-only auto-implemented property Nov 18, 2020
@xtqqczze xtqqczze marked this pull request as ready for review November 18, 2020 08:57
@xtqqczze
Copy link
Copy Markdown
Contributor Author

@stephentoub I've reverted changes to the bare minimum to avoid divergence from PowerShell/PowerShell#13507.

Copy link
Copy Markdown
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

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

Thanks.

@stephentoub stephentoub merged commit 04ad427 into dotnet:master Nov 18, 2020
@xtqqczze
Copy link
Copy Markdown
Contributor Author

Some day I will work out how to open the solution in Visual Studio and run a local build so I can make more substantial contributions.

@xtqqczze xtqqczze deleted the RCS1170-libraries-Common branch November 18, 2020 14:18
@ghost ghost locked as resolved and limited conversation to collaborators Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants