Implement managed SegmentCommandLine (#82883)
authorHuo Yaoyuan <huoyaoyuan@hotmail.com>
Fri, 3 Mar 2023 23:00:07 +0000 (07:00 +0800)
committerGitHub <noreply@github.com>
Fri, 3 Mar 2023 23:00:07 +0000 (15:00 -0800)
commit732ae12c9cdd8227ab2882f0949d798c3fcb446d
treef3ec6b408972d51cdcd82bbf39f634fce8417964
parentf46caec0fe8427b208ef18da8894410c87c47cf6
Implement managed SegmentCommandLine (#82883)

* Implement managed version of SegmentCommandLine

* Remove P/Invoke for CommandLineToArgv

* Update parsing to latest UCRT

* Add test and fix trailing space in command

* Fix test cases
src/libraries/Common/src/Interop/Windows/Shell32/Interop.CommandLineToArgv.cs [deleted file]
src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems
src/libraries/System.Private.CoreLib/src/System/Environment.Windows.cs
src/libraries/System.Runtime.Extensions/tests/System/Environment.GetCommandLineArgs.cs