TastenTiger.Analyzers 1.0.1

Requires NuGet 2.12 or higher.

dotnet add package TastenTiger.Analyzers --version 1.0.1
                    
NuGet\Install-Package TastenTiger.Analyzers -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TastenTiger.Analyzers" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TastenTiger.Analyzers" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="TastenTiger.Analyzers" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TastenTiger.Analyzers --version 1.0.1
                    
#r "nuget: TastenTiger.Analyzers, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TastenTiger.Analyzers@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TastenTiger.Analyzers&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=TastenTiger.Analyzers&version=1.0.1
                    
Install as a Cake Tool

TastenTiger.Analyzers

A set of Roslyn analyzers. This is a convenient package for everybody who likes to manage analyzers trought .editorconfig rather than adding a package for every analyzer.

Get it on Codeberg

Included analyzers

Examples

TA0001

public async Task DoWorkAsync() // <-- violating TA0001 
{
}

public async Task DoWorkAsync(CancellationToken cancellationToken = default) // <-- complying TA0001
{
}

For more examples see TastenTiger.Analyzers.Async.EnforceCancellationToken.Sample.Examples.cs

TA0002

public class NotSealedClass // <-- triggers TA0002
{
}

public sealed class SealedClass // <-- compliant
{
}

For more examples, see:
TastenTiger.Analyzers.Class.SealedByDefault.Sample.Examples.cs

Usage

Either you add every analyzer that you need via a seperate package reference, or you add this meta-package and manage the rules trought an .editorconfig

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 0 2/10/2026
1.0.0 0 2/10/2026