Skip to main content
Any Framework

A Roslyn analyzer that verifies the Curiously Recurring Template Pattern (CRTP) is used correctly: any self-constrained generic interface or base class (where TSelf : ISelf<TSelf>) must be supplied the implementing type itself as its self type argument. A more general, standalone take on CA2260.

Published
Jun 26, 2026
3mo ago
Total Downloads
142
142

Install

dotnet add package NickStrupat.CrtpAnalyzer --version 1.0.0

No framework information available.

README

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.