21 references to DeclaredOrInferredLocalOpt
Microsoft.CodeAnalysis.VisualBasic (21)
Analysis\FlowAnalysis\DataFlowPass.vb (5)
338
Return DirectCast(node, BoundForStatement).
DeclaredOrInferredLocalOpt
1354
Dim symbol = forStatement.
DeclaredOrInferredLocalOpt
1855
If node.
DeclaredOrInferredLocalOpt
IsNot Nothing Then
1856
Dim slot As Integer = GetOrCreateSlot(node.
DeclaredOrInferredLocalOpt
) 'not initially assigned
1857
Assign(node, Nothing, ConsiderLocalInitiallyAssigned(node.
DeclaredOrInferredLocalOpt
))
Analysis\FlowAnalysis\VariablesDeclaredWalker.vb (2)
46
node.
DeclaredOrInferredLocalOpt
IsNot Nothing Then
47
_variablesDeclared.Add(node.
DeclaredOrInferredLocalOpt
)
Generated\BoundNodes.xml.Generated.vb (6)
5624
If 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
5671
If 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
12683
Return node.Update(initialValue, limitValue, stepValue, node.Checked, operatorsOpt, node.
DeclaredOrInferredLocalOpt
, controlVariable, body, nextVariablesOpt, node.ContinueLabel, node.ExitLabel)
12691
Return node.Update(collection, node.EnumeratorInfo, node.
DeclaredOrInferredLocalOpt
, controlVariable, body, nextVariablesOpt, node.ContinueLabel, node.ExitLabel)
13999
New TreeDumperNode("declaredOrInferredLocalOpt", node.
DeclaredOrInferredLocalOpt
, Nothing),
14012
New TreeDumperNode("declaredOrInferredLocalOpt", node.
DeclaredOrInferredLocalOpt
, Nothing),
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (6)
92
If node.
DeclaredOrInferredLocalOpt
IsNot Nothing Then
98
node.
DeclaredOrInferredLocalOpt
,
460
If(forEachStatement.
DeclaredOrInferredLocalOpt
IsNot Nothing,
461
ImmutableArray.Create(Of LocalSymbol)(forEachStatement.
DeclaredOrInferredLocalOpt
),
611
Dim 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)
296
Dim localSymbol = forStatement.
DeclaredOrInferredLocalOpt
546
Dim localSymbol = forStatement.
DeclaredOrInferredLocalOpt