Loic.JosefPihrt.Roslynator 1.0.0

dotnet add package Loic.JosefPihrt.Roslynator --version 1.0.0
                    
NuGet\Install-Package Loic.JosefPihrt.Roslynator -Version 1.0.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="Loic.JosefPihrt.Roslynator" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Loic.JosefPihrt.Roslynator" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Loic.JosefPihrt.Roslynator" />
                    
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 Loic.JosefPihrt.Roslynator --version 1.0.0
                    
#r "nuget: Loic.JosefPihrt.Roslynator, 1.0.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 Loic.JosefPihrt.Roslynator@1.0.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=Loic.JosefPihrt.Roslynator&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Loic.JosefPihrt.Roslynator&version=1.0.0
                    
Install as a Cake Tool

Roslynator <img align="left" width="48px" height="48px" src="http://pihrt.net/images/Roslynator.ico">

A collection of 500+ analyzers, refactorings and fixes for C#, powered by Roslyn.

PROMO: Try Orang, cross-platform command-line tool from the author of Roslynator. Orang can search, replace, rename and delete directories, files and its content using the power of .NET regular expressions.

Features

New Features

Donation

  • Although Roslynator products are free of charge, any donation is welcome and supports further development.
  • List of donations

Extensions for Visual Studio

Extension Comment
Roslynator 2022 (Preview) contains analyzers, refactorings and fixes for CS diagnostics.
Roslynator 2019 contains analyzers, refactorings and fixes for CS diagnostics.

Extensions for Visual Studio Code

Extension Comment
Roslynator contains analyzers, refactorings and fixes for CS diagnostics.

NuGet Analyzers

Package Version Comment
Roslynator.Analyzers NuGet common analyzers (RCS1xxx) (list)
Roslynator.CodeAnalysis.Analyzers NuGet analyzers for Roslyn API (RCS9xxx) (list)
Roslynator.Formatting.Analyzers NuGet formatting analyzers (RCS0xxx) (list)

Note: All analyzers in package Roslynator.Formatting.Analyzers are disabled by default.

Roslynator API

  • Roslynator API is meant be used for development of your own analyzers/refactorings.
  • It does not contain any analyzers/refactorings itself.
  • See API Reference.
Package Version Built on top of
Roslynator.Core NuGet Microsoft.CodeAnalysis.Common
Roslynator.Workspaces.Core NuGet Microsoft.CodeAnalysis.Workspaces.Common
Roslynator.CSharp NuGet Microsoft.CodeAnalysis.CSharp
Roslynator.CSharp.Workspaces NuGet Microsoft.CodeAnalysis.CSharp.Workspaces

Roslynator Command-Line Interface

Roslynator Testing Framework

  • Roslynator Testing Framework can be used for unit testing of analyzers, refactorings and code fixes.
  • Framework is distributed as NuGet package.  NuGet
  • Learn how to use the framework from actual usages in Roslynator repo:
    • Tests of analyzers are here, here and here
    • Tests of refactorings are here
    • Tests of fixes of compiler diagnostics are here

Documentation

Would you like to improve Roslynator documentation? Please see how to update documentation.

Other Projects

  • Snippetica - A collection of snippets for C++, C#, HTML, JSON, Markdown, VB, XAML and XML
  • DotMarkdown - Markdown framework for .NET
  • LINQ to Regex - A library that provides language integrated access to .NET regular expressions
  • Snippet Manager - A library that enables to work with Visual Studio snippets
  • Regexator - A comprehensive development environment for .NET regular expressions
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • 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
1.0.0 0 7/31/2021