About 594,000 results
Open links in new tab
  1. What static analysis tools are available for C#? [closed]

    Sep 2, 2008 · What tools are there available for static analysis against C# code? I know about FxCop and StyleCop. Are there others? I've run across NStatic before but it's been in development for what …

  2. Source code analysis tools for C# - Stack Overflow

    Possible Duplicate: What static analysis tools are available for C#? Guys, I'm looking for an open source or free source code analysis tool for C#. The tool should be able to generate metrics from the source …

  3. How do I run code analysis for .NET application using Microsoft ...

    Oct 22, 2021 · Setup: .NET Core 3.1 console app Microsoft.CodeAnalysis.NetAnalyzers installed as a NuGet package Problem: I need to run code analysis from a command line interface to have it as a …

  4. Static source code analysis for C# that operates on source code level ...

    Apr 21, 2010 · 2 Current static source analysis tools for C# (or other .NET languages) usually operate on the assembly-level. They use reflection to analyse the code. Are there tools available that operate on …

  5. c# - How to display all code paths from a method call in Visual Studio ...

    Feb 9, 2025 · Here are several official documents for your reference: Document 1 (A static analysis tool that displays the calling relationships in the code rather than all the paths actually executed during …

  6. c# - Using Microsoft.CodeAnalysis.NetAnalyzers on .NET Framework …

    Mar 12, 2021 · Has anyone had any luck implementing this new static code analysis tool from Microsoft on a set of projects: Targeting .NET Framework 4.6.x (or even .NET 4.x) Using Visual Studio 2019 …

  7. c# - Static Code Analysis - Which ones to turn on first ... - Stack ...

    Nov 18, 2009 · We want to start enforcing static code analysis on all projects, but enabling all rules would create a massive distraction to our current projects. Which of the many static code analysis …

  8. c# - How to find potential points of NullReferenceException in a static ...

    Aug 31, 2016 · We're developing a static code analysis tool that aims at improving code via some hints. We want to find places where developer has forgotten to check nullability of a variable or property or …

  9. Static Code Analysis Tools in Visual Studio 2017

    Nov 26, 2021 · For C#, Visual Studio includes "FXCop". See Microsoft Docs: Overview of code analysis for .NET in Visual Studio. For C++, Visual Studio includes /analyze as well as C++ Core Guidelines …

  10. In C# indicate to static analyzers that a method guarantees non-null ...

    Aug 26, 2022 · foo.ThrowIfNullOrWhitespace(new ArgumentException("null or whitespace")); but subsequent uses of foo in the code still get "possible null value" squiggles in the editor. I also see …