27 references to UsingStatement
Microsoft.CodeAnalysis.VisualBasic (13)
Binding\Binder_Statements.vb (1)
4442Dim usingStatement = node.UsingStatement
Binding\UsingBlockBinder.vb (1)
43Dim variableDeclarators = _syntax.UsingStatement.Variables
Generated\Syntax.xml.Main.Generated.vb (2)
2747Dim newUsingStatement = DirectCast(Visit(node.UsingStatement), UsingStatementSyntax) 2748If node.UsingStatement IsNot newUsingStatement Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (4)
12915return Update(Me.UsingStatement, statements, Me.EndUsingStatement) 12937return Update(Me.UsingStatement, Me.Statements, endUsingStatement) 12956Return Me.UsingStatement 12989If usingStatement IsNot Me.UsingStatement OrElse statements <> Me.Statements OrElse endUsingStatement IsNot Me.EndUsingStatement Then
Lowering\Instrumentation\DebugInfoInjector.vb (1)
391Return New BoundSequencePoint(original.UsingInfo.UsingStatementSyntax.UsingStatement, MyBase.CreateUsingStatementPrologue(original))
Lowering\LocalRewriter\LocalRewriter_Using.vb (1)
132blockSyntax.UsingStatement)
Semantics\StatementSyntaxWalker.vb (1)
119Visit(node.UsingStatement)
Syntax\SyntaxFacts.vb (1)
411beginStatement = usingBlock.UsingStatement
Syntax\SyntaxNormalizer.vb (1)
1021AddLinebreaksAfterTokenIfNeeded(node.UsingStatement.GetLastToken(), 1)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\Rules\NodeBasedFormattingRule.vb (1)
384[using].UsingStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSemanticFactsService.vb (1)
135Dim usingStatement = If(TryCast(node, UsingBlockSyntax)?.UsingStatement, TryCast(node, UsingStatementSyntax))
Microsoft.CodeAnalysis.VisualBasic.Features (6)
CodeFixes\GenerateEndConstruct\GenerateEndConstructCodeFixProvider.vb (1)
130(Function(n As UsingBlockSyntax) n.UsingStatement),
EditAndContinue\SyntaxComparer.vb (3)
410Return If(TryCast(nodeOpt, UsingBlockSyntax)?.UsingStatement.Variables IsNot Nothing, Label.UsingBlockWithDeclarations, Label.UsingBlockWithExpression) 1001distance = ComputeWeightedDistance(leftUsing.UsingStatement.Expression, leftUsing.Statements, rightUsing.UsingStatement.Expression, rightUsing.Statements)
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (1)
154Return node.WithUsingStatement(ReplaceStatementIfNeeded(node.UsingStatement)).
Structure\Providers\UsingBlockStructureProvider.vb (1)
20node, node.UsingStatement, autoCollapse:=False,
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\BasicPreferHashDataOverComputeHash.Fixer.vb (1)
67newTrivia = AddRangeIfInteresting(newTrivia, usingBlock.UsingStatement.GetTrailingTrivia())
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
Rename\LocalConflictVisitor.vb (1)
177For Each usingVariableDeclarator In node.UsingStatement.Variables
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\Rules\NodeBasedFormattingRule.vb (1)
384[using].UsingStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSemanticFactsService.vb (1)
135Dim usingStatement = If(TryCast(node, UsingBlockSyntax)?.UsingStatement, TryCast(node, UsingStatementSyntax))
Roslyn.Diagnostics.VisualBasic.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\Rules\NodeBasedFormattingRule.vb (1)
384[using].UsingStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSemanticFactsService.vb (1)
135Dim usingStatement = If(TryCast(node, UsingBlockSyntax)?.UsingStatement, TryCast(node, UsingStatementSyntax))