C# CSharp Guest Post LINQ PVS-Studio Sponsored date_range April 27, 2021 First() vs FirstOrDefault() in C# | How to Use Methods that Return Default Values Codingvila comment Add Comment Which method should you use to get the first collection's element that meets a certain condition - ' First ' or ' FirstOrDef...
C# Code Analyzer CSharp Guest Post PVS-Studio Sponsored date_range April 20, 2021 C# Code Analysis Using Roslyn Syntax Trivia Codingvila comment Add Comment Where to start if we want to analyze all the comments in the code? Which syntax tree nodes do we need to traverse to do this? How can we fig...
C# CSharp Guest Post PVS-Studio Sponsored date_range April 12, 2021 C# Code Analysis Using Roslyn Semantic Model Codingvila comment Add Comment Introduction In the previous notes, we analyzed the source files, relying entirely on the syntax tree and traversing its nodes. In many cas...
C# CSharp Guest Post PVS-Studio Sponsored date_range April 07, 2021 C# Code Analysis With Roslyn's Syntax Trees Codingvila comment Add Comment Introduction In the previous article, we compared Visual Studio's templates that one can use to build their own static analyzer. There w...
C# Code Analyzer CSharp Guest Post PVS-Studio Sponsored date_range March 19, 2021 Creating a Static Analyzer for C# From Project Templates in Visual Studio Codingvila comment Add Comment ''Static code analyzer'' sounds a bit complicated, doesn't it? What if after reading this small note, you will have enou...