Skip to content

(ReadOnly)Span.Contains(T value) is not available with .NET Framework when System.Memory is installed #71

@GerardSmit

Description

@GerardSmit

Version

v2.5.0

Platform

.NET Framework 4.6.2

Steps to reproduce

  • Use .NET Framework 4.62
  • Install System.Memory package
  • Install PolyShim
  • Try to use ReadOnlySpan<T>.Contains(T value)

Details

  • Expected behavior: compiles and runs
  • Actual behavior: compile error; Contains cannot be found.

Checklist

  • I have looked through existing issues to make sure that this bug has not been reported before
  • I have provided a descriptive title for this issue
  • I have made sure that this bug is reproducible on the latest version of the package
  • I have provided all the information needed to reproduce this bug as efficiently as possible
  • I have sponsored this project

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions