Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

StringValues should always be passed as in (and a readonly struct) #2301

Closed
benaadams opened this issue Feb 7, 2018 · 1 comment
Closed
Milestone

Comments

@benaadams
Copy link
Contributor

This makes it more efficient by skipping the copy before passing it by reference; which is what happens with pass by value.

However it should also be marked as a readonly struct dotnet/aspnetcore#2856

@muratg
Copy link
Contributor

muratg commented Feb 21, 2018

(Assigning to @halter73 who's already reviewing the PR)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants