Skip to content

Investigate using readonly struct and ref readonly parameters #602

@tannergooding

Description

@tannergooding

C# added support for explicitly declaring structs as readonly and allowing you to pass them and return them while preserving the readonly semantic (in and ref readonly).

Investigate using this feature, where appropriate, in order to reduce allocations, increase maintainability, and potentially to improve perf.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions