platform/upstream/dotnet/runtime.git
7 years agoAdd Span/Memory overrides to StreamWriter (dotnet/corefx#24725)
Stephen Toub [Thu, 19 Oct 2017 16:40:56 +0000 (12:40 -0400)]
Add Span/Memory overrides to StreamWriter (dotnet/corefx#24725)

- Refactors StreamWriter to work in terms of Span/Memory.
- Adds TextWriter-overrides for the Span/Memory-based methods.
- Exposes the new members from the ref.
- Adds tests for the new methods.
- Respond to API review feedback that we should be naming parameters to match existing overloads, here using `buffer` instead of `source` or `destination`, since `buffer` is already used in overloads on these types.

Commit migrated from https://github.com/dotnet/corefx/commit/b272c1bde8d5d2e2b72772d2eb1f8b0496d05310

7 years agoUpdate CoreClr, ProjectNTfs, ProjectNTfsTestILC to preview1-25819-02, beta-25819...
dotnet-maestro-bot [Thu, 19 Oct 2017 15:02:44 +0000 (10:02 -0500)]
Update CoreClr, ProjectNTfs, ProjectNTfsTestILC to preview1-25819-02, beta-25819-00, beta-25819-00, respectively (dotnet/corefx#24733)

Commit migrated from https://github.com/dotnet/corefx/commit/093e437ad7c6f765a5a787ca29d3b68ef8f92f79

7 years agoUpdate CoreFx to preview1-25819-01 (dotnet/corefx#24731)
dotnet-maestro-bot [Thu, 19 Oct 2017 04:01:34 +0000 (23:01 -0500)]
Update CoreFx to preview1-25819-01 (dotnet/corefx#24731)

Commit migrated from https://github.com/dotnet/corefx/commit/6b66bf48c31c5e4dc95437aa53d2a4d6ab3b64ad

7 years agoReplace 'enlistment' with 'repo' in a few places (dotnet/corefx#24732)
MaxHorstmann [Thu, 19 Oct 2017 02:28:31 +0000 (22:28 -0400)]
Replace 'enlistment' with 'repo' in a few places (dotnet/corefx#24732)

"Enlistment" is a term for what in today's git world is now commonly called a "repo".

Updating this in a few places to avoid confusing compiler errors.

Commit migrated from https://github.com/dotnet/corefx/commit/e4817213c6563c40378a8bd95d48f13c4f140404

7 years agoUpdate CoreClr, CoreSetup to preview1-25818-04, preview1-25818-02, respectively ...
dotnet-maestro-bot [Thu, 19 Oct 2017 01:14:54 +0000 (20:14 -0500)]
Update CoreClr, CoreSetup to preview1-25818-04, preview1-25818-02, respectively (dotnet/corefx#24729)

Commit migrated from https://github.com/dotnet/corefx/commit/3e7528e74a6d74681561e8a90e856c17866c3567

7 years agoFix Rijndael IV/Blocksize bug
Ian Hays [Wed, 18 Oct 2017 22:30:03 +0000 (15:30 -0700)]
Fix Rijndael IV/Blocksize bug

Commit migrated from https://github.com/dotnet/corefx/commit/ee5245a9b74306d319a3a6b1b73c98f2b1d9dd44

7 years agoAdd System.DirectoryServices.AccountManagement Tests (dotnet/corefx#24692)
Tarek Mahmoud Sayed [Wed, 18 Oct 2017 22:01:40 +0000 (15:01 -0700)]
Add System.DirectoryServices.AccountManagement Tests (dotnet/corefx#24692)

* Add System.DirectoryServices.AccountManagement Tests

* Address the feedback

Commit migrated from https://github.com/dotnet/corefx/commit/15ad038973ffe6f092d3a4e85752226199f8cfdb

7 years agoChange exception rethrowing in TdsParser.TdsExecuteRPC() so that the full exception...
Cory Rivera [Wed, 18 Oct 2017 20:42:05 +0000 (13:42 -0700)]
Change exception rethrowing in TdsParser.TdsExecuteRPC() so that the full exception callstack is retained. (dotnet/corefx#24724)

Commit migrated from https://github.com/dotnet/corefx/commit/e31853f5a9a669c00d96f7cf4c5e245705702f6a

7 years agoFixing odbc test on windows server core (dotnet/corefx#24696)
Maryam Ariyan [Wed, 18 Oct 2017 16:45:29 +0000 (12:45 -0400)]
Fixing odbc test on windows server core (dotnet/corefx#24696)

Fixes dotnet/corefx#24630

Commit migrated from https://github.com/dotnet/corefx/commit/ba496e87380a2520924a9fb3eb0720ec3743d7d6

7 years agoUpdate CoreClr, CoreFx, Standard to preview1-25818-03, preview1-25818-02, preview1...
dotnet-maestro-bot [Wed, 18 Oct 2017 14:41:27 +0000 (09:41 -0500)]
Update CoreClr, CoreFx, Standard to preview1-25818-03, preview1-25818-02, preview1-25818-01, respectively (dotnet/corefx#24717)

Commit migrated from https://github.com/dotnet/corefx/commit/77be0001cea62364440ea03d6a91491ecd7188ee

7 years agoupdate parameter parsing to be more flexible and be closer to coreclr and native...
Tomas Weinfurt [Wed, 18 Oct 2017 14:18:25 +0000 (07:18 -0700)]
update parameter parsing to be more flexible and be closer to coreclr and native build (dotnet/corefx#24714)

Commit migrated from https://github.com/dotnet/corefx/commit/4eebd3129aa011a82680dbf7d90b56519f8280b9

7 years agoEnsure we always get the expected number of cookies (dotnet/corefx#24706)
James Pelcis [Wed, 18 Oct 2017 13:26:37 +0000 (08:26 -0500)]
Ensure we always get the expected number of cookies (dotnet/corefx#24706)

Commit migrated from https://github.com/dotnet/corefx/commit/f8eac8fc2bec796d85edeb2f220b72b420d042b7

7 years agoMerge pull request dotnet/corefx#23333 from geoffkizer/httpprotocoltests
Stephen Toub [Wed, 18 Oct 2017 12:58:06 +0000 (08:58 -0400)]
Merge pull request dotnet/corefx#23333 from geoffkizer/httpprotocoltests

Managed Handler: add some basic protocol tests for status line handling

Commit migrated from https://github.com/dotnet/corefx/commit/08802ff9c877f7f75a82d6704d84d321e99eb5c8

7 years agoExpose/test Span-based Convert methods (dotnet/corefx#24474)
Stephen Toub [Wed, 18 Oct 2017 11:09:28 +0000 (07:09 -0400)]
Expose/test Span-based Convert methods (dotnet/corefx#24474)

Commit migrated from https://github.com/dotnet/corefx/commit/602d2eda381f858ace4a9f6771a7272a044ee36a

7 years agoRemove dead code from Microsoft.VisualBasic (dotnet/corefx#24664)
Stano Peťko [Wed, 18 Oct 2017 05:19:41 +0000 (07:19 +0200)]
Remove dead code from Microsoft.VisualBasic (dotnet/corefx#24664)

* Deleted dead code from Microsoft.VisualBasic

* Deleted unnecessary commit.

Commit migrated from https://github.com/dotnet/corefx/commit/b290e3fd487bc42a07f9bfe02a95bb575891c167

7 years agorevert part of dotnet/corefx#24098. do not use shell to find KDestroyCmd. (dotnet...
Tomas Weinfurt [Wed, 18 Oct 2017 05:18:42 +0000 (22:18 -0700)]
revert part of dotnet/corefx#24098. do not use shell to find KDestroyCmd. (dotnet/corefx#24682)

Commit migrated from https://github.com/dotnet/corefx/commit/f757a3217fc717098d2fb9c99cdc8f2d3ab8ace5

7 years agoFix lookup path for perfcounter.dll (dotnet/corefx#24691)
Michelle McDaniel [Wed, 18 Oct 2017 05:17:56 +0000 (22:17 -0700)]
Fix lookup path for perfcounter.dll (dotnet/corefx#24691)

We need to update the lookup path for perfcounter.dll to look in the
full framework directory, rather than a local path for .Net Core.

Commit migrated from https://github.com/dotnet/corefx/commit/51f8fb757fac58657144217c791b06578d9a4e08

7 years agoUpdate BuildTools, CoreClr, CoreFx, CoreSetup to prerelease-02118-01, preview1-25818...
dotnet-maestro-bot [Wed, 18 Oct 2017 04:24:57 +0000 (23:24 -0500)]
Update BuildTools, CoreClr, CoreFx, CoreSetup to prerelease-02118-01, preview1-25818-02, preview1-25818-01, preview1-25817-05, respectively (dotnet/corefx#24710)

Commit migrated from https://github.com/dotnet/corefx/commit/3c19f5fe0b7ee87edd18bd65f31e51c616d467a9

7 years agoAddress PR feedback
Stephen Toub [Tue, 17 Oct 2017 16:45:24 +0000 (12:45 -0400)]
Address PR feedback

Commit migrated from https://github.com/dotnet/corefx/commit/3b9525bd44ffab17a227cad47ae607bbf370dc1c

7 years agoFix for (dotnet/corefx#24628) - System.Collections.Tests.Perf_ArrayList/Indexer faile...
Kostadin Vasilev [Wed, 18 Oct 2017 03:34:55 +0000 (23:34 -0400)]
Fix for (dotnet/corefx#24628) - System.Collections.Tests.Perf_ArrayList/Indexer failed with "System.OutOfMemoryException" (dotnet/corefx#24711)

Commit migrated from https://github.com/dotnet/corefx/commit/8d106dbda7d16fdc9532b5dbcea69ca516e74c8d

7 years agoAdding ValidateTypeIsBlittable SpanHelper method and rename constant (dotnet/corefx...
Ahson Ahmed Khan [Wed, 18 Oct 2017 01:38:54 +0000 (18:38 -0700)]
Adding ValidateTypeIsBlittable SpanHelper method and rename constant (dotnet/corefx#24626)

* Adding ValidateTypeIsBlittable SpanHelper method and rename constant.

* Reverting SpanHelper change and renaming const to netstandard

* Removing extra spaces.

* Remove unnecessary new lines

* Addressing PR feedback.

Commit migrated from https://github.com/dotnet/corefx/commit/5c8af507d63e94a49ab4b4a81a45510a50146faf

7 years agoRewrite BackgroundWorker test to be non blocking (dotnet/corefx#24693)
Dan Moseley [Wed, 18 Oct 2017 01:07:31 +0000 (18:07 -0700)]
Rewrite BackgroundWorker test to be non blocking (dotnet/corefx#24693)

* Increase timeout on BackgroundWorker test

* Rewrite to use TCS

Commit migrated from https://github.com/dotnet/corefx/commit/b28112eb892283f20e7e422a52da0a55ca4881d5

7 years agoDeleted unused string resources. (dotnet/corefx#24697)
Stano Peťko [Wed, 18 Oct 2017 01:06:31 +0000 (03:06 +0200)]
Deleted unused string resources. (dotnet/corefx#24697)

Commit migrated from https://github.com/dotnet/corefx/commit/ae86eca620025087b576d092e67acde7760d4baa

7 years agoAdd null check when setting Packaging property (dotnet/corefx#24673)
Taylor Southwick [Wed, 18 Oct 2017 01:06:01 +0000 (18:06 -0700)]
Add null check when setting Packaging property (dotnet/corefx#24673)

* Add null check when setting Packaging property

* Add asserts to tests

Commit migrated from https://github.com/dotnet/corefx/commit/a1e7009bd3c94c3999bfd471a08e5d647c571e52

7 years agoUpdate CoreSetup, Standard to preview1-25817-01, preview1-25817-02, respectively...
dotnet-maestro-bot [Wed, 18 Oct 2017 00:18:22 +0000 (19:18 -0500)]
Update CoreSetup, Standard to preview1-25817-01, preview1-25817-02, respectively (dotnet/corefx#24702)

Commit migrated from https://github.com/dotnet/corefx/commit/0ad10b8bf74a4ce2fe452aa23801b3722237560d

7 years agoSet.TryGetValue not-found behavior/docs inconsistent (dotnet/corefx#24699)
Ian Hays [Tue, 17 Oct 2017 21:44:28 +0000 (14:44 -0700)]
Set.TryGetValue not-found behavior/docs inconsistent (dotnet/corefx#24699)

* Minor doc fix for HashSet/SortedSet TryGetValue

* Minor doc fix for HashSet/SortedSet TryGetValue

* Minor doc fix for HashSet/SortedSet TryGetValue

Commit migrated from https://github.com/dotnet/corefx/commit/5ef5f17b5606377415d5c171d6613c49c59a1b55

7 years agoDeleted dead code from System.IO.FileSystem. (dotnet/corefx#24701)
Stano Peťko [Tue, 17 Oct 2017 21:33:53 +0000 (23:33 +0200)]
Deleted dead code from System.IO.FileSystem. (dotnet/corefx#24701)

Commit migrated from https://github.com/dotnet/corefx/commit/79089260b0bf00e99ba9dd7e736c7b2d776fed0a

7 years agoFix for GraphicsPathIterator.CopyData throws EntrypointNotFoundException when index...
Kostadin Vasilev [Tue, 17 Oct 2017 21:32:49 +0000 (17:32 -0400)]
Fix for GraphicsPathIterator.CopyData throws EntrypointNotFoundException when index is out of range. (dotnet/corefx#24656)

* Fix for GraphicsPathIterator.CopyData throws EntrypointNotFoundException when index is out of range.

* Reverting changes made in src/System.Drawing.Common/src/misc/GDI/SafeNativeMethods.cs and updating Gdiplus.cs - SafeNativeMethods.

* Removing ZeroMemory() out of kernel32. And related changes into GraphicsPathIterator.cs.

* PF feedback - Optimizing ZeroMemory().

Commit migrated from https://github.com/dotnet/corefx/commit/3b867880d9992f305757db85a9b32044f9773863

7 years agoRemove methods marked as internal from reference assembly. (dotnet/corefx#24700)
Ahson Ahmed Khan [Tue, 17 Oct 2017 21:31:29 +0000 (14:31 -0700)]
Remove methods marked as internal from reference assembly. (dotnet/corefx#24700)

Commit migrated from https://github.com/dotnet/corefx/commit/e3977683cf78b7b1896a11e9de7df6a62408a1a6

7 years agoUpdate XunitNetcoreExtensionsVersion to 1.0.1-prerelease-02116-01 (dotnet/corefx...
Egor Bogatov [Tue, 17 Oct 2017 21:30:39 +0000 (23:30 +0200)]
Update XunitNetcoreExtensionsVersion to 1.0.1-prerelease-02116-01 (dotnet/corefx#24687)

* Update XunitNetcoreExtensionsVersion to 1.0.1-prerelease-02116-01

* Auto-update xunit extensions

Commit migrated from https://github.com/dotnet/corefx/commit/db596d27932201ec4936a7c9baa6aa6ad3f9e796

7 years agoadd more cases and make tests more robust
Geoff Kizer [Thu, 17 Aug 2017 10:18:18 +0000 (03:18 -0700)]
add more cases and make tests more robust

Commit migrated from https://github.com/dotnet/corefx/commit/a3cab9a48cc373eaf45a513d9c60895446c9bafc

7 years agoadd some basic protocol tests for status line handling
Geoff Kizer [Thu, 17 Aug 2017 09:53:14 +0000 (02:53 -0700)]
add some basic protocol tests for status line handling

Commit migrated from https://github.com/dotnet/corefx/commit/79709c46a1e84ccae519ca58a12f9f29f0b64db5

7 years agoUpdate CoreFx to preview1-25817-02 (dotnet/corefx#24689)
dotnet-maestro-bot [Tue, 17 Oct 2017 15:35:16 +0000 (10:35 -0500)]
Update CoreFx to preview1-25817-02 (dotnet/corefx#24689)

Commit migrated from https://github.com/dotnet/corefx/commit/1fed93ae97c49b42e9bdd0a46a62296da9119ee7

7 years agoFix write renegotiation and make a single function for it (dotnet/corefx#24492)
Tim Seaward [Tue, 17 Oct 2017 12:43:53 +0000 (13:43 +0100)]
Fix write renegotiation and make a single function for it (dotnet/corefx#24492)

Commit migrated from https://github.com/dotnet/corefx/commit/85cc2ff5f5c382b12fb859451814cc1830300f71

7 years agoRemove dead code from System.IO.Compression (dotnet/corefx#24674)
Stano Peťko [Tue, 17 Oct 2017 02:46:29 +0000 (04:46 +0200)]
Remove dead code from System.IO.Compression (dotnet/corefx#24674)

* Deleted dead code from System.IO.Compression

* Removed correct constructor in ZLibException

Commit migrated from https://github.com/dotnet/corefx/commit/baca4b0c78ebbeecd19423577c8459f68561a85f

7 years agoUpdate BuildTools, CoreSetup to prerelease-02116-01, preview1-25816-02, respectively...
dotnet-maestro-bot [Tue, 17 Oct 2017 01:43:03 +0000 (20:43 -0500)]
Update BuildTools, CoreSetup to prerelease-02116-01, preview1-25816-02, respectively (dotnet/corefx#24676)

Commit migrated from https://github.com/dotnet/corefx/commit/f12aeb39fa5c6f30865989b9f6149df3eb56bc53

7 years agoMerge pull request dotnet/corefx#24645 from weshaggard/UpdatePackageIndex
Wes Haggard [Mon, 16 Oct 2017 22:27:46 +0000 (15:27 -0700)]
Merge pull request dotnet/corefx#24645 from weshaggard/UpdatePackageIndex

Update package index

Commit migrated from https://github.com/dotnet/corefx/commit/911275d0b1fb584bea86125f3022fa4a2ae70080

7 years agoCorrecting OdbcIsAvailable condition check for windows (dotnet/corefx#24643)
Maryam Ariyan [Mon, 16 Oct 2017 20:58:00 +0000 (16:58 -0400)]
Correcting OdbcIsAvailable condition check for windows (dotnet/corefx#24643)

Fixes dotnet/corefx#24630

Commit migrated from https://github.com/dotnet/corefx/commit/118c827a6464d9c109b6c3e8b02d334b5850363f

7 years agoUpdate issue-guide.md
Koundinya Veluri [Mon, 16 Oct 2017 19:49:20 +0000 (12:49 -0700)]
Update issue-guide.md

Commit migrated from https://github.com/dotnet/corefx/commit/a0c061355beb554b29737e9f73fe4930a5c30da3

7 years agoUpdate SupportedFrameworks to netcoreapp2.1 for some packages
Wes Haggard [Mon, 16 Oct 2017 18:46:43 +0000 (11:46 -0700)]
Update SupportedFrameworks to netcoreapp2.1 for some packages

Commit migrated from https://github.com/dotnet/corefx/commit/a4364b283016758aff4d8ea162e6e8c550e2da6f

7 years agoUpdate places to compare file names and not paths
Wes Haggard [Tue, 10 Oct 2017 23:02:50 +0000 (16:02 -0700)]
Update places to compare file names and not paths

There is an msbuild issue https://github.com/Microsoft/msbuild/issues/2620
that causes some paths to normalized where they weren't before and
this normalization causes conditions to start changing and excludes to fail.

In general it is not a good idea to depend on path comparision as a string
anyway so switched to using the file name in a few places instead of path.

Commit migrated from https://github.com/dotnet/corefx/commit/d0e3851776a64cea638ae2c53f67a3b25def5756

7 years agoIgnore the type if it contains any property that only have private setter. (dotnet...
Huangli Wu [Mon, 16 Oct 2017 17:14:48 +0000 (10:14 -0700)]
Ignore the type if it contains any property that only have private setter. (dotnet/corefx#24611)

Commit migrated from https://github.com/dotnet/corefx/commit/71761de5f8deb0c332f62622f71f94f27252c624

7 years agoBuild S.SM.Syndication's NetFx Ref Assembly (dotnet/corefx#24624)
Shin Mao [Mon, 16 Oct 2017 16:57:17 +0000 (09:57 -0700)]
Build S.SM.Syndication's NetFx Ref Assembly  (dotnet/corefx#24624)

* Build NetFx Ref Assembly of Syndication

* Add Netfx Ref Source For Syndication.

Commit migrated from https://github.com/dotnet/corefx/commit/15373bb710272a8e910ba291ef34c04090801ace

7 years agoCache regexes for assembly name check in DataContract (dotnet/corefx#24291)
Viktor Hofer [Mon, 16 Oct 2017 15:31:53 +0000 (17:31 +0200)]
Cache regexes for assembly name check in DataContract (dotnet/corefx#24291)

* Cache regexes assembly name check

* Replace regex match with string comparison

Commit migrated from https://github.com/dotnet/corefx/commit/f8d37aef84f1fb7990a54a772e7a2c679fa856e6

7 years agoUpdate CoreFx to preview1-25816-01 (dotnet/corefx#24649)
dotnet-maestro-bot [Mon, 16 Oct 2017 13:11:16 +0000 (08:11 -0500)]
Update CoreFx to preview1-25816-01 (dotnet/corefx#24649)

Commit migrated from https://github.com/dotnet/corefx/commit/d29b2bf399d8ad01f0a1ea3f0e576a0b2aaf0af3

7 years agoFix parameter to match the native name (dotnet/corefx#24659)
Justin Van Patten [Mon, 16 Oct 2017 12:46:20 +0000 (05:46 -0700)]
Fix parameter to match the native name (dotnet/corefx#24659)

Commit migrated from https://github.com/dotnet/corefx/commit/ef3a1293c31cc9bdeafccd91af2fb209fda5fa1d

7 years agoEnvironment.SystemDirectory: Avoid StringBuilder overhead (dotnet/corefx#24651)
Justin Van Patten [Sun, 15 Oct 2017 22:16:40 +0000 (15:16 -0700)]
Environment.SystemDirectory: Avoid StringBuilder overhead (dotnet/corefx#24651)

Use a stack allocated buffer, with fallback to a char array.

Commit migrated from https://github.com/dotnet/corefx/commit/16b0dc32849ebfd13ff1ab3d89c37dfa3b263e80

7 years agoAdd inbox assembly versions for netcoreapp2.1
Wes Haggard [Fri, 13 Oct 2017 19:01:03 +0000 (12:01 -0700)]
Add inbox assembly versions for netcoreapp2.1

Commit migrated from https://github.com/dotnet/corefx/commit/b10070ffd71c147165e735c53a6b23aa65a583d5

7 years agoReset inbox versions for netcoreapp2.0
Wes Haggard [Fri, 13 Oct 2017 18:56:39 +0000 (11:56 -0700)]
Reset inbox versions for netcoreapp2.0

Commit migrated from https://github.com/dotnet/corefx/commit/8a8d54d530b6dc95617ac568f4e334362ba4bb72

7 years agoPerfCounter: Override SystemDiagnosticsSection.Properties (dotnet/corefx#24640)
Justin Van Patten [Fri, 13 Oct 2017 21:50:31 +0000 (14:50 -0700)]
PerfCounter: Override SystemDiagnosticsSection.Properties (dotnet/corefx#24640)

I noticed `s_properties` in `SystemDiagnosticsSection` wasn't used. In
the reference source `Properties` is overridden to return
`s_properties`, so do that here. Also, minor cleanup while making
changes here (and do the same in `PerfCounterSection`).

Commit migrated from https://github.com/dotnet/corefx/commit/87ecb7c05300727e46de69905e499ccb8e6befab

7 years agoFix HttpWebRequest when sending with HTTP/1.0 (dotnet/corefx#24644)
David Shulman [Fri, 13 Oct 2017 21:19:40 +0000 (14:19 -0700)]
Fix HttpWebRequest when sending with HTTP/1.0 (dotnet/corefx#24644)

* Fix HttpWebRequest when sending with HTTP/1.0

The HttpWebRequest.ProtocolVersion property was implemented. But it was
not checked when actually creating the request (which uses HttpClient
underneath). So, all requests were sent with HTTP/1.1.

This fix now uses the ProtocolVersion property and sends either
HTTP/1.0 or HTTP/1.1.

Note: HTTP/2.0 is currently not supported when setting the
ProtocolVersion property. An ArgumentException is thrown. This is the
existing .NET Framework behavior which was ported to .NET Core. We could
investigate changing this in the future to allow ProtocolVersion to be
set to 2.0.

Fixes dotnet/corefx#24597

* Skip test on UAP

Commit migrated from https://github.com/dotnet/corefx/commit/3b0f19c5d80135f9a29e82a8549a05826321a0ad

7 years agoSwitch WaitNamedPipe and CreateNamedPipeClient invocation ordering. (dotnet/corefx...
Jiri Appl [Fri, 13 Oct 2017 20:42:43 +0000 (13:42 -0700)]
Switch WaitNamedPipe and CreateNamedPipeClient invocation ordering. (dotnet/corefx#24616)

* Switch WaitNamedPipe and CreateNamedPipeClient invocation ordering.

We need to do this as WaitNamedPipe is not supported in Windows Containers.
By default using CreateNamedPipeClient first with call to WaitNamedPipe as
a fallback only will allow us to use NamedPipeClientStream inside Windows
Containers.

* Integrate feedback from PR.

Commit migrated from https://github.com/dotnet/corefx/commit/e003701727df908d6eb7ba7b814c74924c498377

7 years agoPerfCounter: Use string.Equals instead of Compare/CompareTo (dotnet/corefx#24632)
Justin Van Patten [Fri, 13 Oct 2017 19:37:21 +0000 (12:37 -0700)]
PerfCounter: Use string.Equals instead of Compare/CompareTo (dotnet/corefx#24632)

Commit migrated from https://github.com/dotnet/corefx/commit/ac2062b4d14f8a94c779db50d06b4a882135994c

7 years agoUpdate BuildTools to prerelease-02113-01 (dotnet/corefx#24639)
dotnet-maestro-bot [Fri, 13 Oct 2017 19:34:47 +0000 (14:34 -0500)]
Update BuildTools to prerelease-02113-01 (dotnet/corefx#24639)

Commit migrated from https://github.com/dotnet/corefx/commit/83e78d2e809fee041fca804fda1874bd15589189

7 years agoUpdate ProjectNTfs, ProjectNTfsTestILC to beta-25813-00, beta-25813-00, respectively...
dotnet-maestro-bot [Fri, 13 Oct 2017 07:19:57 +0000 (02:19 -0500)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-25813-00, beta-25813-00, respectively (dotnet/corefx#24636)

Commit migrated from https://github.com/dotnet/corefx/commit/c2eb46e2c4507e3aa8133efe299a9c8470501b84

7 years agoEventSource.Redist Nuget Package (dotnet/corefx#24405)
Brian Robbins [Fri, 13 Oct 2017 04:08:22 +0000 (21:08 -0700)]
EventSource.Redist Nuget Package (dotnet/corefx#24405)

* Initial commit of Microsoft.Diagnostics.EventSource.Redist

* Update PropertyValue namespace.

* Update IEventProvider references.

* Clean-up solution file.

* Add ManifestEtw.cs - This should be moved to the shared partition.

* Frame out System.Resources.

* Add ManifestEtw class -- This should move to the shared directory.

* Disable unused field warning.

* Add missing code and #ifdef.

* Manually copy resources into Strings.resx.

* Fix sln and csproj.

* Rename from Microsoft.Diagnostics.EventSource.Redist to Microsoft.Diagnostics.Tracing.EventSource.Redist.

* Create the Microsoft.Diagnostics.Tracing.EventSource.Redist nuget package.

* Switch to the OSS signing key.

* Update package description.

Commit migrated from https://github.com/dotnet/corefx/commit/26537a0181eb2662f871ad9c9f6b84e5c935e160

7 years agoPerfCounter: Use Array.Empty (dotnet/corefx#24633)
Justin Van Patten [Fri, 13 Oct 2017 04:05:51 +0000 (21:05 -0700)]
PerfCounter: Use Array.Empty (dotnet/corefx#24633)

Commit migrated from https://github.com/dotnet/corefx/commit/2ea4755b1c063ccf0d7e86098e220da5669047af

7 years agoUpdate CoreFx to preview1-25813-01 (dotnet/corefx#24629)
dotnet-maestro-bot [Fri, 13 Oct 2017 02:32:50 +0000 (21:32 -0500)]
Update CoreFx to preview1-25813-01 (dotnet/corefx#24629)

Commit migrated from https://github.com/dotnet/corefx/commit/7a5595e7be221511cfa84e85fea39257843651f6

7 years agoRemove faulty assert in ArrayList.Remove (dotnet/corefx#24631)
Stephen Toub [Fri, 13 Oct 2017 02:32:35 +0000 (22:32 -0400)]
Remove faulty assert in ArrayList.Remove (dotnet/corefx#24631)

It's perfectly valid to call Remove with a boxed int that doesn't exist in the list.  This is causes fail fasts in ArrayList's perf tests.

Commit migrated from https://github.com/dotnet/corefx/commit/026d80c5b37695741a2d2158f1f274cdc4175769

7 years agoPerformanceCounter: Use nameof in more places (dotnet/corefx#24592)
Justin Van Patten [Fri, 13 Oct 2017 01:37:33 +0000 (18:37 -0700)]
PerformanceCounter: Use nameof in more places (dotnet/corefx#24592)

* PerformanceCounter: Use nameof in more places

* Address feedback

Commit migrated from https://github.com/dotnet/corefx/commit/86d0be2d6cdd9f262b8bd1ae9a2e0d5cdbe58afb

7 years agoAdd Span<T> Binary Reader/Writer APIs (dotnet/corefx#24400)
Ahson Ahmed Khan [Thu, 12 Oct 2017 23:07:39 +0000 (16:07 -0700)]
Add Span<T> Binary Reader/Writer APIs (dotnet/corefx#24400)

* Adding skeleton for Binary APIs.

* Adding Binary APIs and tests.

* Adding performance tests.

* Fix reference and add perf test project to solution.

* Addressing feedback from API Review

* Renaming Read/Write and verifying T is blittable.

* Adding helper which validates that the type T is blittable.

* Move Binary APIs from Buffers.dll to Memory.dll.

* Fix Write APIs and use correct condition for is partial facade.

* Add reference to S.R.Extensions for BitConverter for netstandard1.1

* Adding test for reading ROSpan into a struct with references.

Commit migrated from https://github.com/dotnet/corefx/commit/563ce5faf2b8dd1e360696c3b532badadabdeb0c

7 years agoDirectory Services Tests - 4 (dotnet/corefx#24590)
Tarek Mahmoud Sayed [Thu, 12 Oct 2017 17:51:38 +0000 (10:51 -0700)]
Directory Services Tests - 4 (dotnet/corefx#24590)

The added test is mainly to test the interaction with the native COM interfaces.

Commit migrated from https://github.com/dotnet/corefx/commit/c910a3d969d271fb9dd14e55e19b642b8e661570

7 years agoFix call to create submission metadata (dotnet/corefx#24609)
Drew Scoggins [Thu, 12 Oct 2017 17:18:09 +0000 (10:18 -0700)]
Fix call to create submission metadata (dotnet/corefx#24609)

We made a change to the Benchview tooling and did not update the use of
it in the CoreFX repo.  This fixes that.

Commit migrated from https://github.com/dotnet/corefx/commit/529a6ce5bf086986dc421c6ddf5532fab2c8c3ad

7 years agoimprove messaging when odbc dependency is not installed (dotnet/corefx#24535)
Maryam Ariyan [Thu, 12 Oct 2017 15:02:26 +0000 (11:02 -0400)]
improve messaging when odbc dependency is not installed (dotnet/corefx#24535)

Fixes a part of improvements listed in dotnet/corefx#17405

Commit migrated from https://github.com/dotnet/corefx/commit/7cdc1f6f0633bb2d3112ecdef78f01ee0cfa40c7

7 years agoUpdate CoreFx, Standard to preview1-25812-02, preview1-25812-01, respectively (dotnet...
dotnet-maestro-bot [Thu, 12 Oct 2017 14:53:34 +0000 (09:53 -0500)]
Update CoreFx, Standard to preview1-25812-02, preview1-25812-01, respectively (dotnet/corefx#24605)

Commit migrated from https://github.com/dotnet/corefx/commit/c0747d7047b133301c28536920d6ec6f2447de08

7 years agoLinq.SequenceEqual: Improved performance for collections that support index based...
dnickless [Thu, 12 Oct 2017 14:33:49 +0000 (16:33 +0200)]
Linq.SequenceEqual: Improved performance for collections that support index based access (dotnet/corefx#23368)

* Improved performance for collections that support index based access.

* Cast to invariant interface IList<T> instead for performance reasons + cache iteration count

Commit migrated from https://github.com/dotnet/corefx/commit/66e29b0d43b52d3e953f47f0e523976789dab45d

7 years agoAdding System.Collections.NonGenerics ArrayList performance tests. (dotnet/corefx...
Kostadin Vasilev [Thu, 12 Oct 2017 13:50:46 +0000 (09:50 -0400)]
Adding System.Collections.NonGenerics ArrayList performance tests. (dotnet/corefx#18765) (dotnet/corefx#24500)

* Adding System.Runtime.Extensions ArrayList performance tests.

* PR feedback - Moving Perf.ArrayList.cs to System.Collections.NonGenerics\tests\Performance and some optimizations.

* Spelling corrections.

* PR feedback.

* Small optimizations - removing duplicated variables.

* Fixing RemoveRange test setup. Setting more Inner iterations for the Add test.

Commit migrated from https://github.com/dotnet/corefx/commit/d1889f4ff99f73b8861e619c43e953337909f2cb

7 years agoUpdate ProjectNTfs, ProjectNTfsTestILC to beta-25812-00, beta-25812-00, respectively...
dotnet-maestro-bot [Thu, 12 Oct 2017 13:23:46 +0000 (08:23 -0500)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-25812-00, beta-25812-00, respectively (dotnet/corefx#24596)

Commit migrated from https://github.com/dotnet/corefx/commit/30b9251e7dcd36ca8f86f563b8a0ca824dc19b4f

7 years agoUpdate CoreFx, CoreSetup to preview1-25812-01, preview1-25811-02, respectively (dotne...
dotnet-maestro-bot [Thu, 12 Oct 2017 04:36:10 +0000 (23:36 -0500)]
Update CoreFx, CoreSetup to preview1-25812-01, preview1-25811-02, respectively (dotnet/corefx#24595)

Commit migrated from https://github.com/dotnet/corefx/commit/882303fc6863f3cfd86c6860c37fd898905d781f

7 years agoAvoid generic interface GetEnumerator empty allocations in immutable collections...
Stephen Toub [Thu, 12 Oct 2017 02:21:02 +0000 (22:21 -0400)]
Avoid generic interface GetEnumerator empty allocations in immutable collections (dotnet/corefx#24565)

* Avoid generic interface GetEnumerator empty allocations in immutable collections

* Address PR feedback

Commit migrated from https://github.com/dotnet/corefx/commit/3143b836af48be68d3b02b45188b134dca25b27c

7 years agoAvoid StringBuilder/int[] overhead with GetComputerName (dotnet/corefx#24589)
Justin Van Patten [Thu, 12 Oct 2017 01:46:04 +0000 (18:46 -0700)]
Avoid StringBuilder/int[] overhead with GetComputerName (dotnet/corefx#24589)

Avoid the `StringBuilder` allocation and marshalling overhead as well as
the unnecessary `int[]` allocation when p/invoking `GetComputerName`
from `PerformanceCounterLib`.

Commit migrated from https://github.com/dotnet/corefx/commit/570582a134b955e083fc3a08ad994b02233138da

7 years agoUpdate CentOS 6 docker image (dotnet/corefx#24576)
Jan Vorlicek [Wed, 11 Oct 2017 23:38:10 +0000 (01:38 +0200)]
Update CentOS 6 docker image (dotnet/corefx#24576)

This update fixes problem with git not supporting https protocol

Commit migrated from https://github.com/dotnet/corefx/commit/53640cd9640d4e7c1f41e26b6e2ddb4feb9e837b

7 years agoMerge pull request dotnet/corefx#24579 from adiaaida/addPerformanceCounters
Michelle McDaniel [Wed, 11 Oct 2017 20:56:22 +0000 (13:56 -0700)]
Merge pull request dotnet/corefx#24579 from adiaaida/addPerformanceCounters

Port System.Diagnostics.PerformanceCounters to .NET Core

Commit migrated from https://github.com/dotnet/corefx/commit/1fc008a7e174345826e658672b74aa449fb3573f

7 years agoDisable System.Drawing.Common crashing test (dotnet/corefx#24581)
Santiago Fernandez Madero [Wed, 11 Oct 2017 20:30:03 +0000 (13:30 -0700)]
Disable System.Drawing.Common crashing test (dotnet/corefx#24581)

Commit migrated from https://github.com/dotnet/corefx/commit/02eba0a9870c2ab72f8f417a28662ff677e0514b

7 years agoPort System.Diagnostics.PerformanceCounters
Michelle McDaniel [Tue, 26 Sep 2017 21:35:58 +0000 (14:35 -0700)]
Port System.Diagnostics.PerformanceCounters

This change adds System.Diagnostics.PerformanceCounters to .NET Core. It
also adds two tests for the library.

Commit migrated from https://github.com/dotnet/corefx/commit/dcb8525c984b670e2758b972a58aa15c7606a6b5

7 years agoMerge pull request dotnet/corefx#24578 from dotnet/revert-24335-addPerformanceCounters
Michelle McDaniel [Wed, 11 Oct 2017 17:53:28 +0000 (10:53 -0700)]
Merge pull request dotnet/corefx#24578 from dotnet/revert-24335-addPerformanceCounters

Revert "Port System.Diagnostics.PerformanceCounters to .NET Core"

Commit migrated from https://github.com/dotnet/corefx/commit/276fe190a28277a17cb335294dcab9c52dd1d85f

7 years agoRevert "Port System.Diagnostics.PerformanceCounters to .NET Core"
Michelle McDaniel [Wed, 11 Oct 2017 17:51:40 +0000 (10:51 -0700)]
Revert "Port System.Diagnostics.PerformanceCounters to .NET Core"

Commit migrated from https://github.com/dotnet/corefx/commit/a0db56f679ccbc035ebd736116225151d327e448

7 years agoMerge pull request dotnet/corefx#24335 from adiaaida/addPerformanceCounters
Michelle McDaniel [Wed, 11 Oct 2017 17:51:23 +0000 (10:51 -0700)]
Merge pull request dotnet/corefx#24335 from adiaaida/addPerformanceCounters

Port System.Diagnostics.PerformanceCounters to .NET Core

Commit migrated from https://github.com/dotnet/corefx/commit/c8092138a890dad6bf52454949a5135d1a777293

7 years agoRemove Environment Checks from SharedUtils
Michelle McDaniel [Wed, 11 Oct 2017 16:41:47 +0000 (09:41 -0700)]
Remove Environment Checks from SharedUtils

Commit migrated from https://github.com/dotnet/corefx/commit/37027152eecf46c228aa2047e576d563f5354a39

7 years agoUpdate Standard to preview1-25811-01 (dotnet/corefx#24573)
dotnet-maestro-bot [Wed, 11 Oct 2017 16:25:42 +0000 (11:25 -0500)]
Update Standard to preview1-25811-01 (dotnet/corefx#24573)

Commit migrated from https://github.com/dotnet/corefx/commit/95139917c97f1f4d95705cf579eefe36025fc25b

7 years agoUpdate ProjectNTfs, ProjectNTfsTestILC to beta-25811-00, beta-25811-00, respectively...
dotnet-maestro-bot [Wed, 11 Oct 2017 11:52:35 +0000 (06:52 -0500)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-25811-00, beta-25811-00, respectively (dotnet/corefx#24569)

Commit migrated from https://github.com/dotnet/corefx/commit/558c5250d72407c22a37b25345a5a57e2ee3a715

7 years agoAvoid assert failure due to incorrect bytes written returned (dotnet/corefx#24511)
Dan Moseley [Wed, 11 Oct 2017 03:40:09 +0000 (20:40 -0700)]
Avoid assert failure due to incorrect bytes written returned (dotnet/corefx#24511)

* Avoid assert failure due to incorrect bytes written returned

* Remove assert entirely

* Add issue #

Commit migrated from https://github.com/dotnet/corefx/commit/1be850f5708a820b132020cc9628efb972239db9

7 years agoMerge pull request dotnet/corefx#24515 from stephentoub/http_streams
Stephen Toub [Wed, 11 Oct 2017 03:39:25 +0000 (23:39 -0400)]
Merge pull request dotnet/corefx#24515 from stephentoub/http_streams

Update System.Net.Http to use Memory-based Stream methods

Commit migrated from https://github.com/dotnet/corefx/commit/0aa654834405dcec4aaa9bd416b2b31ab8d3503e

7 years agoFix hang when SmtpClient.SendAsync fails to connect (dotnet/corefx#24536)
Stephen Toub [Wed, 11 Oct 2017 02:57:10 +0000 (22:57 -0400)]
Fix hang when SmtpClient.SendAsync fails to connect (dotnet/corefx#24536)

If Send{Mail}Async fails to connect, an exception gets thrown/eaten, and the completion callback is never invoked / the returned Task is never completed.

Commit migrated from https://github.com/dotnet/corefx/commit/98ba7ad07e4e80dd52ef1db7a18928c4a4d7c5f5

7 years agoUpdate BuildTools, CoreFx, CoreSetup to prerelease-02111-02, preview1-25811-01, previ...
dotnet-maestro-bot [Wed, 11 Oct 2017 02:55:02 +0000 (21:55 -0500)]
Update BuildTools, CoreFx, CoreSetup to prerelease-02111-02, preview1-25811-01, preview1-25810-02, respectively (dotnet/corefx#24561)

Commit migrated from https://github.com/dotnet/corefx/commit/614753e67e972dc138c9947e2637552846f93ecc

7 years agoAdd more DirectoryServices tests - 3 (dotnet/corefx#24533)
Tarek Mahmoud Sayed [Wed, 11 Oct 2017 00:42:11 +0000 (17:42 -0700)]
Add more DirectoryServices tests - 3 (dotnet/corefx#24533)

* Add more DirectoryServices tests - 3

This is adding some search and negative tests

* Split the negative test method to smaller methods

* Add using different attribute types test

Commit migrated from https://github.com/dotnet/corefx/commit/2955f94d8f6bd2df65d8bce941012f5b9338a870

7 years agoMake coreclr symbols download incremental (dotnet/corefx#24556)
Santiago Fernandez Madero [Wed, 11 Oct 2017 00:00:49 +0000 (17:00 -0700)]
Make coreclr symbols download incremental (dotnet/corefx#24556)

Commit migrated from https://github.com/dotnet/corefx/commit/c2fb45936857c64fda2add64c5a950bd5bee4a9e

7 years agoFix for OdbcParameter Error "Data type 0x23 is a deprecated large object..." (dotnet...
Gene Lee [Tue, 10 Oct 2017 23:23:13 +0000 (16:23 -0700)]
Fix for OdbcParameter Error "Data type 0x23 is a deprecated large object..." (dotnet/corefx#24529)

Commit migrated from https://github.com/dotnet/corefx/commit/80b1685be8043b3a36a83a0faee1ab34178552d4

7 years agoFix null ref exception when Dispose'ing SmtpClient (dotnet/corefx#24521)
Stephen Toub [Tue, 10 Oct 2017 21:33:36 +0000 (17:33 -0400)]
Fix null ref exception when Dispose'ing SmtpClient (dotnet/corefx#24521)

If SmtpClient is disposed after a failed send and no successful sends, it attempts to call Close on a null NetworkStream field.

Commit migrated from https://github.com/dotnet/corefx/commit/848e56ce6c5f76bc1c16a7ca9fd9984fe24a2088

7 years agoadd ProcessWaitHandle.cs
Michelle McDaniel [Tue, 10 Oct 2017 20:45:59 +0000 (13:45 -0700)]
add ProcessWaitHandle.cs

Commit migrated from https://github.com/dotnet/corefx/commit/52c33af0e09a614ab89ba8b519fc21de0e53bdcf

7 years agoMove ProcessWaitHandle to Interop
Michelle McDaniel [Tue, 10 Oct 2017 20:02:35 +0000 (13:02 -0700)]
Move ProcessWaitHandle to Interop

Commit migrated from https://github.com/dotnet/corefx/commit/753bb4ba9c61bd188e66d16a8da71321470c19eb

7 years agoAdd S.R.CS.Unsafe.AsRef<T>(ref readonly T) (dotnet/corefx#24479)
ektrah [Tue, 10 Oct 2017 19:49:27 +0000 (21:49 +0200)]
Add S.R.CS.Unsafe.AsRef<T>(ref readonly T) (dotnet/corefx#24479)

Commit migrated from https://github.com/dotnet/corefx/commit/722310576ff5890ecb40a9a9cc5ec0ad210087b7

7 years agoUpdate CoreFx, Standard to preview1-25810-03, preview1-25810-01, respectively (dotnet...
dotnet-maestro-bot [Tue, 10 Oct 2017 16:14:45 +0000 (11:14 -0500)]
Update CoreFx, Standard to preview1-25810-03, preview1-25810-01, respectively (dotnet/corefx#24546)

Commit migrated from https://github.com/dotnet/corefx/commit/f8dc3b5cf463418a3f34da6af52e5bfeb75b8e1f

7 years agoEnable Tizen leg for PRs (dotnet/corefx#24544)
Hyung-Kyu Choi [Tue, 10 Oct 2017 13:56:49 +0000 (22:56 +0900)]
Enable Tizen leg for PRs (dotnet/corefx#24544)

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Commit migrated from https://github.com/dotnet/corefx/commit/c2ef4daa8513c924615e6c7852e83d8950e7bb75

7 years agoDisable PngCodecTests on Unix (dotnet/corefx#24545)
Stephen Toub [Tue, 10 Oct 2017 13:56:03 +0000 (09:56 -0400)]
Disable PngCodecTests on Unix (dotnet/corefx#24545)

Lots of ArgumentException failures are taking out CI runs.

Commit migrated from https://github.com/dotnet/corefx/commit/743973e8ed59268d6cd7935424a0d45b504b62eb

7 years agoUpdate BuildTools, CoreFx, ProjectNTfs, ProjectNTfsTestILC to prerelease-02110-01...
dotnet-maestro-bot [Tue, 10 Oct 2017 04:18:59 +0000 (23:18 -0500)]
Update BuildTools, CoreFx, ProjectNTfs, ProjectNTfsTestILC to prerelease-02110-01, preview1-25810-01, beta-25810-00, beta-25810-00, respectively (dotnet/corefx#24532)

Commit migrated from https://github.com/dotnet/corefx/commit/92514374b7e90fe6cb6b6ede2a39df8bc0618fc9

7 years agoUpdate CoreFx to preview1-25809-04 (dotnet/corefx#24530)
dotnet-maestro-bot [Tue, 10 Oct 2017 00:21:51 +0000 (19:21 -0500)]
Update CoreFx to preview1-25809-04 (dotnet/corefx#24530)

Commit migrated from https://github.com/dotnet/corefx/commit/e273e7f2bebfe7681c33da106be086a6ae534a19

7 years agoFix staging directory variable for windows
Christopher Costa [Mon, 9 Oct 2017 23:38:43 +0000 (16:38 -0700)]
Fix staging directory variable for windows

Commit migrated from https://github.com/dotnet/corefx/commit/2e0067c8ef29d2e2150c5435012dc7c5aaf80831

7 years agoMerge branch 'master' of https://github.com/dotnet/corefx into master-deprecated...
Christopher Costa [Mon, 9 Oct 2017 23:37:12 +0000 (16:37 -0700)]
Merge branch 'master' of https://github.com/dotnet/corefx into master-deprecated-task-2

Commit migrated from https://github.com/dotnet/corefx/commit/a92c7fd4b2957f70740ca14cf1b2ee89e8fb8e61

7 years agoCodeFormatted S.SM.Syndication. (dotnet/corefx#24520)
Shin Mao [Mon, 9 Oct 2017 23:00:43 +0000 (16:00 -0700)]
CodeFormatted S.SM.Syndication. (dotnet/corefx#24520)

* CodeFormatted S.SM.Syndication.

* Address feedback.

Commit migrated from https://github.com/dotnet/corefx/commit/7f7c79a3eafe0239d020de2f3d55f6226f6b6732