21 references to EndSyncLockStatement
Microsoft.CodeAnalysis.VisualBasic (12)
Generated\Syntax.xml.Main.Generated.vb (2)
2768Dim newEndSyncLockStatement = DirectCast(Visit(node.EndSyncLockStatement), EndBlockStatementSyntax) 2769If node.EndSyncLockStatement IsNot newEndSyncLockStatement Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (4)
13044return Update(syncLockStatement, Me.Statements, Me.EndSyncLockStatement) 13067return Update(Me.SyncLockStatement, statements, Me.EndSyncLockStatement) 13112Return Me.EndSyncLockStatement 13141If syncLockStatement IsNot Me.SyncLockStatement OrElse statements <> Me.Statements OrElse endSyncLockStatement IsNot Me.EndSyncLockStatement Then
Lowering\Instrumentation\DebugInfoInjector.vb (2)
169Return New BoundSequencePoint(DirectCast(original.Syntax, SyncLockBlockSyntax).EndSyncLockStatement, MyBase.CreateSyncLockExitDueToExceptionEpilogue(original)) 175Return New BoundSequencePoint(DirectCast(original.Syntax, SyncLockBlockSyntax).EndSyncLockStatement, MyBase.CreateSyncLockExitNormallyEpilogue(original))
Semantics\StatementSyntaxWalker.vb (1)
127Visit(node.EndSyncLockStatement)
Syntax\SyntaxFacts.vb (1)
420endStatement = syncBlock.EndSyncLockStatement
Syntax\SyntaxNormalizer.vb (2)
920AddLinebreaksAfterTokenIfNeeded(node.EndSyncLockStatement.GetLastToken(), 1) 922AddLinebreaksAfterTokenIfNeeded(node.EndSyncLockStatement.GetLastToken(), 2)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
NodeBasedFormattingRule.vb (1)
392[sync].EndSyncLockStatement.GetFirstToken(includeZeroWidth:=True).GetPreviousToken(includeZeroWidth:=True))
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (2)
EndConstructGeneration\EndConstructStatementVisitor.vb (1)
177Dim needsEnd = node.GetAncestorsOrThis(Of SyncLockBlockSyntax)().Any(Function(block) block.EndSyncLockStatement.IsMissing)
LineCommit\ContainingStatementInfo.MatchingStatementsVisitor.vb (1)
89Return New StatementSyntax() {node.SyncLockStatement, node.EndSyncLockStatement}
Microsoft.CodeAnalysis.VisualBasic.Features (3)
CodeFixes\GenerateEndConstruct\GenerateEndConstructCodeFixProvider.vb (1)
159(Function(n As SyncLockBlockSyntax) n.EndSyncLockStatement),
Completion\KeywordRecommenders\Declarations\EndBlockKeywordRecommender.vb (1)
199If node.EndSyncLockStatement.IsMissing Then
Highlighting\KeywordHighlighters\SyncLockBlockHighlighter.vb (1)
30highlights.Add(.EndSyncLockStatement.Span)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.vb (2)
19418Assert.NotNull(objectUnderTest.endSyncLockStatement) 19419Dim withObj = objectUnderTest.WithSyncLockStatement(objectUnderTest.SyncLockStatement).WithStatements(objectUnderTest.Statements).WithEndSyncLockStatement(objectUnderTest.EndSyncLockStatement)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Formatting\Rules\NodeBasedFormattingRule.vb (1)
392[sync].EndSyncLockStatement.GetFirstToken(includeZeroWidth:=True).GetPreviousToken(includeZeroWidth:=True))