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
1122Return GetUnassignedSymbolFirstLocation(DirectCast(receiver, BoundLocal).LocalSymbol, Nothing)
1361Dim local = DirectCast(node, BoundLocal)
1576Protected Overrides Sub VisitLocalInReadWriteContext(node As BoundLocal, rwContext As ReadWriteContext)
1581Public Overrides Function VisitLocal(node As BoundLocal) As BoundNode
1808DirectCast(left, BoundLocal).LocalSymbol, node.Right)
1956CheckAssigned(DirectCast(expr, BoundLocal).LocalSymbol, node)
1994Dim functionLocal = TryCast(node.ExpressionOpt, BoundLocal)
CodeGen\EmitExpression.vb (10)
111EmitLocalLoad(DirectCast(expression, BoundLocal), used)
431Private Sub EmitLocalLoad(local As BoundLocal, used As Boolean)
772Return DirectCast(receiver, BoundLocal).LocalSymbol.IsByRef
1543Dim local = DirectCast(expr, BoundLocal)
1696If target.Kind = BoundKind.Local AndAlso IsStackLocal(DirectCast(target, BoundLocal).LocalSymbol) Then
1702Debug.Assert(target.Kind <> BoundKind.Local OrElse Not IsStackLocal(DirectCast(target, BoundLocal).LocalSymbol))
1877Return Not DirectCast(left, BoundLocal).LocalSymbol.IsByRef
1893Dim boundLocal = DirectCast(assignmentTarget, BoundLocal)
2004Dim boundLocal As BoundLocal = capture.ByRefLocal
2025Dim 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)
1372Private Function GetLocal(localExpression As BoundLocal) As LocalDefinition
Generated\BoundNodes.xml.Generated.vb (31)
1820Public Sub New(syntax As SyntaxNode, byRefLocal As BoundLocal, lValue As BoundExpression, isLValue As Boolean, type As TypeSymbol, Optional hasErrors As Boolean = False)
1837Private ReadOnly _ByRefLocal As BoundLocal
1838Public ReadOnly Property ByRefLocal As BoundLocal
1863Public Function Update(byRefLocal As BoundLocal, lValue As BoundExpression, isLValue As Boolean, type As TypeSymbol) As BoundReferenceAssignment
6212Public Function Update(localSymbol As LocalSymbol, isLValue As Boolean, type As TypeSymbol) As BoundLocal
8507Public Sub New(syntax As SyntaxNode, activeHandlerLocal As BoundLocal, resumeTargetLocal As BoundLocal, type As TypeSymbol, Optional hasErrors As Boolean = False)
8524Private ReadOnly _ActiveHandlerLocal As BoundLocal
8525Public ReadOnly Property ActiveHandlerLocal As BoundLocal
8531Private ReadOnly _ResumeTargetLocal As BoundLocal
8532Public ReadOnly Property ResumeTargetLocal As BoundLocal
8543Public Function Update(activeHandlerLocal As BoundLocal, resumeTargetLocal As BoundLocal, type As TypeSymbol) As BoundUnstructuredExceptionHandlingCatchFilter
8604Public Sub New(syntax As SyntaxNode, resumeTargetTemporary As BoundLocal, resumeLabel As BoundLabelStatement, resumeNextLabel As BoundLabelStatement, jumps As ImmutableArray(Of BoundGotoStatement), Optional hasErrors As Boolean = False)
8624Private ReadOnly _ResumeTargetTemporary As BoundLocal
8625Public ReadOnly Property ResumeTargetTemporary As BoundLocal
8657Public Function Update(resumeTargetTemporary As BoundLocal, resumeLabel As BoundLabelStatement, resumeNextLabel As BoundLabelStatement, jumps As ImmutableArray(Of BoundGotoStatement)) As BoundUnstructuredExceptionResumeSwitch
9571Return VisitLocal(CType(node, BoundLocal), arg)
10155Public Overridable Function VisitLocal(node As BoundLocal, arg As A) As R
10858Public Overridable Function VisitLocal(node As BoundLocal) As BoundNode
11717Public Overrides Function VisitLocal(node As BoundLocal) As BoundNode
12249Dim byRefLocal As BoundLocal = DirectCast(Me.Visit(node.ByRefLocal), BoundLocal)
12752Public Overrides Function VisitLocal(node As BoundLocal) As BoundNode
13031Dim activeHandlerLocal As BoundLocal = DirectCast(Me.Visit(node.ActiveHandlerLocal), BoundLocal)
13032Dim resumeTargetLocal As BoundLocal = DirectCast(Me.Visit(node.ResumeTargetLocal), BoundLocal)
13044Dim resumeTargetTemporary As BoundLocal = DirectCast(Me.Visit(node.ResumeTargetTemporary), BoundLocal)
14097Public Overrides Function VisitLocal(node As BoundLocal, arg As Object) As TreeDumperNode