Skip to main content
NickStrupat.CrtpAnalyzer package icon

NickStrupat.CrtpAnalyzer

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.

Total Downloads
141
141
Published
Jun 26, 2026
Latest stable version

Install

.NET CLI
dotnet add package NickStrupat.CrtpAnalyzer --version 1.0.0
Package Manager Console
Install-Package NickStrupat.CrtpAnalyzer -Version 1.0.0
PackageReference
<PackageReference Include="NickStrupat.CrtpAnalyzer" Version="1.0.0" />

Frameworks

No framework metadata available.

Dependencies

No declared dependencies.

Adoption guide

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.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.