17 references to FirstCommaToken
Microsoft.CodeAnalysis.VisualBasic (10)
Generated\Syntax.xml.Main.Generated.vb (2)
4200
Dim newFirstCommaToken = DirectCast(VisitToken(node.
FirstCommaToken
).Node, InternalSyntax.PunctuationSyntax)
4201
If node.
FirstCommaToken
.Node IsNot newFirstCommaToken Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (8)
25668
return Update(ifKeyword, Me.OpenParenToken, Me.Condition, Me.
FirstCommaToken
, Me.WhenTrue, Me.SecondCommaToken, Me.WhenFalse, Me.CloseParenToken)
25686
return Update(Me.IfKeyword, openParenToken, Me.Condition, Me.
FirstCommaToken
, Me.WhenTrue, Me.SecondCommaToken, Me.WhenFalse, Me.CloseParenToken)
25704
return Update(Me.IfKeyword, Me.OpenParenToken, condition, Me.
FirstCommaToken
, Me.WhenTrue, Me.SecondCommaToken, Me.WhenFalse, Me.CloseParenToken)
25740
return Update(Me.IfKeyword, Me.OpenParenToken, Me.Condition, Me.
FirstCommaToken
, whenTrue, Me.SecondCommaToken, Me.WhenFalse, Me.CloseParenToken)
25758
return Update(Me.IfKeyword, Me.OpenParenToken, Me.Condition, Me.
FirstCommaToken
, Me.WhenTrue, secondCommaToken, Me.WhenFalse, Me.CloseParenToken)
25776
return Update(Me.IfKeyword, Me.OpenParenToken, Me.Condition, Me.
FirstCommaToken
, Me.WhenTrue, Me.SecondCommaToken, whenFalse, Me.CloseParenToken)
25794
return Update(Me.IfKeyword, Me.OpenParenToken, Me.Condition, Me.
FirstCommaToken
, Me.WhenTrue, Me.SecondCommaToken, Me.WhenFalse, closeParenToken)
25861
If ifKeyword <> Me.IfKeyword OrElse openParenToken <> Me.OpenParenToken OrElse condition IsNot Me.Condition OrElse firstCommaToken <> Me.
FirstCommaToken
OrElse whenTrue IsNot Me.WhenTrue OrElse secondCommaToken <> Me.SecondCommaToken OrElse whenFalse IsNot Me.WhenFalse OrElse closeParenToken <> Me.CloseParenToken Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
SyntaxTreeExtensions.vb (1)
425
targetToken.IsChildToken(Of TernaryConditionalExpressionSyntax)(Function(ternaryConditional) ternaryConditional.
FirstCommaToken
) OrElse
VisualBasicTypeInferenceService.TypeInferrer.vb (1)
816
ElseIf previousToken = conditional.
FirstCommaToken
Then
Microsoft.CodeAnalysis.VisualBasic.Features (1)
InvertConditional\VisualBasicInvertConditionalCodeRefactoringProvider.vb (1)
25
Return Not conditional.
FirstCommaToken
.IsMissing AndAlso
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.vb (2)
20961
Assert.NotNull(objectUnderTest.
firstCommaToken
)
20966
Dim withObj = objectUnderTest.WithIfKeyword(objectUnderTest.IfKeyword).WithOpenParenToken(objectUnderTest.OpenParenToken).WithCondition(objectUnderTest.Condition).WithFirstCommaToken(objectUnderTest.
FirstCommaToken
).WithWhenTrue(objectUnderTest.WhenTrue).WithSecondCommaToken(objectUnderTest.SecondCommaToken).WithWhenFalse(objectUnderTest.WhenFalse).WithCloseParenToken(objectUnderTest.CloseParenToken)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (1)
425
targetToken.IsChildToken(Of TernaryConditionalExpressionSyntax)(Function(ternaryConditional) ternaryConditional.
FirstCommaToken
) OrElse
VisualBasicTypeInferenceService.TypeInferrer.vb (1)
816
ElseIf previousToken = conditional.
FirstCommaToken
Then