Code clean ups (inline out var, remove unnecessary assignments)#2004
Code clean ups (inline out var, remove unnecessary assignments)#2004stephentoub merged 4 commits intodotnet:masterfrom
Conversation
|
Aside VS's |
src/libraries/System.Private.CoreLib/src/System/IO/FileStream.Windows.cs
Outdated
Show resolved
Hide resolved
src/coreclr/src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.cs
Outdated
Show resolved
Hide resolved
What VS version are you using? |
|
16.5.0 Preview 1.0 edit see its marked as in Preview 2.0 Updating... |
|
@benaadams, still working on this? Want to address the remaining feedback and rebase? |
57b5e24 to
c02f2f4
Compare
I've rebased and addressed @jkotas's comment as he changed the code site in a different PR (hence conflict); so just removed the change. However, I'm not sure how to address your comment 2004#discussion_r369603091 as it was on one of the simplest |
No, I was mainly ranting. :) |
src/libraries/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System/IO/Path.Windows.cs
Outdated
Show resolved
Hide resolved
a2a143c to
055e0ea
Compare
|
Rebased |
…neric/ArraySortHelper.cs Co-Authored-By: Stephen Toub <stoub@microsoft.com>
…s.cs Co-Authored-By: Stephen Toub <stoub@microsoft.com>
055e0ea to
7b2f78c
Compare
|
Rebased |
Inline out variable declarations
Remove unnecessary assignments (including using discards for the inlined outs)