Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused local in System.Configuration.ConfigurationManager #40583

Merged
merged 1 commit into from
Aug 10, 2020

Conversation

wooooooood
Copy link
Contributor

Remove unused local 'temp' in System.Configuration.ConfigurationManager

Fixes part of #30457

@ghost
Copy link

ghost commented Aug 9, 2020

Tagging subscribers to this area: @maryamariyan
See info in area-owners.md if you want to be subscribed.

@danmoseley
Copy link
Member

This is probably fine, but the indexer would cause a call to GetPropertyValueByName(..) which has other sideeffects like GetPropertiesFromProvider(..). I have no idea if anything relies on this.

@maryamariyan can review - another option is to just do object _ = base[propertyName]; to pass the buck for now.

@maryamariyan maryamariyan merged commit a4eba0a into dotnet:master Aug 10, 2020
@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
safern added a commit to safern/runtime that referenced this pull request Aug 31, 2020
github-actions bot pushed a commit that referenced this pull request Sep 1, 2020
jkotas pushed a commit that referenced this pull request Sep 1, 2020
* Revert "Remove unused local in System.Configuration.ConfigurationManager (#40583)"

This reverts commit a4eba0a.

* Rename unused variable and add regression test

Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
safern added a commit that referenced this pull request Sep 1, 2020
* Revert "Remove unused local in System.Configuration.ConfigurationManager (#40583)"

This reverts commit a4eba0a.

* Rename unused variable and add regression test

* PR feedback

Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>

Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com>
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants