Commit Graph
422 Commits
Author SHA1 Message Date
Jon Hanna 356d83cac0 Remove unused methods.
Some Type extensions obsoleted by the instance method being back on Type.
Some automatic MethodInfo cache methods that aren't used.


Commit migrated from https://github.com/dotnet/corefx/commit/ec7e40cc6b33a45cff564cfd3ff60fa710eaa241
2016-11-24 02:39:56 +00:00
Jon Hanna 2052518ddf Expression-body expression-returning methods.
Commit migrated from https://github.com/dotnet/corefx/commit/8e0a670f53d138a14680ea9ead77ab8f37cd6fb7
2016-11-24 02:34:52 +00:00
Jon Hanna 6f27c91167 Remove redundant name in anonymous
Cache enumerable likely to be enumerated twice in a list.


Commit migrated from https://github.com/dotnet/corefx/commit/d161079f2063d2905a2f7b881a04b604f67227b3
2016-11-24 02:26:59 +00:00
Jon Hanna fde27a48ab Remove more redundant param arrays, using lighter overload
Commit migrated from https://github.com/dotnet/corefx/commit/81fcd56a60489c686b379e205758bd22f0180559
2016-11-24 02:16:58 +00:00
Jon Hanna 53b6cd3d2d Style cleanups:
Remove redundant this.

Remove redundant class name on static.

Name type parameter according to convention (and interface implemented)

Remove redundant cast.

Simple properties to expression bodies.

Remove redundant interface supertypes


Commit migrated from https://github.com/dotnet/corefx/commit/a93e1bc2a7900c46f35dd32aa8a5f04da3ad2f95
2016-11-24 02:09:45 +00:00
Jon Hanna 8342f2b01f Make init-only fields readonly and static-only class static. Null-propagate.
Commit migrated from https://github.com/dotnet/corefx/commit/4ec76a0ffd32b1266d01ac38f8d83cb25fbd239b
2016-11-24 02:01:35 +00:00
Jon Hanna 69950cc3a2 Remove unnecessary volatility.
If racing threads compete on reading or writing s_seqMethods the
result either way is they use a valid lookup correctly.


Commit migrated from https://github.com/dotnet/corefx/commit/9b9d3230bd8326b375eb300a65cbefd78eb7724c
2016-11-24 02:01:12 +00:00
Jon Hanna 321d66a165 Remove explicit array on params calls.
In most cases picking a lighter overload.


Commit migrated from https://github.com/dotnet/corefx/commit/3c30da52eb1bb0f1de0b9ba1ee06d822f3a3eda4
2016-11-24 02:01:00 +00:00
Jon Hanna 7d590afce3 Remove method calls where value is unused.
Commit migrated from https://github.com/dotnet/corefx/commit/9064bb8a76d7d04a7d56fb90dce9702d72c1d17a
2016-11-24 01:57:24 +00:00
Vladimir Sadov eb775a456f Merge pull request dotnet/corefx#13561 from bartdesmet/QueryableInfoOf
Use cached reflection for Queryable methods

Commit migrated from https://github.com/dotnet/corefx/commit/dabc6aba7d681bb390158e5c26951f07d2659c7d
2016-11-23 08:30:14 -08:00
Jon Hanna e9cbcb05f4 Implement Enumerable.ToHashSet()
Closes dotnet/corefx#2323

A straight-forward implementation, forgoing any optimisations.
HashSet's constructor already has some for some cases, and others
could be wasteful unless not just the number of elements, but the
number of elements that are distinct in terms of the equality
comparer can be predicted.


Commit migrated from https://github.com/dotnet/corefx/commit/c0e67b29c4bc1cbb5fa8b82817a73c1e64a560f4
2016-11-23 02:16:15 +00:00
Bart De Smet c49daf85ad Changing cached reflection to emit AOT friendly code
Commit migrated from https://github.com/dotnet/corefx/commit/3f33dc74254c68256fb32147b7792467bb240097
2016-11-22 13:50:28 -08:00
dotnet-bot f7a208ba73 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24721-04, beta-24721-02, beta-24721-00, beta-24721-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/bd9f87de00538052b6cf4c4faa261c0d22e04f90
2016-11-21 23:52:28 +00:00
dotnet-bot 17b9d2afa6 Update CoreFx, ProjectNTfs to beta-24717-03, beta-24718-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/dbccc58ac0186bbcf9fe0445b255b33ea583ff56
2016-11-18 04:16:59 +00:00
dotnet-bot 709886b4f3 Update CoreClr, CoreFx, ProjectNTfs to beta-24717-03, beta-24717-02, beta-24717-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/67690bd0f2bff10db494e829755fffa667184600
2016-11-17 14:43:31 -05:00
dotnet-bot f016cc9f63 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24716-02, beta-24715-03, beta-24716-00, beta-24716-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/75c2a6a9154044fe61e913db297e34a47f588994
2016-11-16 09:23:13 +00:00
Stephen Toub 482458afd0 Update CoreFx, External, ProjectNTfs to beta-24715-02, beta-24715-00, beta-24715-00, respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/9e8050a2bdca9aeff16bd8e704f380e86813821d
2016-11-15 11:43:51 -05:00
dotnet-bot bb01d482d2 Update CoreFx, ProjectNTfs to beta-24714-01, beta-24714-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/3342536d369d922f14cc1a9c0fb91b4440a6967e
2016-11-14 15:46:09 +00:00
Anton Lapounov a2615b328c Build System.Threading.Thread package for uap101aot target. (dotnet/corefx#13569)
Enable building the System.Threading.Thread package for uap101aot target.  Put APIs currently missing in .NET Native under "#if !NETNATIVE".

Commit migrated from https://github.com/dotnet/corefx/commit/7f2271034c5cc5571805df1228f548077f089b81
2016-11-12 19:39:37 -08:00
Bart De Smet 478a15d489 Upgrading System.Linq.Queryable to netstandard1.7
Commit migrated from https://github.com/dotnet/corefx/commit/18b5ce17be0cf7e3d2bda0c3e92e1a61519954c6
2016-11-11 10:30:10 -08:00
Bart De Smet cc1f899540 Use cached reflection for Queryable methods.
Commit migrated from https://github.com/dotnet/corefx/commit/de6facaedaec6c76a4aeaf933b71955afe3900a0
2016-11-10 13:11:30 -08:00
Stephen Toub 66863565c9 Use nameof in more places
We previously made a pass through corefx to use nameof with argument exceptions.  Since then, a lot more code has come into the repo, and not all argument exceptions were converted at the time. We also previously missed a bunch of places where helpers were used to throw the exceptions.  This does another pass through corefx to catch most of the remaining occurrences.


Commit migrated from https://github.com/dotnet/corefx/commit/08609e84ab068d09a6e72b5906bb5282e444ae2e
2016-11-01 09:25:09 -04:00
sepidehMS faeca654a6 Remove KeepAllProjectReferences=true from test projects
Commit migrated from https://github.com/dotnet/corefx/commit/cb2cdc4df591420bd4731382289309947353f76b
2016-10-24 13:21:21 -07:00
Eric St. John 7be27b9754 Fix fix breaks from latest stable pkgs, no-imports
Latest stable packages hide implementation dependencies so some projects
need to add refs to packages they require.

Some projects were incorrectly referencing (and not using) packages
which were incompatible with the TFM they targeted.


Commit migrated from https://github.com/dotnet/corefx/commit/3d5f62716c7936d108ce21bdb9cb47087e2dd1bb
2016-10-21 06:32:54 -07:00
Eric St. John 4a6c9bbb81 Update all projects to last stable packages
And remove imports.

Now that we have netstandard packages that support all targets we should
use them.  This means we don't need imports.

I opted to use the stable packages rather than the LKG ones since this
will reduce churn in the product assemblies.

This has the added benefit of reducing download time for the repo.


Commit migrated from https://github.com/dotnet/corefx/commit/a330f3651c999b241d55ca25d9baa7fb0f247c5c
2016-10-21 06:32:53 -07:00
Karthik Rajasekaran 9255a2e649 Combine test dependencies into a common project.json.
Restore this common project.json upfront to improve sync time and avoid download contention from nuget.


Commit migrated from https://github.com/dotnet/corefx/commit/654f5548f946659c694d110a4bbce8aa33f1a7a1
2016-10-18 11:39:53 -07:00
dotnet-bot 94f229c6a7 Update CoreClr, CoreFx to beta-24617-03, beta-24617-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/4c6df2edbad3b5d8ec3914c0366f80ebb73f7c12
2016-10-18 08:43:24 -04:00
dotnet-bot 7b31a1e04a Update CoreClr, CoreFx, External to beta-24615-02, beta-24615-03, beta-24614-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/025cec5bf1e82980a77e473f2e5d599ffd60af49
2016-10-15 08:33:01 +00:00
Stephen Toub 52e3c3d7ae Change all refs to use "throw null;" as member bodies
Following our new guidelines for ref assembly implementations and what GenApi now creates, this updates all of our ref .cs files to use "throw null;" for member bodies that can't just be empty (i.e. members that need to return a value either via the return type or via an out parameter).  I made the change programatically using a simple Roslyn-based tool.


Commit migrated from https://github.com/dotnet/corefx/commit/a9fdc79ff8feb5ad46e9fcbe18fdffcd0bd74679
2016-10-13 09:43:23 -04:00
dotnet-bot 511149ab83 Update CoreClr, CoreFx, External to beta-24613-02, beta-24613-01, beta-24613-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/8f355c66ac9adbf9f36cfdd019ba1d2cefb54001
2016-10-13 08:37:30 +00:00
dotnet-bot 4a517b60c6 Update CoreClr, CoreFx to beta-24612-03, beta-24612-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/f01cf91423391f80ad5269340eb8e602ea9cb087
2016-10-12 16:28:54 +00:00
Stephen Toub f54cfb8704 Update CoreClr, CoreFx to beta-24611-01, beta-24611-02 respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/b7cc4e219207cff50cdbb11176d3cee25be724f0
2016-10-11 15:32:17 -04:00
Stephen Toub 320ec958ba Update CoreClr, CoreFx to beta-24608-02, beta-24608-01, respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/0fe592ec0a6be3cb49ecf37a798ca482b0d261dc
2016-10-08 08:25:01 -04:00
Sedar Gokbulut fb95e1e002 Revert "Merge branch 'dotnet-bot-master-UpdateDependencies'"
This reverts commit dotnet/corefx@631f21b4c2, reversing
changes made to dotnet/corefx@374a387de0.


Commit migrated from https://github.com/dotnet/corefx/commit/30cd016952f1f806986f2918fc7c1ebdb570aefd
2016-10-07 16:10:51 -07:00
dotnet-bot d7384b3382 Update CoreClr, CoreFx, ProjectNTfs to beta-24607-02, beta-24607-03, beta-24607-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/6f081ec97720eb7efd2653b91f88cda45cb43431
2016-10-07 15:48:04 -04:00
Jose Perez Rodriguez c37abd4f53 Reorder test.builds files metadata to be consisteng across the repo
Commit migrated from https://github.com/dotnet/corefx/commit/8cbdf88e1b122babd37575587692448ed59e7f58
2016-10-05 14:58:03 -07:00
Alex Perovich 674bb7a0f8 Update project ToolsVersions to 14.0 (dotnet/corefx#12355)
Commit migrated from https://github.com/dotnet/corefx/commit/71de1aac5cf3e5dc87714ae0cc829e1fa98f7c5d
2016-10-05 12:50:37 -07:00
dotnet-bot ddcb0ebc64 Update CoreClr, CoreFx, ProjectNTfs to beta-24605-01, beta-24604-02, beta-24604-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/193d21d6f4d181b086a52d17716499a3170785d0
2016-10-05 07:52:47 -04:00
Eric St. John 75116868b5 Bump assembly versions
Commit migrated from https://github.com/dotnet/corefx/commit/eb9e719bfa5fddc95a0bd8284ef2ed532430eaff
2016-10-04 16:56:05 -07:00
dotnet-bot 018cb6969b Update CoreClr, CoreFx to beta-24602-02, beta-24601-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/3274ef94654da6754aaa54427d289e51ec316ea9
2016-10-02 08:24:45 +00:00
Wes Haggard bd13e2e340 Update xunit.netcore.extensions package
This allows us to start using TestPlatforms added with
https://github.com/dotnet/buildtools/pull/1000


Commit migrated from https://github.com/dotnet/corefx/commit/64a737e43afb7954d0105da8f360a1669ebe2a2d
2016-10-01 10:55:35 -07:00
dotnet-bot 027f6103a8 Update CoreClr, CoreFx to beta-24601-01, beta-24530-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/d37f83fb58b99eef950787f191744f503ee50067
2016-09-30 22:46:05 -04:00
dotnet-bot 7b4f9fc0c4 Update CoreClr, CoreFx to beta-24530-04, beta-24530-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/76746a58dabb98d6df8d5404b9fe00c66404a427
2016-09-30 19:24:02 +00:00
dotnet-bot bce2d80e22 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24529-03, beta-24530-01, beta-24523-00, beta-24530-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/0b6b3faaaa9877872721f52469dc48016496ed82
2016-09-30 12:35:55 -04:00
dotnet-bot c2d82aba38 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24522-04, beta-24522-03, beta-24522-00, beta-24522-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/894cc88238f0bd57ad49b59cfb5f5e6581993742
2016-09-22 14:41:33 -07:00
dotnet-bot 96edb1b541 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24522-01, beta-24521-07, beta-24521-00, beta-24521-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/fe6144b2d3726b68f824db46047b9ddfa7516ea4
2016-09-22 11:55:56 -07:00
Eric StJohn 4aa5112f52 Merge pull request dotnet/corefx#11942 from ericstj/removeEnsureOOBFramework
Don't rely on EnsureOOBFramework

Commit migrated from https://github.com/dotnet/corefx/commit/e8994f425ce3ed16d5aa9cd39c664a597e0335eb
2016-09-21 16:33:09 -07:00
Eric St. John 10514222c8 Don't rely on EnsureOOBFrameworks
Explicitly place assets in netcore50 folder where needed.


Commit migrated from https://github.com/dotnet/corefx/commit/87d339420f925d408132901c9446a4b51ef839e1
2016-09-21 11:33:31 -07:00
dotnet-bot 4d9c1ffa86 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24520-03, beta-24520-06, beta-24520-00, beta-24520-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/21ad171bdf873f7be8f0756ea7a572e6c9595eb9
2016-09-20 15:08:50 -07:00
dotnet-bot 23d6e4713d Update CoreClr, CoreFx to beta-24518-02, beta-24516-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/dfa190bcbb19492f0584298671ae27171d0e460c
2016-09-18 08:19:04 +00:00