Hacker ApprovedDepartments

Roslyn analyzers

Shares rank 8 of 12 static analyzers by recommenders

People recommend Roslyn analyzers for enforcing architecture and conventions at build time and catching invalid or inefficient code that tests can miss. No critics were recorded.

People recommend Roslyn analyzers for enforcing architecture and conventions at build time and catching invalid or inefficient code that tests can miss. No critics were recorded.

6 people gave an opinion

recommend it
6
criticize it
0
approval share
100%
Each figure is one person. RecommendsCriticizes

Recommended in 5 of 13 months

  1. November 2025: not recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: not recommended
  5. March 2026: not recommended
  6. April 2026: not recommended
  7. May 2026: recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: not recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 6 people recommend itNeeds 10 or more, not met.
  • Nobody criticizes itNeeds 2 to 1 or better, met.
  • Recommended in 5 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Enforces architecture and conventions at build

    “Getting it to write it's own guardrails by creating Roslyn Analyzers to make the build fail when it deviates from the project architecture and conventions has been another big win.”

    Comment from 20 Dec 2025 in “We ran Anthropic’s interviews through structured LLM analysis”

    “we've added multiple Roslyn analysers to our build pipeline to check for invalid/inefficient code”

    Comment from 12 Jan 2026 in “Don't fall into the anti-AI hype”

    “you can also make compilation much stricter with Roslyn analyzers”

    Comment from 21 Oct 2026 in “C# now beats Rust on WASM size”
  • Powerful for finding code issues

    “I think tools like Roslyn Analyzers might be more powerful than unit tests in this application.”

    Comment from 12 May 2026 in “If AI Writes Your Code, Why Use Python?”

    “Roslyn analyzers are so incredibly powerful, and it's being ignored.”

    Comment from 22 Dec 2025 in “Claude Code gets native LSP support”

    “are quite powerful and can identify complex patterns in code”

    Comment from 17 Sep 2026 in “Towards Self-Driving Codebases”
  • Catches structural coding mistakes

    “They are quite capable of covering for many common types of structural coding mistakes”

    Comment from 20 Sep 2026 in “Towards Self-Driving Codebases”

    “are quite powerful and can identify complex patterns in code”

    Comment from 17 Sep 2026 in “Towards Self-Driving Codebases”
  • Guards AI-written code with LLMs

    “Getting it to write it's own guardrails by creating Roslyn Analyzers to make the build fail when it deviates from the project architecture and conventions has been another big win.”

    Comment from 20 Dec 2025 in “We ran Anthropic’s interviews through structured LLM analysis”

    “combining Roslyn analyzers with an LLM and a human in the loop could be game changing”

    Comment from 16 Dec 2025 in “AI will make formal verification go mainstream”

Other static analyzers people recommend

The four most recommended other static analyzers, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Roslyn analyzers compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
zizmor19195%6—Approved
Semgrep141058%7——
clang-tidy14478%6—Approved
PHPStan110100%7—Approved
Roslyn analyzersThis page60100%5——
See all 12 static analyzers, ranked

What people said

All 9 comments that mention it, newest first. Each links to the original comment.

“you can also make compilation much stricter with Roslyn analyzers”

RecommendsComment from 21 Oct 2026 in “C# now beats Rust on WASM size”

“They are quite capable of covering for many common types of structural coding mistakes”

RecommendsComment from 20 Sep 2026 in “Towards Self-Driving Codebases”

“are quite powerful and can identify complex patterns in code”

RecommendsComment from 17 Sep 2026 in “Towards Self-Driving Codebases”

“I think tools like Roslyn Analyzers might be more powerful than unit tests in this application.”

RecommendsComment from 12 May 2026 in “If AI Writes Your Code, Why Use Python?”

“Very good static typing, Roslyn analyzers, good tooling”

RecommendsComment from 12 May 2026 in “If AI Writes Your Code, Why Use Python?”

“we've added multiple Roslyn analysers to our build pipeline to check for invalid/inefficient code”

RecommendsComment from 12 Jan 2026 in “Don't fall into the anti-AI hype”

“Roslyn analyzers are so incredibly powerful, and it's being ignored.”

RecommendsComment from 22 Dec 2025 in “Claude Code gets native LSP support”

“Getting it to write it's own guardrails by creating Roslyn Analyzers to make the build fail when it deviates from the project architecture and conventions has been another big win.”

RecommendsComment from 20 Dec 2025 in “We ran Anthropic’s interviews through structured LLM analysis”

“combining Roslyn analyzers with an LLM and a human in the loop could be game changing”

RecommendsComment from 16 Dec 2025 in “AI will make formal verification go mainstream”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.