30 references to BlockKeyword
Microsoft.CodeAnalysis.VisualBasic (4)
Generated\Syntax.xml.Main.Generated.vb (2)
2871
Dim newBlockKeyword = DirectCast(VisitToken(node.
BlockKeyword
).Node, InternalSyntax.KeywordSyntax)
2872
If node.
BlockKeyword
.Node IsNot newBlockKeyword Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (2)
13878
return Update(Me.Kind, exitKeyword, Me.
BlockKeyword
)
13936
If kind <> Me.Kind OrElse exitKeyword <> Me.ExitKeyword OrElse blockKeyword <> Me.
BlockKeyword
Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
IsStatementTerminatingTokenVisitor.vb (1)
58
Return TargetTokenMatches(node.
BlockKeyword
)
Microsoft.CodeAnalysis.VisualBasic.Features (6)
CodeFixes\IncorrectExitContinue\IncorrectExitContinueCodeFixProvider.vb (4)
144
If exitStatement.
BlockKeyword
.IsMissing Then
151
ElseIf Not blockKinds.Any(Function(bk) KeywordAndBlockKindMatch(bk, exitStatement.
BlockKeyword
.Kind)) Then
200
.WithLeadingTrivia(exitStatement.
BlockKeyword
.LeadingTrivia) _
201
.WithTrailingTrivia(exitStatement.
BlockKeyword
.TrailingTrivia)
ExtractMethod\VisualBasicSelectionValidator.vb (1)
604
Function(e As ExitStatementSyntax) e.
BlockKeyword
.Kind <> SyntaxKind.SubKeyword,
Highlighting\KeywordHighlightingHelpers.vb (1)
21
If .
BlockKeyword
.Kind = blockKind Then
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (18)
Generated\Syntax.Test.xml.Generated.vb (18)
19503
Assert.NotNull(objectUnderTest.
blockKeyword
)
19504
Dim withObj = objectUnderTest.WithExitKeyword(objectUnderTest.ExitKeyword).WithBlockKeyword(objectUnderTest.
BlockKeyword
)
19512
Assert.NotNull(objectUnderTest.
blockKeyword
)
19513
Dim withObj = objectUnderTest.WithExitKeyword(objectUnderTest.ExitKeyword).WithBlockKeyword(objectUnderTest.
BlockKeyword
)
19521
Assert.NotNull(objectUnderTest.
blockKeyword
)
19522
Dim withObj = objectUnderTest.WithExitKeyword(objectUnderTest.ExitKeyword).WithBlockKeyword(objectUnderTest.
BlockKeyword
)
19530
Assert.NotNull(objectUnderTest.
blockKeyword
)
19531
Dim withObj = objectUnderTest.WithExitKeyword(objectUnderTest.ExitKeyword).WithBlockKeyword(objectUnderTest.
BlockKeyword
)
19539
Assert.NotNull(objectUnderTest.
blockKeyword
)
19540
Dim withObj = objectUnderTest.WithExitKeyword(objectUnderTest.ExitKeyword).WithBlockKeyword(objectUnderTest.
BlockKeyword
)
19548
Assert.NotNull(objectUnderTest.
blockKeyword
)
19549
Dim withObj = objectUnderTest.WithExitKeyword(objectUnderTest.ExitKeyword).WithBlockKeyword(objectUnderTest.
BlockKeyword
)
19557
Assert.NotNull(objectUnderTest.
blockKeyword
)
19558
Dim withObj = objectUnderTest.WithExitKeyword(objectUnderTest.ExitKeyword).WithBlockKeyword(objectUnderTest.
BlockKeyword
)
19566
Assert.NotNull(objectUnderTest.
blockKeyword
)
19567
Dim withObj = objectUnderTest.WithExitKeyword(objectUnderTest.ExitKeyword).WithBlockKeyword(objectUnderTest.
BlockKeyword
)
19575
Assert.NotNull(objectUnderTest.
blockKeyword
)
19576
Dim withObj = objectUnderTest.WithExitKeyword(objectUnderTest.ExitKeyword).WithBlockKeyword(objectUnderTest.
BlockKeyword
)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
IsStatementTerminatingTokenVisitor.vb (1)
58
Return TargetTokenMatches(node.
BlockKeyword
)