SyntaxExtensions.ParenthesesSpan Method
Containing Type: SyntaxExtensions
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
ParenthesesSpan(CastExpressionSyntax) | The absolute span of the parentheses, not including its leading and trailing trivia. |
ParenthesesSpan(CommonForEachStatementSyntax) | The absolute span of the parentheses, not including its leading and trailing trivia. |
ParenthesesSpan(ForStatementSyntax) | Absolute span of the parentheses, not including the leading and trailing trivia. |
ParenthesesSpan(CastExpressionSyntax)
The absolute span of the parentheses, not including its leading and trailing trivia.
public static Microsoft.CodeAnalysis.Text.TextSpan ParenthesesSpan(this Microsoft.CodeAnalysis.CSharp.Syntax.CastExpressionSyntax castExpression)
Parameters
castExpression CastExpressionSyntax
Returns
ParenthesesSpan(CommonForEachStatementSyntax)
The absolute span of the parentheses, not including its leading and trailing trivia.
public static Microsoft.CodeAnalysis.Text.TextSpan ParenthesesSpan(this Microsoft.CodeAnalysis.CSharp.Syntax.CommonForEachStatementSyntax forEachStatement)
Parameters
forEachStatement CommonForEachStatementSyntax
Returns
ParenthesesSpan(ForStatementSyntax)
Absolute span of the parentheses, not including the leading and trailing trivia.
public static Microsoft.CodeAnalysis.Text.TextSpan ParenthesesSpan(this Microsoft.CodeAnalysis.CSharp.Syntax.ForStatementSyntax forStatement)
Parameters
forStatement ForStatementSyntax