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