Roslynator Documentation

website·Indexed 30 days ago

https://josefpihrt.github.io/

API reference and refactoring guides for Roslynator, including detailed documentation for the Roslynator namespace, NameGenerator, SyntaxExtensions, and a comprehensive list of refactorings such as RR0173, RR0191, and RR0215.

Tokens
426.1K
Snippets
3.5K
Records
4.4K
Agent score
74%

What's inside Roslynator

  1. Overview of Roslynator SymbolExtensions

    The SymbolExtensions class, located in the Roslynator namespace within the Roslynator.Core.dll assembly, provides a set of utility extension methods for ISymbol and its derived types. These methods are designed to facilitate symbol analysis when working with the .NET Compiler Platform (Roslyn).
    public static class SymbolExtensions
  2. Overview of Snippetica

    Snippetica is a collection of code snippets supporting multiple languages, including C++, C#, HTML, and VB.
  3. Overview of Roslynator.CSharp.WorkspaceExtensions

    The WorkspaceExtensions class provides a set of static extension methods for the workspace layer in Roslynator. It is located in the Roslynator.CSharp namespace and is contained within the Roslynator.CSharp.Workspaces.dll assembly. These methods are primarily used to create new versions of a Document by removing or replacing specific syntax elements.
    using Roslynator.CSharp;
    // Use WorkspaceExtensions methods on Document objects
  4. Overview of Roslynator SyntaxExtensions

    The SyntaxExtensions class is a static utility class located in the Roslynator namespace within the Roslynator.Core.dll assembly. It provides a set of extension methods designed to simplify syntax manipulation, specifically assisting with operations involving syntax nodes and trivia.
    public static class SyntaxExtensions
  5. Overview of Orang CLI commands

    The Orang CLI provides a suite of commands for file system manipulation, content searching, and regular expression processing. Key capabilities include:

    • File Management: copy, delete, move, rename, and sync (synchronize two directories).
    • Search & Analysis: find (files and content), replace (content replacement), and spellcheck (detect typos).
    • Regex Toolkit: regex create, regex escape, regex list, regex match, and regex split for pattern-based string manipulation.
  6. Overview of Roslynator

    Roslynator is a set of code analysis tools for C# that are powered by the Roslyn compiler platform.
  7. Overview of the CSharpFacts utility class

    The CSharpFacts class is a public static utility class located in the Roslynator.CSharp namespace (Assembly: Roslynator.CSharp.dll). It provides a set of helper methods used to identify and analyze specific C# syntax patterns within the Roslyn compiler framework.
    using Roslynator.CSharp;
    
    // Use CSharpFacts to identify C# syntax patterns
  8. Overview of Roslynator.CSharp SyntaxExtensions

    The SyntaxExtensions class provides a set of utility extension methods for any C# syntax node (types derived from Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode). These methods are located in the Roslynator.CSharp namespace within the Roslynator.CSharp.dll assembly and are designed to simplify the manipulation and analysis of C# syntax trees.
    using Roslynator.CSharp;
    // Extension methods are available on CSharpSyntaxNode and its derivatives