10 references to CatchKeyword
Microsoft.CodeAnalysis.VisualBasic (6)
Generated\Syntax.xml.Main.Generated.vb (2)
3097Dim newCatchKeyword = DirectCast(VisitToken(node.CatchKeyword).Node, InternalSyntax.KeywordSyntax) 3098If node.CatchKeyword.Node IsNot newCatchKeyword Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (4)
15819return Update(Me.CatchKeyword, identifierName, Me.AsClause, Me.WhenClause) 15840return Update(Me.CatchKeyword, Me.IdentifierName, asClause, Me.WhenClause) 15861return Update(Me.CatchKeyword, Me.IdentifierName, Me.AsClause, whenClause) 15916If catchKeyword <> Me.CatchKeyword OrElse identifierName IsNot Me.IdentifierName OrElse asClause IsNot Me.AsClause OrElse whenClause IsNot Me.WhenClause Then
Microsoft.CodeAnalysis.VisualBasic.Features (2)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1647Return DirectCast(node, CatchBlockSyntax).CatchStatement.CatchKeyword.Span
Highlighting\KeywordHighlighters\TryBlockHighlighter.vb (1)
39highlights.Add(.CatchKeyword.Span)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.vb (2)
19712Assert.NotNull(objectUnderTest.catchKeyword) 19713Dim withObj = objectUnderTest.WithCatchKeyword(objectUnderTest.CatchKeyword).WithIdentifierName(objectUnderTest.IdentifierName).WithAsClause(objectUnderTest.AsClause).WithWhenClause(objectUnderTest.WhenClause)