Skip to content

Conversation

buyaa-n
Copy link
Contributor

@buyaa-n buyaa-n commented May 1, 2023

Fix new warnings found in https://github.com/dotnet/runtime/pull/85518/files introduced with recent improvements in CA1854 Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup

@buyaa-n buyaa-n requested a review from stephentoub May 1, 2023 20:50
@buyaa-n buyaa-n requested a review from marek-safar as a code owner May 1, 2023 20:50
@ghost ghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label May 1, 2023
@ghost ghost assigned buyaa-n May 1, 2023
@ghost
Copy link

ghost commented May 1, 2023

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

Issue Details

Fix new warnings found in https://github.com/dotnet/runtime/pull/85518/files introduced with recent improvements in CA1854 Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup

Author: buyaa-n
Assignees: buyaa-n
Labels:

area-Meta, needs-area-label

Milestone: -

@buyaa-n buyaa-n merged commit 3e8f17a into dotnet:main May 2, 2023
@buyaa-n buyaa-n deleted the fix_warnings branch May 2, 2023 04:25
@ghost ghost locked as resolved and limited conversation to collaborators Jun 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Meta needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants