Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
Posts: #CSharp

Posts: # CSharp

Apr 22 2021
Roslyn API: why PVS-Studio was analyzing the project so long
Valery Komarov
How many of you have used third-party libraries when writing code? It's a catchy question. Without third-party libraries the development of some products would be delayed for a very, very long...
...
Apr 21 2021
Finally! PVS-Studio supports .NET 5 projects
Nikita Lipilin
On November 10th, 2020, Microsoft released a new version of .NET Core - .NET 5. The updated platform presents many new enhancements. For example, it allows C# developers to use features the new...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
Apr 06 2021
Hidden reefs in string pool, or another reason to think twice before interning instances of string class in C#
Ilya Gainulin
As software developers, we always want our software to work properly. We'll do everything to improve the software quality. To find the best solution, we are ready to use parallelizing or applying...
...
Mar 04 2021
What is yield and how does it work in C#?
Nikita Lipilin
C# capabilities keep expanding from year to year. New features enrich software development. However, their advantages may not always be so obvious. For example, the good old yield. To...
...
Mar 02 2021
PVS-Studio clashes with hardcoded passwords!
Nikita Lipilin
PVS-Studio is a static analyzer that allows to find many problems hidden in the source code. Among them there are also errors related to application security. For example, the analyzer has...
...
Feb 12 2021
Should we initialize an out parameter before a method returns?
Sergey Vasiliev
Surely every C# developer has used out-parameters. It seems that everything is extremely simple and clear with them. But is it really so? For a kickoff, let's start with a self-test...
...
Feb 09 2021
How to get nice error reports using SARIF in GitHub
Evgeniy Ovsyannikov, Nikolay Mironov
Let's say you use GitHub, write code, and do other fun stuff. You also use a static analyzer to enhance your work quality and optimize the timing. Once you come up with an idea - why not view...
...
Feb 04 2021
A spy undercover: PVS-Studio to check ILSpy source code
Ilya Gainulin
In PVS-Studio, we often check various compilers' code and post the results in our blog. Decompiler programs, however, seem to be a bit neglected. To restore justice in this world, we analyzed...
...
Feb 01 2021
C# Programmer, it's time to test yourself and find error
Valery Komarov
The PVS-Studio analyzer is regularly updated with new diagnostic rules. Curiously enough, diagnostics often detect suspicious code fragments before the end of the work. For example, such a...
...
Dec 24 2020
Top 10 bugs found in C# projects in 2020
Nikita Lipilin
This tough year, 2020, will soon be over at last, which means it's time to look back at our accomplishments! Over the year, the PVS-Studio team has written quite a number of articles covering a...
...
View more Pagination arrow previous
Showing: - of 230