dotnet / dotnet/runtime

Suspicious code fragments

Open
#129,042 5 comments 0 reactions 0 assignees View on GitHub
area-Serialization
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

Hello!

I checked your project (the code corresponds to this [version](https://github.com/dotnet/runtime/tree/v10.0.8)) using a static analyzer. It detected some notable code fragments that I described in an [article](https://pvs-studio.com/en/blog/posts/csharp/1380/), and you might want to take a look at them.

Please note that the article includes only the most interesting warnings. If you wish, you can check the project yourself using the [free version of the analyzer for open-source solutions](https://pvs-studio.com/en/order/open-source-license/) or the [trial version](https://pvs-studio.com/en/pvs-studio/try-free/).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.