DarkPatterns.Refactoring.Analyzers 0.1.0

dotnet add package DarkPatterns.Refactoring.Analyzers --version 0.1.0
                    
NuGet\Install-Package DarkPatterns.Refactoring.Analyzers -Version 0.1.0
                    
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="DarkPatterns.Refactoring.Analyzers" Version="0.1.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DarkPatterns.Refactoring.Analyzers" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="DarkPatterns.Refactoring.Analyzers">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
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 DarkPatterns.Refactoring.Analyzers --version 0.1.0
                    
#r "nuget: DarkPatterns.Refactoring.Analyzers, 0.1.0"
                    
#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 DarkPatterns.Refactoring.Analyzers@0.1.0
                    
#: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=DarkPatterns.Refactoring.Analyzers&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=DarkPatterns.Refactoring.Analyzers&version=0.1.0
                    
Install as a Cake Tool

DarkPattern.Refactoring.Analyzers

A collection of C# libraries to assist with maintenance of complicated and evolving codebases.

  1. Add both DarkPatterns.Refactoring.Annotations and DarkPatterns.Refactoring.Analyzers packages to your project.

  2. Track classes, methods, etc. that are planned for removal by adding [PlannedRemoval("TICKET", "Explanation")] as needed. TICKET may be anything that does not include a space; Explanation should be a human-readable description about a recommended alternative.

  3. Warnings will be added for any usage of items planned for removal; if part of a public symbol, those also must be marked PlannedRemoval with their own explanation. If the usage is kept internal, PlannedRefactor can be added instead, which does not propagate to other uses.

  4. Add a list of tickets to a PlannedRefactoring.txt in the root of the project. The format of this file is one line per ticket, optionally with a space followed by an explanation.

    GH-1 Title of ticket
    GH-2
    GH-3 Another title
    
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 140 3/5/2026

Analyzers for DarkPatterns.Refactoring.Annotations.