Skip to main content

SyntaxInfo.StringLiteralExpressionInfo Method

Containing Type: SyntaxInfo

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
StringLiteralExpressionInfo(LiteralExpressionSyntax)Creates a new StringLiteralExpressionInfo from the specified literal expression.
StringLiteralExpressionInfo(SyntaxNode, Boolean)Creates a new StringLiteralExpressionInfo from the specified node.

StringLiteralExpressionInfo(LiteralExpressionSyntax)

Creates a new StringLiteralExpressionInfo from the specified literal expression.

public static Roslynator.CSharp.Syntax.StringLiteralExpressionInfo StringLiteralExpressionInfo(Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax literalExpression)

Parameters

literalExpression LiteralExpressionSyntax

Returns

StringLiteralExpressionInfo

StringLiteralExpressionInfo(SyntaxNode, Boolean)

Creates a new StringLiteralExpressionInfo from the specified node.

public static Roslynator.CSharp.Syntax.StringLiteralExpressionInfo StringLiteralExpressionInfo(Microsoft.CodeAnalysis.SyntaxNode node, bool walkDownParentheses = true)

Parameters

node SyntaxNode

walkDownParentheses Boolean

Returns

StringLiteralExpressionInfo