Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

@dotnet-maestro-bot
Copy link

No description provided.

@stephentoub
Copy link
Member

@ahsonkhan, FYI:

System\MemoryExtensions.cs(25,25): error CS0121: The call is ambiguous between the following methods or properties: 'System.MemoryExtensions.TrimStart(System.ReadOnlySpan<char>)' and 'System.MemoryExtensions.TrimStart(System.ReadOnlySpan<char>)' [D:\j\workspace\windows-TGrou---74aa877a\src\System.Memory\src\System.Memory.csproj]
System\MemoryExtensions.cs(64,25): error CS0121: The call is ambiguous between the following methods or properties: 'System.MemoryExtensions.TrimStart(System.ReadOnlySpan<char>, char)' and 'System.MemoryExtensions.TrimStart(System.ReadOnlySpan<char>, char)' [D:\j\workspace\windows-TGrou---74aa877a\src\System.Memory\src\System.Memory.csproj]
System\MemoryExtensions.cs(108,25): error CS0121: The call is ambiguous between the following methods or properties: 'System.MemoryExtensions.TrimStart(System.ReadOnlySpan<char>, System.ReadOnlySpan<char>)' and 'System.MemoryExtensions.TrimStart(System.ReadOnlySpan<char>, System.ReadOnlySpan<char>)' [D:\j\workspace\windows-TGrou---74aa877a\src\System.Memory\src\System.Memory.csproj]
System\MemoryExtensions.cs(785,19): error CS0121: The call is ambiguous between the following methods or properties: 'System.MemoryExtensions.CopyTo<T>(T[], System.Span<T>)' and 'System.MemoryExtensions.CopyTo<T>(T[], System.Span<T>)' [D:\j\workspace\windows-TGrou---74aa877a\src\System.Memory\src\System.Memory.csproj]
System\MemoryExtensions.Fast.cs(21,21): error CS0117: 'Span' does not contain a definition for 'EndsWith' [D:\j\workspace\windows-TGrou---74aa877a\src\System.Memory\src\System.Memory.csproj]
System\MemoryExtensions.Fast.cs(30,21): error CS0117: 'Span' does not contain a definition for 'StartsWith' [D:\j\workspace\windows-TGrou---74aa877a\src\System.Memory\src\System.Memory.csproj]
System\MemoryExtensions.Fast.cs(121,18): error CS0117: 'Span' does not contain a definition for 'TryGetString' [D:\j\workspace\windows-TGrou---74aa877a\src\System.Memory\src\System.Memory.csproj]
System\Buffers\StandardFormat.cs(106,95): error CS0436: The type 'MemoryExtensions' in 'D:\j\workspace\windows-TGrou---74aa877a\src\System.Memory\src\System\MemoryExtensions.cs' conflicts with the imported type 'MemoryExtensions' in 'System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. Using the type defined in 'D:\j\workspace\windows-TGrou---74aa877a\src\System.Memory\src\System\MemoryExtensions.cs'. [D:\j\workspace\windows-TGrou---74aa877a\src\System.Memory\src\System.Memory.csproj]
System\Number\Number.NumberBuffer.cs(43,40): error CS0121: The call is ambiguous between the following methods or properties: 'System.MemoryExtensions.IndexOf<T>(System.Span<T>, T)' and 'System.MemoryExtensions.IndexOf<T>(System.Span<T>, T)' [D:\j\workspace\windows-TGrou---74aa877a\src\System.Memory\src\System.Memory.csproj]
System\Buffers\BuffersExtensions.cs(21,41): error CS0121: The call is ambiguous between the following methods or properties: 'System.MemoryExtensions.IndexOf<T>(System.ReadOnlySpan<T>, T)' and 'System.MemoryExtensions.IndexOf<T>(System.ReadOnlySpan<T>, T)' [D:\j\workspace\windows-TGrou---74aa877a\src\System.Memory\src\System.Memory.csproj]

@ahsonkhan
Copy link

Yep, relates to #27489

@ahsonkhan
Copy link

I will cherry-pick my commits from #27489

@ahsonkhan ahsonkhan merged commit 945eed4 into dotnet:master Feb 28, 2018
@karelz karelz added this to the 2.1.0 milestone Mar 10, 2018
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* Update CoreClr to preview2-26227-13

* Removing files since MemoryExtensions is in CoreLib now.

* Change back to extension syntax instead of calling MemoryExtensions directly


Commit migrated from dotnet/corefx@945eed4
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants