tooling

Roslyn and C# Code Analysis Articles, Tutorials & News

Roslyn and C# Code Analysis articles, tutorials, and news from the DotNetNews archive.

16 articles Updated

This DotNetNews topic collects Roslyn C# material from the daily archive. Roslyn and C# Code Analysis is a recurring focus for C# and .NET developers working in the Microsoft ecosystem. The page is for people who already ship C# and need a faster way to find relevant posts.

Expect publisher tutorials, release notes, architecture write-ups, and field notes linked from DotNetNews issues. Start here is a short editorial shortlist for Roslyn and C# Code Analysis; the archive list is chronological and larger. Nothing here claims every article was production-tested by the editors.

Recurring subtopics in recent issues include Roslyn C#, Roslyn analyzers, C# compiler API, and code analysis Roslyn. Secondary angles such as Roslyn C# and Roslyn analyzers appear when the archive actually covered them. Related hubs such as C# Source Generators and C# cover adjacent problems.

Each card points at the original publisher URL and the DotNetNews issue that carried it, so you can read the article in context or jump straight to the source.

Start here

Editor picks for Roslyn

  1. Your Architecture Has a Token Bill So I Made the Compiler Collect It

    medium.com Issue #497

    Roslyn analyzers enforcing AI architecture constraints is exactly the kind of compiler-assisted governance I want to see more of.

    Read article Issue #497

  2. Suppressing Roslyn Analyzer Warnings Programmatically using DiagnosticSuppressor

    meziantou.net Issue #438

    Handy Roslyn deep dive showing how DiagnosticSuppressor can tame noisy analyzer output without just disabling rules outright.

    Read article Issue #438

  3. Static Code Analysis in .NET: Open Source Tools That Actually Earn Their Place in Your Pipeline

    fries-dotnet-legacy.medium.com Issue #434

    A sensible roundup of open source analyzers for quality and security, especially helpful if your pipeline currently lacks a coherent analyzer strategy.

    Read article Issue #434

  4. Achieving Full Application Logging in C# with Roslyn Code Transformation

    medium.com Issue #343

    Roslyn-based logging transformation is an ambitious tooling piece for teams that want broader application visibility with less manual code.

    Read article Issue #343

  5. Creating Roslyn Analyzers

    nickkell.medium.com Issue #142

    Roslyn analyzers are a strong tool when you want rules enforced by the compiler, not code review.

    Read article Issue #142

  6. C# Barcode Library: Comparing 11 Options for .NET Developers in 2026

    c-sharpcorner.com Issue #473

    Comparison of 11 C# barcode libraries. open-source and commercial options.

    Read article Issue #473

  7. Microsoft .NET Code Analysis: Avoid Out Parameters in Methods

    dotnettips.com Issue #444

    I generally agree with discouraging out parameters because clearer method shapes usually age better in real codebases.

    Read article Issue #444

  8. .NET Source Generators with Jason Bock

    dotnetrocks.com Issue #391

    Source generators remain one of the best ways to trade boilerplate for compile-time help.

    Read article Issue #391

Archive

Newest first