Skip to main content

SyntaxInfo Class

Namespace: Roslynator.CSharp

Assembly: Roslynator.CSharp.dll

Serves as a factory for types in Roslynator.CSharp.Syntax namespace.

public static class SyntaxInfo

Methods

MethodSummary
AsExpressionInfo(BinaryExpressionSyntax, Boolean, Boolean)Creates a new AsExpressionInfo from the specified binary expression.
AsExpressionInfo(SyntaxNode, Boolean, Boolean)Creates a new AsExpressionInfo from the specified node.
AssignmentExpressionInfo(AssignmentExpressionSyntax, Boolean, Boolean)Creates a new AssignmentExpressionInfo from the specified assignment expression.
AssignmentExpressionInfo(SyntaxNode, Boolean, Boolean)Creates a new AssignmentExpressionInfo from the specified node.
BinaryExpressionInfo(BinaryExpressionSyntax, Boolean, Boolean)Creates a new BinaryExpressionInfo from the specified binary expression.
BinaryExpressionInfo(SyntaxNode, Boolean, Boolean)Creates a new BinaryExpressionInfo from the specified node.
ConditionalExpressionInfo(ConditionalExpressionSyntax, Boolean, Boolean)Creates a new ConditionalExpressionInfo from the specified conditional expression.
ConditionalExpressionInfo(SyntaxNode, Boolean, Boolean)Creates a new ConditionalExpressionInfo from the specified node.
GenericInfo(DelegateDeclarationSyntax)Creates a new GenericInfo from the specified delegate declaration.
GenericInfo(LocalFunctionStatementSyntax)Creates a new GenericInfo from the specified local function.
GenericInfo(MethodDeclarationSyntax)Creates a new GenericInfo from the specified method declaration.
GenericInfo(SyntaxNode)Creates a new GenericInfo from the specified node.
GenericInfo(TypeDeclarationSyntax)Creates a new GenericInfo from the specified type declaration.
GenericInfo(TypeParameterConstraintClauseSyntax)Creates a new GenericInfo from the specified constraint clause.
GenericInfo(TypeParameterConstraintSyntax)Creates a new GenericInfo from the specified type parameter constraint.
GenericInfo(TypeParameterListSyntax)Creates a new GenericInfo from the specified type parameter list.
GenericInfo(TypeParameterSyntax)Creates a new GenericInfo from the specified type parameter.
IsExpressionInfo(BinaryExpressionSyntax, Boolean, Boolean)Creates a new IsExpressionInfo from the specified binary expression.
IsExpressionInfo(SyntaxNode, Boolean, Boolean)Creates a new IsExpressionInfo from the specified node.
LocalDeclarationStatementInfo(ExpressionSyntax, Boolean)Creates a new LocalDeclarationStatementInfo from the specified expression.
LocalDeclarationStatementInfo(LocalDeclarationStatementSyntax, Boolean)Creates a new LocalDeclarationStatementInfo from the specified local declaration statement.
MemberDeclarationListInfo(BaseNamespaceDeclarationSyntax)Creates a new MemberDeclarationListInfo from the specified declaration.
MemberDeclarationListInfo(ClassDeclarationSyntax)Creates a new MemberDeclarationListInfo from the specified declaration.
MemberDeclarationListInfo(CompilationUnitSyntax)Creates a new MemberDeclarationListInfo from the specified compilation unit.
MemberDeclarationListInfo(InterfaceDeclarationSyntax)Creates a new MemberDeclarationListInfo from the specified declaration.
MemberDeclarationListInfo(NamespaceDeclarationSyntax)Creates a new MemberDeclarationListInfo from the specified declaration.
MemberDeclarationListInfo(StructDeclarationSyntax)Creates a new MemberDeclarationListInfo from the specified declaration.
MemberDeclarationListInfo(SyntaxNode)Creates a new MemberDeclarationListInfo from the specified node.
MemberDeclarationListInfo(TypeDeclarationSyntax)Creates a new MemberDeclarationListInfo from the specified declaration.
ModifierListInfo(AccessorDeclarationSyntax)Creates a new ModifierListInfo from the specified accessor declaration.
ModifierListInfo(ClassDeclarationSyntax)Creates a new ModifierListInfo from the specified class declaration.
ModifierListInfo(ConstructorDeclarationSyntax)Creates a new ModifierListInfo from the specified constructor declaration.
ModifierListInfo(ConversionOperatorDeclarationSyntax)Creates a new ModifierListInfo from the specified conversion operator declaration.
ModifierListInfo(DelegateDeclarationSyntax)Creates a new ModifierListInfo from the specified delegate declaration.
ModifierListInfo(DestructorDeclarationSyntax)Creates a new ModifierListInfo from the specified destructor declaration.
ModifierListInfo(EnumDeclarationSyntax)Creates a new ModifierListInfo from the specified enum declaration.
ModifierListInfo(EventDeclarationSyntax)Creates a new ModifierListInfo from the specified event declaration.
ModifierListInfo(EventFieldDeclarationSyntax)Creates a new ModifierListInfo from the specified event field declaration.
ModifierListInfo(FieldDeclarationSyntax)Creates a new ModifierListInfo from the specified field declaration.
ModifierListInfo(IncompleteMemberSyntax)Creates a new ModifierListInfo from the specified incomplete member.
ModifierListInfo(IndexerDeclarationSyntax)Creates a new ModifierListInfo from the specified indexer declaration.
ModifierListInfo(InterfaceDeclarationSyntax)Creates a new ModifierListInfo from the specified interface declaration.
ModifierListInfo(LocalDeclarationStatementSyntax)Creates a new ModifierListInfo from the specified local declaration statement.
ModifierListInfo(LocalFunctionStatementSyntax)Creates a new ModifierListInfo from the specified local function.
ModifierListInfo(MethodDeclarationSyntax)Creates a new ModifierListInfo from the specified method declaration.
ModifierListInfo(OperatorDeclarationSyntax)Creates a new ModifierListInfo from the specified operator declaration.
ModifierListInfo(ParameterSyntax)Creates a new ModifierListInfo from the specified parameter.
ModifierListInfo(PropertyDeclarationSyntax)Creates a new ModifierListInfo from the specified property declaration.
ModifierListInfo(StructDeclarationSyntax)Creates a new ModifierListInfo from the specified struct declaration.
ModifierListInfo(SyntaxNode)Creates a new ModifierListInfo from the specified node.
NullCheckExpressionInfo(SyntaxNode, NullCheckStyles, Boolean, Boolean)Creates a new NullCheckExpressionInfo from the specified node.
NullCheckExpressionInfo(SyntaxNode, SemanticModel, NullCheckStyles, Boolean, Boolean, CancellationToken)Creates a new NullCheckExpressionInfo from the specified node.
RegionInfo(EndRegionDirectiveTriviaSyntax)Creates a new RegionInfo from the specified endregion directive.
RegionInfo(RegionDirectiveTriviaSyntax)Creates a new RegionInfo from the specified region directive.
SimpleAssignmentExpressionInfo(AssignmentExpressionSyntax, Boolean, Boolean)Creates a new SimpleAssignmentExpressionInfo from the specified assignment expression.
SimpleAssignmentExpressionInfo(SyntaxNode, Boolean, Boolean)Creates a new SimpleAssignmentExpressionInfo from the specified node.
SimpleAssignmentStatementInfo(AssignmentExpressionSyntax, Boolean, Boolean)Creates a new SimpleAssignmentStatementInfo from the specified assignment expression.
SimpleAssignmentStatementInfo(ExpressionStatementSyntax, Boolean, Boolean)Creates a new SimpleAssignmentStatementInfo from the specified expression statement.
SimpleAssignmentStatementInfo(StatementSyntax, Boolean, Boolean)Creates a new SimpleAssignmentStatementInfo from the specified statement.
SimpleIfStatementInfo(IfStatementSyntax, Boolean, Boolean)Creates a new SimpleIfStatementInfo from the specified if statement.
SimpleIfStatementInfo(SyntaxNode, Boolean, Boolean)Creates a new SimpleIfStatementInfo from the specified node.
SimpleMemberInvocationExpressionInfo(InvocationExpressionSyntax, Boolean)Creates a new SimpleMemberInvocationExpressionInfo from the specified invocation expression.
SimpleMemberInvocationExpressionInfo(SyntaxNode, Boolean, Boolean)Creates a new SimpleMemberInvocationExpressionInfo from the specified node.
SimpleMemberInvocationStatementInfo(ExpressionStatementSyntax, Boolean)Creates a new SimpleMemberInvocationStatementInfo from the specified expression statement.
SimpleMemberInvocationStatementInfo(InvocationExpressionSyntax, Boolean)Creates a new SimpleMemberInvocationStatementInfo from the specified invocation expression.
SimpleMemberInvocationStatementInfo(SyntaxNode, Boolean)Creates a new SimpleMemberInvocationStatementInfo from the specified node.
SingleLocalDeclarationStatementInfo(ExpressionSyntax)Creates a new SingleLocalDeclarationStatementInfo from the specified value.
SingleLocalDeclarationStatementInfo(LocalDeclarationStatementSyntax, Boolean)Creates a new SingleLocalDeclarationStatementInfo from the specified local declaration statement.
SingleLocalDeclarationStatementInfo(StatementSyntax, Boolean)Creates a new SingleLocalDeclarationStatementInfo from the specified statement.
SingleLocalDeclarationStatementInfo(VariableDeclarationSyntax, Boolean)Creates a new SingleLocalDeclarationStatementInfo from the specified variable declaration.
SingleParameterLambdaExpressionInfo(LambdaExpressionSyntax, Boolean)Creates a new SingleParameterLambdaExpressionInfo from the specified lambda expression.
SingleParameterLambdaExpressionInfo(SyntaxNode, Boolean, Boolean)Creates a new SingleParameterLambdaExpressionInfo from the specified node.
StatementListInfo(StatementSyntax)Creates a new StatementListInfo from the specified statement.
StringConcatenationExpressionInfo(BinaryExpressionSyntax, SemanticModel, CancellationToken)Creates a new StringConcatenationExpressionInfo from the specified node.
StringConcatenationExpressionInfo(ExpressionChain, SemanticModel, CancellationToken)Creates a new StringConcatenationExpressionInfo from the specified expression chain.
StringConcatenationExpressionInfo(SyntaxNode, SemanticModel, Boolean, CancellationToken)Creates a new StringConcatenationExpressionInfo from the specified node.
StringLiteralExpressionInfo(LiteralExpressionSyntax)Creates a new StringLiteralExpressionInfo from the specified literal expression.
StringLiteralExpressionInfo(SyntaxNode, Boolean)Creates a new StringLiteralExpressionInfo from the specified node.
UsingDirectiveListInfo(CompilationUnitSyntax)Creates a new UsingDirectiveListInfo from the specified compilation unit.
UsingDirectiveListInfo(FileScopedNamespaceDeclarationSyntax)Creates a new UsingDirectiveListInfo from the specified declaration.
UsingDirectiveListInfo(NamespaceDeclarationSyntax)Creates a new UsingDirectiveListInfo from the specified declaration.
UsingDirectiveListInfo(SyntaxNode)Creates a new UsingDirectiveListInfo from the specified node.
XmlElementInfo(XmlNodeSyntax)Creates a new XmlElementInfo from the specified xml node.