30 references to FormattingHelpers
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (30)
src\Workspaces\VisualBasic\Portable\Formatting\Rules\AdjustSpaceFormattingRule.vb (30)
29
FormattingHelpers
.IsLessThanInAttribute(currentToken) Then
34
If
FormattingHelpers
.IsLessThanInAttribute(previousToken) OrElse
35
FormattingHelpers
.IsGreaterThanInAttribute(currentToken) Then
40
If
FormattingHelpers
.IsGreaterThanInAttribute(previousToken) OrElse
41
FormattingHelpers
.IsLessThanInAttribute(currentToken) Then
46
If previousToken.Kind = SyntaxKind.LessThanQuestionToken AndAlso
FormattingHelpers
.IsXmlTokenInXmlDeclaration(previousToken) Then
51
If currentToken.Kind = SyntaxKind.QuestionGreaterThanToken AndAlso
FormattingHelpers
.IsXmlTokenInXmlDeclaration(currentToken) Then
56
If (previousToken.Kind <> SyntaxKind.LessThanPercentEqualsToken AndAlso
FormattingHelpers
.IsXmlToken(currentToken)) AndAlso
57
(
FormattingHelpers
.IsXmlToken(previousToken) AndAlso currentToken.Kind <> SyntaxKind.PercentGreaterThanToken) Then
60
If
FormattingHelpers
.IsXmlToken(previousToken) AndAlso
FormattingHelpers
.IsXmlToken(currentToken) Then
71
If
FormattingHelpers
.IsXmlToken(previousToken) AndAlso currentToken.Kind = SyntaxKind.XmlNameToken Then
86
If previousToken.Kind = SyntaxKind.XmlNameToken AndAlso
FormattingHelpers
.IsXmlToken(currentToken) Then
105
If previousToken.Kind = SyntaxKind.EqualsToken AndAlso
FormattingHelpers
.IsQuoteInXmlString(currentToken) Then
110
If (
FormattingHelpers
.IsQuoteInXmlString(previousToken) AndAlso
111
FormattingHelpers
.IsContentInXmlString(currentToken)) OrElse
112
(
FormattingHelpers
.IsQuoteInXmlString(currentToken) AndAlso
113
(
FormattingHelpers
.IsContentInXmlString(previousToken) OrElse
114
FormattingHelpers
.IsQuoteInXmlString(previousToken))) Then
158
If
FormattingHelpers
.IsParenInArgumentList(currentToken) Then
163
If
FormattingHelpers
.IsParenInBinaryCondition(currentToken) Then
168
If
FormattingHelpers
.IsParenInTernaryCondition(currentToken) Then
178
If currentToken.Kind = SyntaxKind.OpenParenToken AndAlso
FormattingHelpers
.IsOverloadableOperator(previousToken) Then
189
If previousToken.Kind = SyntaxKind.CommaToken AndAlso
FormattingHelpers
.IsNamedFieldInitializerDot(currentToken) Then
207
If previousToken.Kind <> SyntaxKind.OpenParenToken AndAlso
FormattingHelpers
.IsMemberAccessDotWithoutExpression(currentToken) Then
218
If previousToken.Kind <> SyntaxKind.OpenParenToken AndAlso
FormattingHelpers
.IsDictionaryAccessExclamationWithoutExpression(currentToken) Then
287
If
FormattingHelpers
.IsQuestionInNullableType(currentToken) Then
313
FormattingHelpers
.IsXmlToken(previousToken) Then
324
FormattingHelpers
.IsXmlToken(currentToken)) Then
336
If
FormattingHelpers
.IsColonAfterAttributeTarget(previousToken, currentToken) Then