19 references to SyncLockStatement
Microsoft.CodeAnalysis.VisualBasic (11)
Binding\Binder_Statements.vb (1)
4727Dim lockExpression As BoundExpression = BindRValue(node.SyncLockStatement.Expression, diagnostics)
Generated\Syntax.xml.Main.Generated.vb (2)
2764Dim newSyncLockStatement = DirectCast(Visit(node.SyncLockStatement), SyncLockStatementSyntax) 2765If node.SyncLockStatement IsNot newSyncLockStatement Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (4)
13067return Update(Me.SyncLockStatement, statements, Me.EndSyncLockStatement) 13089return Update(Me.SyncLockStatement, Me.Statements, endSyncLockStatement) 13108Return Me.SyncLockStatement 13141If syncLockStatement IsNot Me.SyncLockStatement OrElse statements <> Me.Statements OrElse endSyncLockStatement IsNot Me.EndSyncLockStatement Then
Lowering\LocalRewriter\LocalRewriter_SyncLock.vb (1)
50Dim tempLockObjectLocal As LocalSymbol = New SynthesizedLocal(Me._currentMethodOrLambda, objectType, SynthesizedLocalKind.Lock, syntaxNode.SyncLockStatement)
Semantics\StatementSyntaxWalker.vb (1)
125Visit(node.SyncLockStatement)
Syntax\SyntaxFacts.vb (1)
418beginStatement = syncBlock.SyncLockStatement
Syntax\SyntaxNormalizer.vb (1)
915AddLinebreaksAfterTokenIfNeeded(node.SyncLockStatement.GetLastToken(), 1)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\Rules\NodeBasedFormattingRule.vb (1)
391[sync].SyncLockStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
Microsoft.CodeAnalysis.VisualBasic.Features (5)
CodeFixes\GenerateEndConstruct\GenerateEndConstructCodeFixProvider.vb (1)
139(Function(n As SyncLockBlockSyntax) n.SyncLockStatement),
EditAndContinue\SyntaxComparer.vb (2)
1013distance = ComputeWeightedDistance(leftLock.SyncLockStatement.Expression, leftLock.Statements, rightLock.SyncLockStatement.Expression, rightLock.Statements)
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (1)
163Return node.WithSyncLockStatement(ReplaceStatementIfNeeded(node.SyncLockStatement)).
Structure\Providers\SyncLockBlockStructureProvider.vb (1)
20node, node.SyncLockStatement, autoCollapse:=False,
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\Rules\NodeBasedFormattingRule.vb (1)
391[sync].SyncLockStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
Roslyn.Diagnostics.VisualBasic.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\Rules\NodeBasedFormattingRule.vb (1)
391[sync].SyncLockStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),