Binding\Binder_Statements.vb (5)
409New BoundLocal(methodBlock.EndBlockStatement, localForFunctionValue, isLValue:=False, type:=localForFunctionValue.Type).MakeCompilerGenerated(),
1726Return New BoundLocal(name, symbol, symbol.Type)
2947controlVariable = New BoundLocal(declaratorSyntax, declaredOrInferredLocalOpt, declaredOrInferredLocalOpt.Type)
3104controlVariableOpt = New BoundLocal(forStatement.ControlVariable, declaredOrInferredLocalOpt, type)
3378controlVariableOpt = New BoundLocal(forEachStatement.ControlVariable, declaredOrInferredLocalOpt, type)
Lowering\LambdaRewriter\LambdaRewriter.vb (5)
392Return New BoundLocal(syntax, localFrame, isLValue:=False, type:=localFrame.Type)
511Dim frameAccess = New BoundLocal(syntaxNode, framePointer, frameType)
534New BoundLocal(syntaxNode, framePointer, frameType),
644value = New BoundLocal(syntaxNode, actualLocal, isLValue:=False, type:=actualLocal.Type)
654New BoundLocal(syntaxNode,
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (7)
119Dim arrayTempRef = New BoundLocal(node, arrayTemp, arrayTemp.Type)
208Dim arrayTempRef = New BoundLocal(node, arrayTemp, arrayTemp.Type)
754copyBackFlagArrayRef = (New BoundLocal(syntax, copyBackFlagArrayTemp, copyBackFlagArrayTemp.Type)).MakeRValue
758valueArrayRef = New BoundLocal(syntax, valueArrayTemp, valueArrayTemp.Type)
777New BoundLocal(syntax, copyBackFlagArrayTemp, copyBackFlagArrayTemp.Type),
840Dim valueRef = New BoundLocal(syntax, valueTemp, valueTemp.Type)
901New BoundLocal(argumentWithCapture.Syntax,
Lowering\UseTwiceRewriter.vb (4)
147referToTemp = New BoundLocal(value.Syntax, temp, type)
255New BoundLocal(lvalue.Syntax, temp, temp.Type).MakeCompilerGenerated(),
258Dim second = New BoundLocal(lvalue.Syntax, temp, isLValue:=True, type:=lvalue.Type).MakeCompilerGenerated()
413secondArgsArray(i) = New BoundLocal(boundArgument.Syntax, temp, isLValue:=False, type:=temp.Type)
Analysis\FlowAnalysis\DataFlowPass.vb (11)
317Return DirectCast(node, BoundLocal).LocalSymbol
427Dim local As LocalSymbol = DirectCast(node, BoundLocal).LocalSymbol
998Dim symbol As LocalSymbol = DirectCast(node, BoundLocal).LocalSymbol
1024Dim local As LocalSymbol = DirectCast(node, BoundLocal).LocalSymbol
1116Return GetUnassignedSymbolFirstLocation(DirectCast(receiver, BoundLocal).LocalSymbol, Nothing)
1355Dim local = DirectCast(node, BoundLocal)
1570Protected Overrides Sub VisitLocalInReadWriteContext(node As BoundLocal, rwContext As ReadWriteContext)
1575Public Overrides Function VisitLocal(node As BoundLocal) As BoundNode
1802DirectCast(left, BoundLocal).LocalSymbol, node.Right)
1950CheckAssigned(DirectCast(expr, BoundLocal).LocalSymbol, node)
1988Dim functionLocal = TryCast(node.ExpressionOpt, BoundLocal)
CodeGen\EmitExpression.vb (10)
109EmitLocalLoad(DirectCast(expression, BoundLocal), used)
426Private Sub EmitLocalLoad(local As BoundLocal, used As Boolean)
767Return DirectCast(receiver, BoundLocal).LocalSymbol.IsByRef
1420Dim local = DirectCast(expr, BoundLocal)
1573If target.Kind = BoundKind.Local AndAlso IsStackLocal(DirectCast(target, BoundLocal).LocalSymbol) Then
1579Debug.Assert(target.Kind <> BoundKind.Local OrElse Not IsStackLocal(DirectCast(target, BoundLocal).LocalSymbol))
1754Return Not DirectCast(left, BoundLocal).LocalSymbol.IsByRef
1770Dim boundLocal = DirectCast(assignmentTarget, BoundLocal)
1881Dim boundLocal As BoundLocal = capture.ByRefLocal
1902Dim boundLocal = DirectCast(expression, BoundLocal)
CodeGen\EmitStatement.vb (7)
330Debug.Assert(Not DirectCast(exceptionSource, BoundLocal).LocalSymbol.IsByRef)
331_builder.EmitLocalStore(GetLocal(DirectCast(exceptionSource, BoundLocal)))
1054If selectExpression.Kind = BoundKind.Local AndAlso Not DirectCast(selectExpression, BoundLocal).LocalSymbol.IsByRef Then
1055_builder.EmitIntegerSwitchJumpTable(caseLabels, fallThroughLabel, GetLocal(DirectCast(selectExpression, BoundLocal)), keyTypeCode:=exprType.GetEnumUnderlyingTypeOrSelf.PrimitiveTypeCode)
1068If selectExpression.Kind = BoundKind.Local AndAlso Not DirectCast(selectExpression, BoundLocal).LocalSymbol.IsByRef Then
1069EmitStringSwitchJumpTable(caseLabels, fallThroughLabel, GetLocal(DirectCast(selectExpression, BoundLocal)), selectExpression.Syntax)
1373Private Function GetLocal(localExpression As BoundLocal) As LocalDefinition
Generated\BoundNodes.xml.Generated.vb (31)
1801Public Sub New(syntax As SyntaxNode, byRefLocal As BoundLocal, lValue As BoundExpression, isLValue As Boolean, type As TypeSymbol, Optional hasErrors As Boolean = False)
1818Private ReadOnly _ByRefLocal As BoundLocal
1819Public ReadOnly Property ByRefLocal As BoundLocal
1844Public Function Update(byRefLocal As BoundLocal, lValue As BoundExpression, isLValue As Boolean, type As TypeSymbol) As BoundReferenceAssignment
6193Public Function Update(localSymbol As LocalSymbol, isLValue As Boolean, type As TypeSymbol) As BoundLocal
8481Public Sub New(syntax As SyntaxNode, activeHandlerLocal As BoundLocal, resumeTargetLocal As BoundLocal, type As TypeSymbol, Optional hasErrors As Boolean = False)
8498Private ReadOnly _ActiveHandlerLocal As BoundLocal
8499Public ReadOnly Property ActiveHandlerLocal As BoundLocal
8505Private ReadOnly _ResumeTargetLocal As BoundLocal
8506Public ReadOnly Property ResumeTargetLocal As BoundLocal
8517Public Function Update(activeHandlerLocal As BoundLocal, resumeTargetLocal As BoundLocal, type As TypeSymbol) As BoundUnstructuredExceptionHandlingCatchFilter
8578Public Sub New(syntax As SyntaxNode, resumeTargetTemporary As BoundLocal, resumeLabel As BoundLabelStatement, resumeNextLabel As BoundLabelStatement, jumps As ImmutableArray(Of BoundGotoStatement), Optional hasErrors As Boolean = False)
8598Private ReadOnly _ResumeTargetTemporary As BoundLocal
8599Public ReadOnly Property ResumeTargetTemporary As BoundLocal
8631Public Function Update(resumeTargetTemporary As BoundLocal, resumeLabel As BoundLabelStatement, resumeNextLabel As BoundLabelStatement, jumps As ImmutableArray(Of BoundGotoStatement)) As BoundUnstructuredExceptionResumeSwitch
9537Return VisitLocal(CType(node, BoundLocal), arg)
10121Public Overridable Function VisitLocal(node As BoundLocal, arg As A) As R
10824Public Overridable Function VisitLocal(node As BoundLocal) As BoundNode
11683Public Overrides Function VisitLocal(node As BoundLocal) As BoundNode
12215Dim byRefLocal As BoundLocal = DirectCast(Me.Visit(node.ByRefLocal), BoundLocal)
12718Public Overrides Function VisitLocal(node As BoundLocal) As BoundNode
12997Dim activeHandlerLocal As BoundLocal = DirectCast(Me.Visit(node.ActiveHandlerLocal), BoundLocal)
12998Dim resumeTargetLocal As BoundLocal = DirectCast(Me.Visit(node.ResumeTargetLocal), BoundLocal)
13010Dim resumeTargetTemporary As BoundLocal = DirectCast(Me.Visit(node.ResumeTargetTemporary), BoundLocal)
14060Public Overrides Function VisitLocal(node As BoundLocal, arg As Object) As TreeDumperNode