Fix ServiceController name population perf (dotnet/corefxdotnet/coreclr#32072)
authorDan Moseley <danmose@microsoft.com>
Tue, 4 Sep 2018 22:21:28 +0000 (15:21 -0700)
committerJan Kotas <jkotas@microsoft.com>
Wed, 5 Sep 2018 15:12:13 +0000 (08:12 -0700)
commitc4b7537ffdb33e2e7e61d367d04478076dfd7c42
treefd811e3e1e41986dc99c5ec2260d5a74ba774914
parent32476165d8db2b44d958f5de16bf7185577094cc
Fix ServiceController name population perf (dotnet/corefxdotnet/coreclr#32072)

* Fix ServiceController name population perf

* Split tests

* Remove dead field

* Remove new use of DangerousGetHandle

* SafeHandle all the things!

* VSB dotnet/coreclr#1

* VSB dotnet/coreclr#2

* Fix GLE

* Initialize machineName in ctor

* Test for empty name ex

* Null names

* Inadvertent edit

* Unix build

* Move interop into class

* Reverse SafeHandle for HAllocGlobal

* Fix tests

* Disable test for NETFX

* CR feedback

* Pattern matching on VSB

* Direct call

* typo

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/20ee9b884cdc04826826b95e0952f9c5b5e650dc
src/libraries/System.Private.CoreLib/src/System/Text/ValueStringBuilder.cs