21 references to TargetTokenMatches
Microsoft.CodeAnalysis.VisualBasic.Workspaces (21)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\IsStatementTerminatingTokenVisitor.vb (21)
30
Return
TargetTokenMatches
(GetExpressionTerminatingToken(node.DelegateExpression))
34
Return
TargetTokenMatches
(GetExpressionTerminatingToken(node.Right))
38
Return
TargetTokenMatches
(GetExpressionTerminatingToken(node.Invocation))
42
Return
TargetTokenMatches
(GetExpressionTerminatingToken(node.Expression))
46
Return
TargetTokenMatches
(node.BlockKeyword)
50
Return
TargetTokenMatches
(GetExpressionTerminatingToken(node.Expressions.Last()))
54
Return
TargetTokenMatches
(GetExpressionTerminatingToken(node.ErrorNumber))
58
Return
TargetTokenMatches
(node.BlockKeyword)
62
Return
TargetTokenMatches
(node.Label.LabelToken)
69
Return
TargetTokenMatches
(GetExpressionTerminatingToken(lastDeclarator.Initializer.Value))
71
Return
TargetTokenMatches
(GetExpressionTerminatingToken(lastDeclarator.AsClause.Type))
73
Return
TargetTokenMatches
(lastDeclarator.Names.Last().Identifier)
80
Return
TargetTokenMatches
(argumentList.CloseParenToken)
82
Return
TargetTokenMatches
(node.Name.Identifier)
89
Return
TargetTokenMatches
(lastClause.ArrayBounds.CloseParenToken)
91
Return
TargetTokenMatches
(GetExpressionTerminatingToken(lastClause.Expression))
96
If node.Label IsNot Nothing AndAlso
TargetTokenMatches
(node.Label.LabelToken) Then
100
Return
TargetTokenMatches
(node.ResumeKeyword)
119
Return
TargetTokenMatches
(node.StopOrEndKeyword)
125
If
TargetTokenMatches
(GetExpressionTerminatingToken(node.Expression)) Then
131
Return
TargetTokenMatches
(node.ThrowKeyword)