Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analyzer: Introduce an analyzer to recommend upgrading reference tuples to the more efficient value tuples #85488

Closed
geeknoid opened this issue Apr 27, 2023 · 2 comments
Labels
area-System.Runtime code-analyzer Marks an issue that suggests a Roslyn analyzer

Comments

@geeknoid
Copy link
Member

Introduce a performance-centric analyzer to recommend code be upgraded from using the original reference-based tuple abstractions to the more efficient and generally cleaner value tuples.

Our version of this analyzer simply looks for calls to the various Tuple<>.Create functions and constructors and suggests to the user to upgrade their code.

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Apr 27, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Apr 27, 2023
@danmoseley danmoseley added code-analyzer Marks an issue that suggests a Roslyn analyzer area-System.Runtime and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Apr 27, 2023
@ghost
Copy link

ghost commented Apr 27, 2023

Tagging subscribers to this area: @dotnet/area-system-runtime
See info in area-owners.md if you want to be subscribed.

Issue Details

Introduce a performance-centric analyzer to recommend code be upgraded from using the original reference-based tuple abstractions to the more efficient and generally cleaner value tuples.

Our version of this analyzer simply looks for calls to the various Tuple<>.Create functions and constructors and suggests to the user to upgrade their code.

Author: geeknoid
Assignees: -
Labels:

area-System.Runtime, untriaged, code-analyzer

Milestone: -

@buyaa-n
Copy link
Contributor

buyaa-n commented May 17, 2023

Duplicate of #33791

@buyaa-n buyaa-n marked this as a duplicate of #33791 May 17, 2023
@buyaa-n buyaa-n closed this as completed May 17, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label May 17, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Jun 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Runtime code-analyzer Marks an issue that suggests a Roslyn analyzer
Projects
None yet
Development

No branches or pull requests

3 participants