Skip to content

Span and friends may require work in Linq.Expression/DLR and dynamic binders  #22792

Closed
@VSadov

Description

@VSadov

It is not permitted to box these types and expressions/binders would need to know about that.

Otherwise there could be some relatively trivial ways to cause failures such as dynamically invoking a Span-returning method by name. That would easily result in a Span being boxed, which might fail very ungracefully.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions