Commit Graph
179 Commits
Author SHA1 Message Date
dotnet-bot 6883e89fc3 Updating CoreFX dependencies to rc3-24008-00
Commit migrated from https://github.com/dotnet/corefx/commit/30b74738cdac9c75a2dd165d339f206b1070f3cd
2016-04-08 06:40:37 +00:00
dotnet-bot 0f0193e356 Updating CoreFX dependencies to rc3-24007-00
Commit migrated from https://github.com/dotnet/corefx/commit/d9fdf25de0e1cf35219a26d4f840302e5379f292
2016-04-07 05:37:12 +00:00
dotnet-bot be7ca463ae Updating CoreFX dependencies to rc3-24006-00
Commit migrated from https://github.com/dotnet/corefx/commit/aff79bf3fa8ce8c13b6084d82aca30e534142b81
2016-04-06 05:21:19 +00:00
dotnet-bot 8c6d7acd5d Updating CoreFX dependencies to rc3-24005-00
Commit migrated from https://github.com/dotnet/corefx/commit/afbf526ac0fae250fc47623f2c43d2caa1abb803
2016-04-05 06:23:55 -04:00
dotnet-bot 9f65b1e1ef Updating CoreFX dependencies to rc3-24004-00
Commit migrated from https://github.com/dotnet/corefx/commit/9fd2c8863f2be58ee5d1431f0c658de61e991551
2016-04-04 20:19:10 -04:00
Stephen Toub 108c243c9e Merge pull request dotnet/corefx#7450 from stephentoub/plinq_cc
Add PLINQ tests to fill ToF gaps

Commit migrated from https://github.com/dotnet/corefx/commit/5ef2253cbd79d5b6f6710572986b1051d04c6ff6
2016-04-04 13:59:36 -04:00
Lakshmi Priya Sekar 2a3abf12b4 Update xunit.netcore.extensions to latest.
Commit migrated from https://github.com/dotnet/corefx/commit/a7bb9eb3327f5cc791d39b4cff764dd7dd29fda5
2016-04-01 14:04:56 -07:00
stephentoub 72d0be520c Delete some dead code
Commit migrated from https://github.com/dotnet/corefx/commit/3847f73953f461060c1462e174e63c2e68876fc9
2016-04-01 16:09:15 -04:00
stephentoub e2c0b719f9 Add PLINQ tests to fill ToF gaps
Commit migrated from https://github.com/dotnet/corefx/commit/876f47cdc2ce4407b1e42c5e031b6cca49689745
2016-04-01 16:08:09 -04:00
Stephen A. Imhoff 588094af39 Clean up and expand PLINQ cancellation tests
* Add missing pre-cancelled combinatorial tests (output options only).

* Change Pre-cancelled tests to get token from Functions.AssertAlreadyCanceled.

* Add missing `Any` existence check pre-cancellation test.

* Wrap usual query cancellation to hide complexity.

* Add base helpers and sources for in-flight cancellation.

* Add Aggregate in-flight cancellation tests.

* Add All in-flight cancellation tests.

* Add Any in-flight cancellation tests.

* Add Average in-flight cancellation tests.

* Add Contains in-flight cancellation tests.

* Add Count/LongCount in-flight cancellation tests.

* Add ElementAt/ElementAtOrDefault in-flight cancellation tests.

* Add First/FirstOrDefault in-flight cancellation tests.

* Add ForAll in-flight cancellation tests.

* Add Last/LastOrDefault in-flight cancellation tests.

* Add Max in-flight cancellation tests.

* Add Min in-flight cancellation tests.

* Add SequenceEqual in-flight cancellation tests.

* Add Single/SingleOrDefault in-flight cancellation tests.

* Add Sum in-flight cancellation tests.

* Add ToArray in-flight cancellation tests.

* Add ToDictionary in-flight cancellation tests.

* Add ToList in-flight cancellation tests.

* Add ToLookup in-flight cancellation tests.

* Add foreach in-flight cancellation tests.

* Add cancellation for inner query of binaries.

* Remove basic pre-canceled token tests from `WithCancellationTests` (handled in combinatorial testing).

* Remove in-flight cancellation tests (handled in combinatorial and elsewhere)

* Move enumerator dispose test to GetEnumeratorTests

* Add/correct multiple WithCancellation test (original called WithDegreesOfParallelism)

* Add tests with not cancelable and pre canceled cancellation tokens.

* Remove SelectMany regression test (covered by existing SelectMany tests).

* Add tests for alternate (canceled) cancellation source throwing wrapped OCE.

* Add non-canceled thrown OCE test.

* Condense dealing with disposing the enumerator.
Original tests were liable to cause deadlock due to calling Dispose in a child thread (using an ordered source in an attempt to expand the tests made it a certainty).

* Update and expand ephemeral ODE test (potentially covered in combinatorial?).

* Update test for canceled-then-disposed enumerator.

* Re-use throws wrapped.

* Tweak comment, correct element counts.

* Replace regression test comment in SelectMany tests, tweak PE.Range expander

This comment was originally for a test in WithCancellationTests, but
that test didn't call WithCancellation at all.  Given the nature of the
original test, it was felt that _all_ SelectMany tests would check for
the failure; the original test was thus removed.

* Correct operation.

* Comparers sealed/readonly

* Add missing min/max func cancel combinations.

* Knock down delay time.

* Move (implicit in foreach) MoveNext cancellation test.

* Reduce counts for WithCancellation ProducerBlocked tests.

* Create new AssertThrows helper.
 - Cancellation-related throws provide default source
Switch to new cancellation throws.
 - GetEnumerator switched to internal methods to explicitly run over all sources.

* Split Single/SingleDefault cancellation tests.


Commit migrated from https://github.com/dotnet/corefx/commit/2d1d84d28e45d1d08179dc5ff7bbe4cacb1d5e64
2016-04-01 14:37:49 -04:00
Jonathan Miller 0e43cc624e Merge pull request dotnet/corefx#6572 from sokket/builds
Adding builds files to the test projects

Commit migrated from https://github.com/dotnet/corefx/commit/e8326c3dab65e2e8eac466f346a9693788d41ca9
2016-03-31 11:41:43 -07:00
Jonathan Miller 7c2ce6913c Adding builds files for the test projects
Commit migrated from https://github.com/dotnet/corefx/commit/752599494fce80b5d0059a9090fdc010d8c7f45b
2016-03-31 10:46:26 -07:00
stephentoub 025ea3f97f Update packages to rc3-23931-00
Commit migrated from https://github.com/dotnet/corefx/commit/e421dd9c41c308f83511e350c1e407d1f728ba78
2016-03-31 08:26:49 -04:00
stephentoub dabfe7fc9d Update packages to rc3-23930-00
Commit migrated from https://github.com/dotnet/corefx/commit/64a2b6c70977e33b4e8fb90e8f5d3b019b843e61
2016-03-30 07:30:59 -04:00
stephentoub aa64955b41 Update packages to rc3-23925-00
Commit migrated from https://github.com/dotnet/corefx/commit/268eea1b538fa80a0042a1eabc4e51c84473d7b0
2016-03-25 20:23:47 -04:00
stephentoub 0de8ee2b33 Update packages to rc3-23923
Commit migrated from https://github.com/dotnet/corefx/commit/123180cde4aadbed151ffbc00c09b85b7532da68
2016-03-23 11:56:57 -04:00
Eric St. John db01546613 Temporarily revert implementation assembly version to match package version
I made a previous change to decrement assembly versions to enable our packages to be consumed
in desktop and redistribute netcore50 assemblies: https://github.com/dotnet/corefx/pull/6902

That caused a lot of runtime breaks because folks who were built against old packages would
get ref-def mismatches at runtime.  Rather than keep everything broken until the whole stack
updates I'm moving the implementation assemblies back to the old versions.  This will let folks
move to the new packages with the lower versioned ref-assemblies.  Once everyone is on the new
packages we can undo this change.

Change is going directly into TFS to make tonight's build.  I will deal with the fallout during mirror.

[tfs-changeset: 1588328]


Commit migrated from https://github.com/dotnet/corefx/commit/0f268ed1079c182d71cdf49cde3f339a01d67863
2016-03-22 06:47:57 -07:00
stephentoub b60997fa74 Update packages to rc3-23921
Commit migrated from https://github.com/dotnet/corefx/commit/3eb508d41d476e4ca0c74d106584c7a7f0d51a17
2016-03-21 12:10:10 -04:00
Jon Hanna 1c58a2a42a Fix multiple typos [5]
Commit migrated from https://github.com/dotnet/corefx/commit/00a0871c5cc4ff6af7f036946eef48644ed1e27d
2016-03-20 19:15:44 +00:00
Stephen Toub fa45f3dbda Merge pull request dotnet/corefx#7059 from JonHanna/typo_fix
Fix several typos

Commit migrated from https://github.com/dotnet/corefx/commit/1db0c74f3f525365c2573458aa1f454cacf00453
2016-03-19 13:25:53 -04:00
Jon Hanna c23897f890 Fix several typos
Commit migrated from https://github.com/dotnet/corefx/commit/12a32bec60794664178886e6c1157677b883ded6
2016-03-19 16:28:22 +00:00
Eric St. John 6aeccb0bae Fix tests to restore using the latest packages
We removed the lifting from the lineup so tests should reference the
latest packages in order to ensure an implementation is available.

The latest pacakges exclude implementation dependencies so I needed to
add these to projects that were depending on them coming in transitively.


Commit migrated from https://github.com/dotnet/corefx/commit/bef9061fd1238adf47b864d8924d121e4134465b
2016-03-19 08:01:11 -07:00
Eric St. John d28646e6b3 Fix restore errors in source projects
The latest drop of packages no longer includes lifting entries in the
lineup.  This causes errors when restoring for a concrete TFM and no
implementation assembly is in the packages.

I addressed this issue two ways:
1. In places where we were targeting a concrete TFM but packaging as
 NETStandard, just target NETStandard instead.
2. In places where we were targeting a concrete TFM but that packages
were missing the implementation on that TFM, update the reference to
newer package version where implementation is available.


Commit migrated from https://github.com/dotnet/corefx/commit/dfb30176c6056f5b3427515c4444a9dc31b9ba4f
2016-03-19 08:01:10 -07:00
Eric St. John ff75367f93 Update packages to rc3-23918
Commit migrated from https://github.com/dotnet/corefx/commit/d3d217b2ab336b862c27a3e605e32dc0c0a6d472
2016-03-19 08:01:09 -07:00
Stephen A. Imhoff 3c342d3f4b Remove unused "errors" class from PLINQ
Commit migrated from https://github.com/dotnet/corefx/commit/b7939651f8145001a669edb0160c136332abc884
2016-03-18 15:32:18 +09:00
Eric St. John 7600be1e8b Make desktop inbox contracts match inbox version
Fixes https://github.com/dotnet/corefx/issues/5842

For API assemblies that are inbox in desktop and have no API changes
over the version in desktop, don't increment revision.


Commit migrated from https://github.com/dotnet/corefx/commit/6ad2e34491d3cd3a078c225f98b2c49268db81e1
2016-03-15 13:57:04 -07:00
stephentoub d5e591e45a Update packages to rc3-23910
Commit migrated from https://github.com/dotnet/corefx/commit/ab3948bfab039aac2afc1b521883425a171b982d
2016-03-10 09:37:40 -05:00
Eric St. John 04a73fbed6 Update packages to rc3-23908
Commit migrated from https://github.com/dotnet/corefx/commit/86a230845c4f1840dcb9b52165c6976fad5b5868
2016-03-08 08:46:50 -08:00
stephentoub 38f7d19954 Update packages to rc3-23907
Commit migrated from https://github.com/dotnet/corefx/commit/baed539ebb753fefc91da9870ddeee72df0a6e14
2016-03-07 10:12:40 -05:00
stephentoub f3434408bc Update xunit.netcore.extensions to 00187
Commit migrated from https://github.com/dotnet/corefx/commit/3cfd81e7369628d052da6367b28c6f5b5839f55d
2016-03-03 22:06:40 -05:00
stephentoub 9b4473ede7 Upgrade package versions to rc3-23901
Commit migrated from https://github.com/dotnet/corefx/commit/55246a7fc60807d021fded5e333784956a662a51
2016-03-02 07:40:12 -05:00
Eric St. John 7c5ac76238 Add support for new Xamarin frameworks
The latest build tools contains framework lists for two new Xamarin fxs:
  Xamarin.TVOS
  Xamarin.WatchOS

This adds placeholders for those frameworks so that they can support
the packages with inbox facades.


Commit migrated from https://github.com/dotnet/corefx/commit/baf425fa935f4ecd32712448be627604067cf1d3
2016-02-29 14:43:27 -08:00
Eric St. John 19554adc35 Update buildtools and change validation framework
Update BuildTools to 1.0.25-prerelease-00180

Change validation framework moniker from dnxcore50 to
netstandardapp1.5.


Commit migrated from https://github.com/dotnet/corefx/commit/7c50768be0a2008480aa22ddb8038fdcb0e8039b
2016-02-29 14:43:26 -08:00
Pallavi Taneja 38e2f4de64 Update the packages
Commit migrated from https://github.com/dotnet/corefx/commit/be7151b45a54577c2e28c56977408d7d61ed0ea9
2016-02-29 13:09:16 -08:00
Stephen A. Imhoff 1da9d6101e Remove casts for test source data
Commit migrated from https://github.com/dotnet/corefx/commit/7dbe409ee23ada5bfa8fcfb202067fbd20d9e6ac
2016-02-27 11:41:18 +09:00
Stephen A. Imhoff 9f8d436ebd Correct nameof to refer to correct source class.
Commit migrated from https://github.com/dotnet/corefx/commit/68b6c8a7f2e3d701405703afb37e70116377917f
2016-02-27 11:41:15 +09:00
Eric St. John 5af200cd50 Rename "dotnet" to "NETStandard"
Fixes https://github.com/dotnet/corefx/issues/5707

We are changing the .NET packages to no longer use the ‘dotnet’, ‘dotnet5.x’, and ‘dnxcore50’ monikers.  This is thee first stage of the change for dotnet->netstandard.

The replacements are as follows

Old moniker | New moniker
----------------- | ------------------
dotnet5.x | netstandard1.y  (where y = x -1)
DNXCore50 | netstandardapp1.5
dotnet | netstandard1.3

To prepare for this change you can do the following to your project.json.  This change will require a recent build of NuGet or dotnet.exe and can be done prior to consuming the packages with the breaking change.  These packages will not work with DNX.

For a project targeting dotnet5.6
```
    "frameworks": {
        "netstandard1.5": {
            "imports": [ "dotnet5.6" ]
        }
    },
```

For a project targeting dnxcore50
```
    "frameworks": {
        "netstandardapp1.5": {
            "imports": [ "dnxcore50", "portable-net45+win8" ]
        }
    },
```

[tfs-changeset: 1578321]


Commit migrated from https://github.com/dotnet/corefx/commit/4435f9f2776ae007e05f4454675e56cf76a51975
2016-02-23 20:18:17 -08:00
Eric Mellino 803de07923 Consolidate all facade projects, cleanup project files
* Move all of the project configurations currently living in the
  "facade\<lib>.csproj" files into the root library project. This means
  there will now be only one project file for the source build of each
  library, regardless of how many configurations it has. The .builds file
  of each library will only reference that single project file multiple
  times.

* Do some minor cleanup of project files along the way. Fix up the VS
  default configuration blocks to be a bit more uniform. Remove redundant
  defaults (OutputType, PlatformTarget, etc. Fix some condition spacing.


Commit migrated from https://github.com/dotnet/corefx/commit/26edfd6839044ca6368e28502e0893c1b1819b4c
2016-02-22 11:11:10 -08:00
Christopher Costa b7275a6e29 Merge branch 'master' of https://github.com/dotnet/corefx into open_pkgs
Commit migrated from https://github.com/dotnet/corefx/commit/7df55caaad1d1e21866ec31b0e7161db9ae2179c
2016-02-19 14:21:24 -08:00
dotnet-bot b32ddb5d98 Deploy nameof throughout corefx in MemberData
Commit migrated from https://github.com/dotnet/corefx/commit/9c3156b9ada06b8e58ac53d48fc303500bf3e476
2016-02-18 23:58:15 -05:00
dotnet-bot 3184718282 Deploy nameof throughout corefx in exception construction
Mostly automated replacement of parameter name string literals with corresponding usage of nameof.


Commit migrated from https://github.com/dotnet/corefx/commit/396b41ddec99d01505c1bc4fa02fb0f0c5844990
2016-02-18 23:58:06 -05:00
Christopher Costa d95b14a3c4 Merge branch 'master' of https://github.com/dotnet/corefx into open_pkgs
Commit migrated from https://github.com/dotnet/corefx/commit/b70432898b7a00edb3303c0fbf4a1b98ebe442b4
2016-02-18 10:28:54 -08:00
stephentoub 95d7cc7534 Update packages to rc3-23818
Commit migrated from https://github.com/dotnet/corefx/commit/380a2ebf4a498f9ab0a819c71d8717377e601bfb
2016-02-18 07:28:09 -05:00
Christopher Costa 23ac6d7e8d Merge branch 'master' of https://github.com/dotnet/corefx into open_pkgs
Commit migrated from https://github.com/dotnet/corefx/commit/ddcd78f8f2ccd3debefefb5e10164d7a038bb7e0
2016-02-17 10:46:00 -08:00
stephentoub 180fba592f Update packages to rc3-23816
Commit migrated from https://github.com/dotnet/corefx/commit/c2e6426b9b9494d5478f656396f4da5711e8729a
2016-02-16 11:05:43 -05:00
Christopher Costa 1df6eaae43 Open package conversions for corefx.
Commit migrated from https://github.com/dotnet/corefx/commit/030e29992f6be20ffb9d9d3e799118f3354bce22
2016-02-11 13:37:45 -08:00
stephentoub 685d9f5063 Add API review headers to ref files
Commit migrated from https://github.com/dotnet/corefx/commit/5240b324e50f9aabaa11d4b0c46acc34e370a724
2016-02-11 10:50:44 -05:00
Matt Ellis 2b0bed53fc Merge branch 'master' into from-tfs
Conflicts in dir.props, one side removed and property and the other side
added a property close to one another so that confused the
auto-merger. Just took the relevent parts of both sides.


Commit migrated from https://github.com/dotnet/corefx/commit/8bfd29b2a5f33a4fb9c88b071fa2f5671d5dec86
2016-02-10 16:50:38 -08:00
stephentoub 9d84e4c99a Restore use of generics in System.Linq.Parallel
PLINQ makes fairly heavy use of generics.  During .NET Native bring-up, some of this generic usage was reduced due to initial limitations of the stack.  Now that those have been addressed, I'm restoring the use of generics to its original extent, helping to avoid a huge number of allocations, lots of casting, etc.

This has a significant impact in the overhead of certain operators.  For example, consider this little test app:
```C#
using System;
using System.Diagnostics;
using System.Linq;

class Test
{
    public static void Main()
    {
        var sw = new Stopwatch();
        int[] data = Enumerable.Range(0, 10000000).ToArray();
        while (true)
        {
            int gen0 = GC.CollectionCount(0);
            sw.Restart();
            int[] results = data.AsParallel().Select(i => i).Distinct().ToArray();
            sw.Stop();
            Console.WriteLine($"{GC.CollectionCount(0) - gen0}: {sw.Elapsed}");
        }
    }
}
```
On my machine, prior to this commit, this produces output like the following:
```
303: 00:00:02.6805895
305: 00:00:03.3609698
308: 00:00:03.8779080
298: 00:00:03.6718290
291: 00:00:05.0167444
```
After this commit, this produces output like the following:
```
3: 00:00:00.5949436
4: 00:00:00.5434885
2: 00:00:00.5391528
3: 00:00:00.5602570
3: 00:00:00.4982133
```


Commit migrated from https://github.com/dotnet/corefx/commit/fb0a1d90d874eba4d1b00227d31009496f67002d
2016-02-09 23:40:25 -05:00
Davis Goodin 1bc755f9e7 Adds custom xplat nuget that can restore from VSTS feed, adds the VSTS feed, and upgrades project.jsons throughout NDP\FxCore to pass new nuget compatability checks.
Some fixes (adding imports, adding Platforms package) were tooled, but more complex ones (forking project.jsons, editing csproj's) were not.

Also makes dependency version validation rules case-insensitive. (I used this fix to update the versions of some packages.)

[tfs-changeset: 1573868]


Commit migrated from https://github.com/dotnet/corefx/commit/84af04317505d48feaa1e83dd5dc27ddc0f6de76
2016-02-09 14:20:02 -08:00