Add nullable annotations to System.Memory ref assembly (dotnet/corefx#38299)
authorSantiago Fernandez Madero <safern@microsoft.com>
Tue, 18 Jun 2019 23:16:18 +0000 (16:16 -0700)
committerGitHub <noreply@github.com>
Tue, 18 Jun 2019 23:16:18 +0000 (16:16 -0700)
commit9e99b02b798ac51db6837b0d364cef59a5f24d70
tree077d68a6a5148c2199842f6267868a6e1e7ccfd4
parent8c3432f15f20705cd31ce4eddf6cbbe874d89361
Add nullable annotations to System.Memory ref assembly (dotnet/corefx#38299)

* Add nullable annotations to System.Memory ref assembly

* Nullable feedback

* Include where T inside pragma to be consistent with sources

* Make CultureInfo nullable in ToLower/Upper to match updates we did on String

* Revert comparer nullable change in BinarySearch per pr feedback in implementation

Commit migrated from https://github.com/dotnet/corefx/commit/ad961d0dc9d9054942c6a7e3a8c96c8684dd16cc
src/libraries/System.Memory/ref/System.Memory.cs
src/libraries/System.Memory/ref/System.Memory.csproj
src/libraries/System.Memory/src/System/Runtime/InteropServices/SequenceMarshal.cs