21 references to Expression
Microsoft.CodeAnalysis.VisualBasic (11)
Binding\Binder_Statements.vb (2)
3388forEachStatement.Expression, 3412collection = BindValue(forEachStatement.Expression, diagnostics)
Binding\ForOrForEachBlockBinder.vb (1)
125forEachStatementSyntax.Expression)
Generated\Syntax.xml.Main.Generated.vb (2)
3527Dim newExpression = DirectCast(Visit(node.Expression), ExpressionSyntax) 3528If node.Expression IsNot newExpression Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (6)
19504return Update(forKeyword, Me.EachKeyword, Me.ControlVariable, Me.InKeyword, Me.Expression) 19522return Update(Me.ForKeyword, eachKeyword, Me.ControlVariable, Me.InKeyword, Me.Expression) 19551return Update(Me.ForKeyword, Me.EachKeyword, controlVariable, Me.InKeyword, Me.Expression) 19569return Update(Me.ForKeyword, Me.EachKeyword, Me.ControlVariable, inKeyword, Me.Expression) 19606Return Me.Expression 19641If forKeyword <> Me.ForKeyword OrElse eachKeyword <> Me.EachKeyword OrElse controlVariable IsNot Me.ControlVariable OrElse inKeyword <> Me.InKeyword OrElse expression IsNot Me.Expression Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
1373Return node IsNot Nothing AndAlso TryCast(node.Parent, ForEachStatementSyntax)?.Expression Is node
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\SpeculationAnalyzer.vb (1)
528Return forEachStatement.Expression
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\f736901a33c2b55b\VisualBasicTypeInferenceService.TypeInferrer.vb (1)
654If expressionOpt Is forEachStatement.Expression OrElse previousToken = forEachStatement.InKeyword Then
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (1)
Microsoft.CodeQuality.Analyzers\QualityGuidelines\BasicAvoidMultipleEnumerationsAnalyzer.vb (1)
16Return parent IsNot Nothing AndAlso parent.Expression.Equals(syntax)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
src\f736901a33c2b55b\VisualBasicTypeInferenceService.TypeInferrer.vb (1)
654If expressionOpt Is forEachStatement.Expression OrElse previousToken = forEachStatement.InKeyword Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
1373Return node IsNot Nothing AndAlso TryCast(node.Parent, ForEachStatementSyntax)?.Expression Is node
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\SpeculationAnalyzer.vb (1)
528Return forEachStatement.Expression
Roslyn.Diagnostics.VisualBasic.Analyzers (3)
src\f736901a33c2b55b\VisualBasicTypeInferenceService.TypeInferrer.vb (1)
654If expressionOpt Is forEachStatement.Expression OrElse previousToken = forEachStatement.InKeyword Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
1373Return node IsNot Nothing AndAlso TryCast(node.Parent, ForEachStatementSyntax)?.Expression Is node
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\SpeculationAnalyzer.vb (1)
528Return forEachStatement.Expression