Skip to main content

Roslynator.CSharp Namespace

Containing Namespace: Roslynator

Classes

ClassSummary
CSharpExtensionsA set of extension methods for a SemanticModel.
CSharpFactoryA factory for syntax nodes, tokens and trivia. This class is built on top of SyntaxFactory members.
CSharpFacts
MemberDeclarationListSelectionRepresents selected member declarations in a SyntaxList<TNode>.
ModifierListA set of static methods that allows manipulation with modifiers.
ModifierList<TNode>Represents a list of modifiers.
ModifiersServes as a factory for a modifier list.
StatementListSelectionRepresents selected statements in a SyntaxList<TNode>.
SymbolExtensionsA set of static methods for ISymbol and derived types.
SyntaxAccessibilityA set of static methods that are related to C# accessibility.
SyntaxExtensionsA set of extension methods for syntax (types derived from CSharpSyntaxNode).
SyntaxInfoServes as a factory for types in Roslynator.CSharp.Syntax namespace.
SyntaxInverter[deprecated] Provides static methods for syntax inversion.
SyntaxLogicalInverterProvides static methods for syntax inversion.
SyntaxLogicalInverterOptions
WorkspaceExtensionsA set of extension methods for the workspace layer.
WorkspaceSymbolExtensions
WorkspaceSyntaxExtensionsA set of extension methods for syntax. These methods are dependent on the workspace layer.

Structs

StructSummary
ExpressionChainEnables to enumerate expressions of a binary expression and expressions of nested binary expressions of the same kind as parent binary expression.
ExpressionChain.Enumerator
ExpressionChain.ReversedEnables to enumerate expressions of ExpressionChain in a reversed order.
ExpressionChain.Reversed.Enumerator
IfStatementCascadeEnables to enumerate if statement cascade.
IfStatementCascade.Enumerator
IfStatementCascadeInfoSummarizes information about IfStatementCascade.
IfStatementOrElseClauseA wrapper for either an IfStatementSyntax or an ElseClauseSyntax.

Enums

EnumSummary
CommentFilterSpecifies C# comments.
DefaultSyntaxOptionsDefines how a syntax representing a default value of a type should look like.
ModifierFilterSpecifies C# modifier.
NullCheckStylesSpecifies a null check.
PreprocessorDirectiveFilterSpecifies C# preprocessor directives.