-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Registry.GetSubKeyNames : Remove List copy to Array (#79345)
* * Replace List by string[] to avoid List.ToArray() copy (it must handle rare cases where there are more or less elements during the loop). * // Shrink array to fit found items, if necessary
- Loading branch information
Showing
1 changed file
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters