Skip to main content

SyntaxInfo.StringConcatenationExpressionInfo Method

Containing Type: SyntaxInfo

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
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.

StringConcatenationExpressionInfo(BinaryExpressionSyntax, SemanticModel, CancellationToken)

Creates a new StringConcatenationExpressionInfo from the specified node.

public static Roslynator.CSharp.Syntax.StringConcatenationExpressionInfo StringConcatenationExpressionInfo(Microsoft.CodeAnalysis.CSharp.Syntax.BinaryExpressionSyntax binaryExpression, Microsoft.CodeAnalysis.SemanticModel semanticModel, System.Threading.CancellationToken cancellationToken = default)

Parameters

binaryExpression BinaryExpressionSyntax

semanticModel SemanticModel

cancellationToken CancellationToken

Returns

StringConcatenationExpressionInfo

StringConcatenationExpressionInfo(ExpressionChain, SemanticModel, CancellationToken)

Creates a new StringConcatenationExpressionInfo from the specified expression chain.

public static Roslynator.CSharp.Syntax.StringConcatenationExpressionInfo StringConcatenationExpressionInfo(in Roslynator.CSharp.ExpressionChain expressionChain, Microsoft.CodeAnalysis.SemanticModel semanticModel, System.Threading.CancellationToken cancellationToken = default)

Parameters

expressionChain ExpressionChain

semanticModel SemanticModel

cancellationToken CancellationToken

Returns

StringConcatenationExpressionInfo

StringConcatenationExpressionInfo(SyntaxNode, SemanticModel, Boolean, CancellationToken)

Creates a new StringConcatenationExpressionInfo from the specified node.

public static Roslynator.CSharp.Syntax.StringConcatenationExpressionInfo StringConcatenationExpressionInfo(Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel, bool walkDownParentheses = true, System.Threading.CancellationToken cancellationToken = default)

Parameters

node SyntaxNode

semanticModel SemanticModel

walkDownParentheses Boolean

cancellationToken CancellationToken

Returns

StringConcatenationExpressionInfo