21 references to DeclaredOrInferredLocalOpt
Microsoft.CodeAnalysis.VisualBasic (21)
Analysis\FlowAnalysis\DataFlowPass.vb (5)
338Return DirectCast(node, BoundForStatement).DeclaredOrInferredLocalOpt 1354Dim symbol = forStatement.DeclaredOrInferredLocalOpt 1855If node.DeclaredOrInferredLocalOpt IsNot Nothing Then 1856Dim slot As Integer = GetOrCreateSlot(node.DeclaredOrInferredLocalOpt) 'not initially assigned 1857Assign(node, Nothing, ConsiderLocalInitiallyAssigned(node.DeclaredOrInferredLocalOpt))
Analysis\FlowAnalysis\VariablesDeclaredWalker.vb (2)
46node.DeclaredOrInferredLocalOpt IsNot Nothing Then 47_variablesDeclared.Add(node.DeclaredOrInferredLocalOpt)
Generated\BoundNodes.xml.Generated.vb (6)
5624If initialValue IsNot Me.InitialValue OrElse limitValue IsNot Me.LimitValue OrElse stepValue IsNot Me.StepValue OrElse checked <> Me.Checked OrElse operatorsOpt IsNot Me.OperatorsOpt OrElse declaredOrInferredLocalOpt IsNot Me.DeclaredOrInferredLocalOpt OrElse controlVariable IsNot Me.ControlVariable OrElse body IsNot Me.Body OrElse nextVariablesOpt <> Me.NextVariablesOpt OrElse continueLabel IsNot Me.ContinueLabel OrElse exitLabel IsNot Me.ExitLabel Then 5671If collection IsNot Me.Collection OrElse enumeratorInfo IsNot Me.EnumeratorInfo OrElse declaredOrInferredLocalOpt IsNot Me.DeclaredOrInferredLocalOpt OrElse controlVariable IsNot Me.ControlVariable OrElse body IsNot Me.Body OrElse nextVariablesOpt <> Me.NextVariablesOpt OrElse continueLabel IsNot Me.ContinueLabel OrElse exitLabel IsNot Me.ExitLabel Then 12683Return node.Update(initialValue, limitValue, stepValue, node.Checked, operatorsOpt, node.DeclaredOrInferredLocalOpt, controlVariable, body, nextVariablesOpt, node.ContinueLabel, node.ExitLabel) 12691Return node.Update(collection, node.EnumeratorInfo, node.DeclaredOrInferredLocalOpt, controlVariable, body, nextVariablesOpt, node.ContinueLabel, node.ExitLabel) 13999New TreeDumperNode("declaredOrInferredLocalOpt", node.DeclaredOrInferredLocalOpt, Nothing), 14012New TreeDumperNode("declaredOrInferredLocalOpt", node.DeclaredOrInferredLocalOpt, Nothing),
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (6)
92If node.DeclaredOrInferredLocalOpt IsNot Nothing Then 98node.DeclaredOrInferredLocalOpt, 460If(forEachStatement.DeclaredOrInferredLocalOpt IsNot Nothing, 461ImmutableArray.Create(Of LocalSymbol)(forEachStatement.DeclaredOrInferredLocalOpt), 611Dim rewrittenBodyBlock As BoundBlock = New BoundBlock(syntaxNode, Nothing, If(node.DeclaredOrInferredLocalOpt IsNot Nothing, ImmutableArray.Create(Of LocalSymbol)(node.DeclaredOrInferredLocalOpt), ImmutableArray(Of LocalSymbol).Empty), rewrittenBodyStatements)
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (2)
296Dim localSymbol = forStatement.DeclaredOrInferredLocalOpt 546Dim localSymbol = forStatement.DeclaredOrInferredLocalOpt