Commit Graph
550 Commits
Author SHA1 Message Date
Viktor Hofer 3d035dced0 Renamed coretype serialized variables to support reflection based serialization
Commit migrated from https://github.com/dotnet/corefx/commit/26163cda9e2c6953609200909cc7bbc61d3910f5
2017-05-31 12:17:07 -07:00
Viktor Hofer 4d361f2537 Removed types which arent coretypes anymore
Commit migrated from https://github.com/dotnet/corefx/commit/3f43962c32f61b4ce3163ac32f0db6c1b50798c5
2017-05-31 12:17:07 -07:00
Viktor Hofer 96a5b28413 Implement dynamic base64 object hash testing. Core Types fully tested.
Commit migrated from https://github.com/dotnet/corefx/commit/61f3620b173194fedbbfeb34a355c83354c11103
2017-05-31 12:17:07 -07:00
Viktor Hofer e327ff303d nit PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/483bdcb24cc982420270b111fb07561a24db01d6
2017-05-31 12:17:07 -07:00
Viktor Hofer ef6aa517ad Initial
Commit migrated from https://github.com/dotnet/corefx/commit/6c459b6a18a77169596cf9f5e41eac09187fcc50
2017-05-31 12:17:07 -07:00
Morgan Brown 7591164e3c Prep tests for CoreCLR/CoreRT [Serializable] cleanup (dotnet/corefx#20035)
Fixes tests that depend on types in System.Private.CoreLib being serializable that won't be serializable soon.

Commit migrated from https://github.com/dotnet/corefx/commit/178a982df2f210b615e21af7b0920f0fe5425142
2017-05-23 11:51:49 -07:00
Gaurav Khanna f167b0de93 Merge pull request dotnet/corefx#19842 from ericstj/incrementVersions
Increment versions post 2.0

Commit migrated from https://github.com/dotnet/corefx/commit/45d30e6bdf44d4a0e55df5a6064e8275cdf14d25
2017-05-17 12:03:29 -07:00
Morgan Brown 975ad3c685 Scale back [Serializable] CoreFX types (dotnet/corefx#19742)
* Remove SerializableAttribute from many CoreFX types that will not be serializable.

* Removes serialization tests for types that are no longer serializable and fixes serializing a couple of types. Includes marking some internal serializable types as public so that they'll be reflectible with .NET Native.

* Remove unneeded pragmas

* Update based on review comments


Commit migrated from https://github.com/dotnet/corefx/commit/6dd451f51451a7d0ceea6104b51bd17005e9a0e6
2017-05-16 18:16:29 -04:00
Eric St. John e02c675179 Increment versions post 2.0
Commit migrated from https://github.com/dotnet/corefx/commit/6c5f87319a4785499008c95b2ff5e7f13a413d22
2017-05-16 14:12:16 -07:00
Morgan Brown d8a4ca60a8 Remove unneeded Serializable attributes (dotnet/corefx#19577)
Removes unneeded Serializable attributes from enums and delegates. They
can be serialized without attributes and this will remove noise from
future serialization changes.

Commit migrated from https://github.com/dotnet/corefx/commit/2f096d410befd4b348bf0cdf9344cf2221869581
2017-05-09 20:07:36 -07:00
Dan Moseley a139bc0b0f Skip verifying stack on full framework (dotnet/corefx#19182)
* Skip test on netfx

* Fix build

* build2

* build3


Commit migrated from https://github.com/dotnet/corefx/commit/a3c6ed02c6baf04019b73f56068a9687ea51702f
2017-05-01 14:23:56 -07:00
yaelkeemink a1dcdc8beb Removed dead code system runtime serialisation formatters for issue dotnet/corefx#17905 (dotnet/corefx#19148)
Commit migrated from https://github.com/dotnet/corefx/commit/2fe43d067ad6417a3adce0bcd6d07fd7193cf2da
2017-04-29 11:04:31 -07:00
Daniel Harvey 252cdc5e95 Bulk updates of tests for AssertExtensions (dotnet/corefx#18491)
Bulk update to AssertExtensions.Throws for AOT support. This doesn't disable Assert.Throws.

Commit migrated from https://github.com/dotnet/corefx/commit/b43b4df2e0e2182154bb0f425cb4a61bc1269828
2017-04-18 09:52:02 -07:00
Stephen Toub 815cb91bf1 Fix compilation of FormatterServices tests using ArgIterator
Commit migrated from https://github.com/dotnet/corefx/commit/e82e4c5fe3d277472799cda8b3ab7c1bec471289
2017-04-12 20:00:13 -04:00
Wes Haggard 4185183e8c Updates how we define which key an assembly uses
Now instead of Use*Key a project can instead define the assembly key
in the project (genreally the common dir.pops for a project) using
the AssemblyKey property. The accepted values are Open, ECMA, MSFT,
Test.

This change allows for a repo to set the default key they want to use
for projects. In corefx we have switched the default to use the Open
key instead of the old BuildTools default of MSFT key.

As part of this update we are explicitly setting the AssemblyKey in
all the library projects (although it is really only necessary for
projects that aren't the default).

Also with this change we are updating all the new libraries that have
not yet shipped stable (compared to our 1.1 release) and making them
use the Open key. Which means that for prerelease dependencies there
might be some binary breaking changes to consume.

The following libraries ahven't shipped so there key is being
changed from MSFT to Open:
Microsoft.XmlSerializer.Generator
System.CodeDom
System.Configuration.ConfigurationManager
System.Data.Odbc
System.DirectoryServices
System.DirectoryServices.AccountManagement
System.DirectoryServices.Protocols
System.IO.Ports
System.Json
System.Memory
System.Net.HttpListener
System.Net.Mail
System.Net.ServicePoint
System.Net.WebClient
System.Net.WebProxy
System.Private.Xml
System.Private.Xml.Linq
System.Security.Cryptography.Xml
System.Security.Permissions
System.Transactions.Local
System.Web.HttpUtility


Commit migrated from https://github.com/dotnet/corefx/commit/ac09a797d09502ebab61f7167bb856846602e1e6
2017-04-10 12:51:50 -07:00
Stephen Toub bc5970981a Merge pull request dotnet/corefx#17949 from stephentoub/deser_perf
Increase ObjectManager.MaxArraySize to improve BinaryFormatter deserialization time

Commit migrated from https://github.com/dotnet/corefx/commit/afde3c164946cc1394f29696c4e2ca09c1041948
2017-04-05 11:31:34 -04:00
Hugh Bellamy ad1f8fdd2c Add tests for FormatterServices.GetUninitializedObject (dotnet/corefx#17717)
* Add tests for FormatterServices.GetUninitializedObject

- non runtime types
- array, pointer, ref types
- abstract/interface types
- open generic types
- byref like types
- shared generic instantiations
- COM objects
- nullable types
- default constructor
- static constructor (non beforefieldinit)
- static field (beforefieldinit)
- static constructor throwing

as

* Address PR feedback

- Remove now uneeded netcoreapp configuration and definition to use a
simpler non RuntimeType
- Update test that relies on System.__Canon to be coreclr specific
- Add test that actually tests for COM objects
- Fix naming of test for subclass of ContextBoundObject

* Split coreclr runtime specific code into it's own coreclr specific test

* Fix Unix test failures

* Add another test for GetUninitializedObject(TypeDesc) (generic type parameter)

* Address more PR feedback

* Fix CI errors


Commit migrated from https://github.com/dotnet/corefx/commit/b6d4e5fa4bddd130fa2f95e34f5487064ff6bd1b
2017-04-05 07:17:14 -07:00
Stephen Toub dc4194ded5 Increase ObjectManager.MaxArraySize
To support fix-ups during BinaryFormatter deserialization, ObjectManager maintains a table of ObjectHolders.  This table is an array, where each element/bucket of the array is a linked list of ObjectHolders, and where the right bucket is found via `id % MaxArraySize`.  IDs are allocated monotonically and contiguously, such that the max list size is equal to the total number of object holders divided by MaxArraySize.  Every time an object is searched for, we need to find the right bucket, and then walk the list, and so for large numbers of objects, searching for every object is effectively an O(N^2) operation.

There are a variety of ways to address this.  But a very simple stop-gap is to simply increase the MaxArraySize.  Doing so doesn't impact small deserializations, as the array wouldn't have grown beyond MaxArraySize anyway, and for large deserializations, we allocate more memory for the array but only proportionally to the number of objects added to the table.  The primary downside is such a large array is more likely to end up in the LOH, which will make collecting the array more expensive, but nowhere near as expensive as the O(N^2) algorithm that would result with a smaller array of long lists.

Thus, this mitigation simply increases the MaxArraySize from 4K to 1MB.


Commit migrated from https://github.com/dotnet/corefx/commit/9c2e79c4f892828cb787106cef58bd7ed3d6571d
2017-04-05 10:07:06 -04:00
Morgan Brown ae82dbff88 Change the multidimensional array used in the BinaryFormatter test to 4 dimensions since that's the maximum that .NET Native currently supports while still testing the same BinaryFormatter logic. (dotnet/corefx#17781)
Commit migrated from https://github.com/dotnet/corefx/commit/2b5e0aa0c8c8015798539b0856cfd2332351314e
2017-04-01 22:41:02 -07:00
Alex Perovich fdc6e2a7ec Fix binary formatter on arrays with non-zero lower bounds (dotnet/corefx#17628)
* Fix binary formatter on arrays with non-zero lower bounds

Fixes dotnet/corefx#16753

This change fixes the problem by casting to Array rather than object[]

* Add reason to SkipOnTargetFramework attribute


Commit migrated from https://github.com/dotnet/corefx/commit/8d9afda9f3d9400a34fa165cb67551ec6fe4577b
2017-03-29 13:50:27 -05:00
Santiago Fernandez Madero de36b4d76e Update csproj and solutions configurations (dotnet/corefx#17613)
* Update csproj and solutions configurations


Commit migrated from https://github.com/dotnet/corefx/commit/9fa0bc5de96946eb3e109f13768f1258cfaddc73
2017-03-28 14:36:26 -07:00
safern 37ed399dd1 Add netfx configuration
Commit migrated from https://github.com/dotnet/corefx/commit/81f232b6a8786729818f93763def8b2248bcad5c
2017-03-27 15:33:55 -07:00
Rion Williams 1b159ddccc Replaced ContainsKey() Calls with TryAdd() Dictionary Calls (dotnet/corefx#17201)
* Replaced ContainsKey() Calls with TryAdd() Dictionary Calls (Where Applicable)

Replaced `ContainsKey()` method calls with the new `TryAdd()` method
where applicable.

* Reverted `TryAdd()` To Previous Approach

Reverted to earlier approach to avoid unnessary allocation of  a new
row.

* Cleaned Up `else-if` Usage with `TryAdd()`

Removed the `TryAdd()` call from within the conditional statements and
moved them to the body

* Added Extra Line for Readability / Coding Style

* Updated Non-Dictionary Test Cases To Use `TryAdd()`

Updated various unit tests to include the `TryAdd()` instead of the
previous `ContainsKey()` pattern. This focused primarily on test casts
that were not dictionary-related at all to help curb any potential
regression issues.

* Added `TryAdd()` Within Dictionary Performance Test

Replaced older `ContainsKey()` implementation with newer `TryAdd()`.

* Reverted PerfDictionary Test to `ContainsKey()` Usage

Changed test to earlier implementation in to make way for .NET Core
specific tests using newer API.

* Created Separate .NET Core Dictionary Performance Test

Copied the existing dictionary performance tests (from
`Perf.Dictionary.cs`) and used the newer `TryAdd()` calls; Adjusted the
projects test file only include these when targeting .NET Core.

* Created Separate .NET Core SQL Manual Test

Reverted previous usage of the newer `TryAdd()` method and created a
separate .NET Core specific file to to be conditionally included and
tested.

* Separated .NET Core ILPrinter Test

Reverted previous changes involving the `TryAdd()` method and created a
seperate file to test this functionality only for .NET Core.

* Created Seperate .NET Core Linq TreeManipulation Tests

Reverted previous changes to the normal tests and created a seperate
test targeting .NET Core with the newer `TryAdd()` usage.

* Created Seperate .NET Core xNodeBuilder Test

Reverted previous changes to the normal tests and created a seperate
test targeting .NET Core with the newer `TryAdd()` usage.

* Missed .NET Core Reference for InternalConnectionWrapper

* Applied Compilation Condition for InternalConnectionWrapper to Avoid Collisions

Applied Compilation Condition for InternalConnectionWrapper to Avoid
Collisions (i.e. either build for .NET Core or use the other one for
non-Core builds)

* Avoiding Another Build Collision with .NET Core Functionality

Added a .NET Core compilation constraint for the .NET Core specific
ILPrinter class to avoid issues when building (i.e. only build .NET Core
or non-Core).

* Fixed Yet Another Potential Build Collision with .NET Core

Added a .NET Core compilation constraint for the .NET Core specific
Performance Dictionary testing class to avoid issues when building (i.e.
only build .NET Core or non-Core).

* Removed More Potential .NET Core Compilation Collisions

Added .NET Core specific constraint to seperate Core and non-Core
classes when building

* Additional .NET Core Build Collision Fix

Added an additional condition to separate .NET Core and non-Core builds.

* Added TryAdd Extension Method for Testing

Added an extension method to support `TryAdd()` calls within test cases
across the solution to avoid code duplication.

* Updated Namespace for Dictionary Extension Methods

Changed from `System.Collection.Tests` to `System.Collections.Generic`
as this wasn't actually a test but rather an extension method.

* Removed Previous Duplicate Tests; Added Extension Method

Removed Previous Duplicate Tests; Added Extension Method Usage

* Updated Extension Method Path

Replaced previous relative pathing string with `$(CommonTestPath)`

* Added Missing Generic Type Parameters to TryAdd Extension Method

* Removed Unnecessary Using Statement

* Updated System.Linq.Expressions Tets to use Extension Method

Removed .NET Core duplicate tests; Added reference to new extension
method (from Common\tests)

* Updated System.Private.Xml.Linq .NET Core Tests to Use TryAdd()

Updated System.Private.Xml.Linq .NET Core Tests to Use TryAdd()
extension method.

* Updated System.Collections To Use Dictionary.TryAdd() Extension Method

Removed previous .NET Core duplicated code and references

* Updated Non-ContainsKey() Tests To Use Extension Method

Updated Non-ContainsKey() tests to use the `TryAdd()` extension method
approach

* Extended TryAdd() Extension Method

Updated the existing `TryAdd()` extension method to target any Dictionary
related interfaces (as opposed to Dictionary implementations)

* Updated References in System.Collections.Test

Removed previous .NET Core specific reference; Added extension method
availability

* Added `TryAdd()` Extension Reference

Added the `TryAdd()` extension for some other dictionary tests that rely
on an interface (which now supports the `TryAdd()` method).

* Removed Explicit .NET Core Compilation Constraint

* Fixed Coding Style Issue

Fixed Coding Style Issue of a missing blank line following the closing
gullwing brace for the if-statement.

* Added `<Link>` Section for Extension Method References

Updated all of the previously added extension method `<Compile>`
sections to include a `<Link>` section to improve formatting.

* Added <Link> Section for Dictionary Extensions

Added Missing <Link> Section for Dictionary Extensions


Commit migrated from https://github.com/dotnet/corefx/commit/3d4d8038d1a3f0c56d3046bc7494f30ecc35e67b
2017-03-21 14:58:04 -04:00
Jiayi Li d8b41f8f9e Cleanup disabled tests missing correct issue numbers (dotnet/corefx#16756)
* Move a System.Collections test

Just moves the test to a more derived test class.  In its current location, it's unnecessarily getting run multiple times but without any variation.

* 20170306 - Audit some active issues/v-lijiay

* Remove Active Issue 16750 and change performancetest to [Benchmark], remove the link in Fact when it has activeissue.

* The type or namespace name 'BenchmarkAttribute' could not be found, add using Microsoft.Xunit.Performance;

* 20170306 - Audit some active issues/v-lijiay

* Remove Active Issue 16750 and change performancetest to [Benchmark], remove the link in Fact when it has activeissue.

* The type or namespace name 'BenchmarkAttribute' could not be found, add using Microsoft.Xunit.Performance;


Commit migrated from https://github.com/dotnet/corefx/commit/31e2eb9779b8ec07c3363ed52c32e1838c4eb4de
2017-03-07 22:10:33 -08:00
v-lijiay c12be79529 Remove CoreCLR pull 6423 from NegativeValueNotFound() under System.Runtime.Serialization.Formatters.Tests
Commit migrated from https://github.com/dotnet/corefx/commit/ae39deb2cf6ef61caba9eff385b15d71f208aa1f
2017-03-07 00:43:09 -08:00
Dan Moseley 44ac2dd747 Remove dead string resources (dotnet/corefx#16284)
Commit migrated from https://github.com/dotnet/corefx/commit/6b4423f47d5048b4c1437aaefe87859b258c89b7
2017-02-18 06:01:59 -08:00
Wes Haggard eb1f0e0530 Remove all .builds files under pkg/ref/src/tests library folders
Commit migrated from https://github.com/dotnet/corefx/commit/b60cbe5a2edb5ef3b88a7738507822d13d125d62
2017-02-15 16:32:03 -08:00
Dennis "D.C." Dietrich adad05c050 Marking code as unchecked (pt 7) (dotnet/corefx#16079)
* Marking code as unchecked (pt 7)

Marking code that may intentionally lead to over or underflows with
unchecked in preparation of turning on CheckForOverflowUnderflow for
all projects (issue dotnet/corefx#3140)

* Marking code as unchecked (pt 7a)

Additional fixes from a debugging session on macOS

* Marking code as unchecked (pt 7b)

Added missing unchecked to ConcurrentBag


Commit migrated from https://github.com/dotnet/corefx/commit/0ebc867d6bad9d777dd61afb78d0445c86143b34
2017-02-13 09:02:11 -08:00
Jose Perez Rodriguez d9c497be12 Prepare uap package (dotnet/corefx#15866)
Prepare uap package

Commit migrated from https://github.com/dotnet/corefx/commit/afaaf450d1869992dcf4f51c627f16145cf9c974
2017-02-08 10:39:37 -08:00
Jan Kotas dd5ef8fe90 Delete unnecessary ifdef (dotnet/corefx#15940)
Commit migrated from https://github.com/dotnet/corefx/commit/c3b7d4fad979eb52c8ffbfb180e8c18ac4fb632b
2017-02-07 21:25:58 -08:00
Eric Mellino eb8b6f8024 Merge pull request dotnet/corefx#15928 from dennisdietrich/Issue15891
Fixed cross-process tests

Commit migrated from https://github.com/dotnet/corefx/commit/7fd6e876d7cc9e36f7bf77ac6f427365a21303e9
2017-02-07 14:52:18 -08:00
Dennis "D.C." Dietrich af037b977b Fixed cross-process tests
Several tests that use a secondary process fail when the path
contains spaces.

Fix dotnet/corefx#15891


Commit migrated from https://github.com/dotnet/corefx/commit/614b3bd9559a6ca1cea4dea0d345fe4c181f731a
2017-02-07 22:53:42 +01:00
Eric Mellino 8fbc03fb77 Remove non-existent project.json's from project files
Commit migrated from https://github.com/dotnet/corefx/commit/56202d079c0a45f17b5b6680ac1df3e5a4f78be1
2017-02-07 12:22:10 -08:00
Wes Haggard f2fd0ea78a Update Solution files to use windows path slashes.
Commit migrated from https://github.com/dotnet/corefx/commit/f8ba7c412d06d8e4d4e6278502d4dd771a0f10bb
2017-02-03 16:31:48 -08:00
Eric StJohn 35d9fe362e Merge pull request dotnet/corefx#15754 from ericstj/buildAllFixes
Fix BuildAllConfigurations

Commit migrated from https://github.com/dotnet/corefx/commit/0620fb036f0faa2346dbddc274148a187c0265b1
2017-02-03 11:01:30 -08:00
Eric St. John c2dc83e56a Sync BuildConfiguration with project PropertyGroups
Commit migrated from https://github.com/dotnet/corefx/commit/758a0e16e8c5af8741d14043f4bef1d15a79a377
2017-02-03 08:34:24 -08:00
Santiago Fernandez Madero 81ba3c14e7 Adding missing apis to .NET Core that where added to netstandard 2.0 (dotnet/corefx#15643)
* IntialCommit

* Delete argiterator tests

* Tests for TypedReference APIs and FieldInfo

* baselines


Commit migrated from https://github.com/dotnet/corefx/commit/2ac9efa1502c84a63895d74ea7f908239e431592
2017-02-03 08:26:07 -08:00
Wes Haggard c4e17cd362 Update all solution files using solution generation tool
Commit migrated from https://github.com/dotnet/corefx/commit/a822a266821cf79df96cdd77d2a3d44f1510d9a0
2017-02-02 15:44:45 -08:00
Wes Haggard 4effd546bc Add ProjectGuids for all projects and empty configs for projects without BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/d00bb5d18ac91189b12ed2fb7131d0ff62da9034
2017-02-02 15:02:57 -08:00
Eric St. John c61e84f6ec Clean up desktop Configurations
Remove all cruft from projects related to building desktop configs which
now build in standard repo.


Commit migrated from https://github.com/dotnet/corefx/commit/93b36cc273391a40552613800b6fdaa8685179ae
2017-01-31 19:25:30 -08:00
Eric St. John a39501e3ae Remove desktop config when in NETStandard.Library
Exceptions for types missing from netstandard facade:
- System.Data.Common - DbColumn, DbDataReaderExtensions, IDbColumnSchemaGenerator
- System.Diagnostics.StackTrace - StackFrameExtensions
- System.Numerics.Vectors - Vector, Vector<T>
- System.Runtime.Serialization.Primitives - ISerializationSurrogateProvider
- System.Runtime.Serialization.Xml - DataContractSerializerExtensions
- System.Security.Cryptography.Cng - AesCng, TripleDESCng <link>
- System.Threading.Overlapped - PreAllocatedOverlapped, ThreadPoolBoundHandle
- System.Xml.XPath.XDocument - XDocumentExtensions


Commit migrated from https://github.com/dotnet/corefx/commit/83b3046e1f63c752ee0d69e8b847d633724d90b1
2017-01-31 18:32:00 -08:00
Jose Perez Rodriguez a840e703dd Updating VS Configurations
Commit migrated from https://github.com/dotnet/corefx/commit/8e7497f825856eddfd84f81fc4afc0104fb917b0
2017-01-31 15:10:43 -08:00
Jose Perez Rodriguez f7c237e4e2 Adding missing Configurations for uap
Commit migrated from https://github.com/dotnet/corefx/commit/16ceba583604b00f12a173a8f3d218584ec2b0ee
2017-01-31 15:08:05 -08:00
Eric St. John 2ef0e9bfd8 Sync PropertyGroups and BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/7e4792af39bd7faba20dd3390b411f3afaee3c66
2017-01-30 13:23:56 -08:00
Stephen Toub 613b6bc5e0 Merge pull request dotnet/corefx#15068 from stephentoub/more_formatter_tests
Augment BinaryFormatter tests

Commit migrated from https://github.com/dotnet/corefx/commit/3515bf85fe46eeba3322f782212e4023cb8a0ae6
2017-01-24 19:21:59 -05:00
Jose Perez Rodriguez f9d4e6795d Removing netstandard configurations for things that are bellow netstandard (dotnet/corefx#15373)
Removing netstandard configurations for things that are bellow netstandard

Commit migrated from https://github.com/dotnet/corefx/commit/c656446f01db4b902b0c06b19551cc30d9dd9c6b
2017-01-24 09:40:19 -08:00
Jose Perez Rodriguez dd708b105d Adding missing Configurations.props for refs and fixing the existing ones (dotnet/corefx#15291)
Adding missing Configurations.props for refs and fixing the existing ones

Commit migrated from https://github.com/dotnet/corefx/commit/2847e0ec9f7c9ac42d44d2bc8c6fd39e504b7a9b
2017-01-19 16:38:55 -08:00
Eric StJohn 279d64fb9e Merge pull request dotnet/corefx#15312 from ericstj/packageCleanup3
Remove packages from NETStandard2.0

Commit migrated from https://github.com/dotnet/corefx/commit/06ddbb809ef1a1383245d63d6c667e43aadd786e
2017-01-19 13:53:14 -08:00
Eric St. John a1370e9d86 Add packages to NETCore.App to complete closure
Commit migrated from https://github.com/dotnet/corefx/commit/e226ab750e3731d129ad704307af7b74b0fa108b
2017-01-18 21:10:22 -08:00
Eric St. John 774105be10 Remove packages from NETStandard2.0
Related to https://github.com/dotnet/corefx/commit/dotnet/corefx@0797813bfe3a9e6d04d4bfaa865b477bb26f8ce2

This removes packages where the types have been moved into
netstandard.dll in netstandard2.0.

These types are supported as follows:
1. In a netstandard2.0+ project via NETStandard.Library package's
    netstandard.dll
2. In a netstandard1.x project via contract assembly packages which
    ship from servicing branches.
3. In a framework specific project via the framework's targeting pack
    or framework package.


Commit migrated from https://github.com/dotnet/corefx/commit/99009fb3bc737af9d455ea0920b22347f69a78ff
2017-01-18 21:01:34 -08:00