19 references to Statements
Microsoft.CodeAnalysis.VisualBasic (8)
Binding\Binder_Statements.vb (1)
2767alternative = BindBlock(node.ElseClause, node.ElseClause.Statements, diagnostics)
Binding\LocalBinderBuilder.vb (1)
237CreateBinderFromStatementList(node.Statements, _containingBinder)
Generated\Syntax.xml.Main.Generated.vb (1)
2937Dim newStatements = VisitList(node.Statements)
Generated\Syntax.xml.Syntax.Generated.vb (3)
14416return Update(elseKeyword, Me.Statements) 14443Return Me.WithStatements(Me.Statements.AddRange(items)) 14484If elseKeyword <> Me.ElseKeyword OrElse statements <> Me.Statements Then
Semantics\StatementSyntaxWalker.vb (1)
142VisitList(node.Statements)
Syntax\SyntaxFacts.vb (1)
456body = elseClause.Statements
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
150Return singleLineElseClause.Statements 680elseStatements = If(singleLineIf.ElseClause Is Nothing, Nothing, singleLineIf.ElseClause.Statements)
Microsoft.CodeAnalysis.VisualBasic.Features (3)
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (1)
194Return SyntaxFactory.SingleLineElseClause(node.ElseKeyword, VisitList(ReplaceStatementsIfNeeded(node.Statements, colon:=True)))
InvertIf\VisualBasicInvertIfCodeRefactoringProvider.SingleLine.vb (2)
28Not If(ifNode.ElseClause?.Statements.Any(Function(n) n.IsKind(SyntaxKind.LocalDeclarationStatement)), False) 40Return ifNode.ElseClause.Statements
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\BasicDoNotGuardCall.Fixer.vb (2)
69Dim singleLineGuardedStatement = GetGuardedStatement(If(guardedCallInElse, singleLineIfStatementSyntax.ElseClause?.Statements, singleLineIfStatementSyntax.Statements)) 82.WithStatements(If(guardedCallInElse, singleLineIfStatementSyntax.Statements, singleLineIfStatementSyntax.ElseClause.Statements)) _
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
150Return singleLineElseClause.Statements 680elseStatements = If(singleLineIf.ElseClause Is Nothing, Nothing, singleLineIf.ElseClause.Statements)
Roslyn.Diagnostics.VisualBasic.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
150Return singleLineElseClause.Statements 680elseStatements = If(singleLineIf.ElseClause Is Nothing, Nothing, singleLineIf.ElseClause.Statements)