As Span and As Memory apis added for immutable arrays (dotnet/corefx#37757)
authorAnirudh Agnihotry <anirudhagnihotry098@gmail.com>
Tue, 21 May 2019 06:42:55 +0000 (23:42 -0700)
committerGitHub <noreply@github.com>
Tue, 21 May 2019 06:42:55 +0000 (23:42 -0700)
commit7f947228490de4076187198414bb7983e185acd0
treef38c98e9de02dad5b6dc0eca3b5b92d7722590fd
parent47ce0ab5489b215a4ca31542c863617564de104a
As Span and As Memory apis added for immutable arrays (dotnet/corefx#37757)

* As Span and As memory added for immutable arrays

* Fixing netstandard build

* using a more generic compile constant

* fixing build for netcoreapp

* building fix for netfx and netstandard

* fixing netstandard1.0, using generateRefereceASource to get ref file, tests for string and default immutable arrays

Commit migrated from https://github.com/dotnet/corefx/commit/51a1f16ee2aaded4ce1fca6847471b58f7ffa160
21 files changed:
src/libraries/System.Collections.Immutable/ref/System.Collections.Immutable.cs
src/libraries/System.Collections.Immutable/ref/System.Collections.Immutable.csproj
src/libraries/System.Collections.Immutable/src/System.Collections.Immutable.csproj
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableArray_1.Builder.cs
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableArray_1.Minimal.cs
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableArray_1.cs
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableDictionary_2.HashBucket.cs
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableHashSet_1.HashBucket.cs
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableList_1.Builder.cs
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableList_1.Node.cs
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableList_1.cs
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableQueue_1.cs
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableSortedDictionary_2.Builder.cs
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableSortedDictionary_2.Node.cs
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableSortedDictionary_2.cs
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableSortedSet_1.Builder.cs
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableSortedSet_1.Node.cs
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableSortedSet_1.cs
src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableStack_1.cs
src/libraries/System.Collections.Immutable/tests/ImmutableArrayTest.cs
src/libraries/mscorlib.WinRT-Facade/ref/mscorlib.WinRT-Facade.csproj