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)
452Private Sub EmitLocalLoad(local As BoundLocal, used As Boolean)
793Return DirectCast(receiver, BoundLocal).LocalSymbol.IsByRef
1564Dim local = DirectCast(expr, BoundLocal)
1717If target.Kind = BoundKind.Local AndAlso IsStackLocal(DirectCast(target, BoundLocal).LocalSymbol) Then
1723Debug.Assert(target.Kind <> BoundKind.Local OrElse Not IsStackLocal(DirectCast(target, BoundLocal).LocalSymbol))
1898Return Not DirectCast(left, BoundLocal).LocalSymbol.IsByRef
1914Dim boundLocal = DirectCast(assignmentTarget, BoundLocal)
2025Dim boundLocal As BoundLocal = capture.ByRefLocal
2046Dim boundLocal = DirectCast(expression, BoundLocal)
CodeGen\EmitStatement.vb (7)
330Debug.Assert(Not DirectCast(exceptionSource, BoundLocal).LocalSymbol.IsByRef)
331_builder.EmitLocalStore(GetLocal(DirectCast(exceptionSource, BoundLocal)))
1055If selectExpression.Kind = BoundKind.Local AndAlso Not DirectCast(selectExpression, BoundLocal).LocalSymbol.IsByRef Then
1056_builder.EmitIntegerSwitchJumpTable(caseLabels, fallThroughLabel, GetLocal(DirectCast(selectExpression, BoundLocal)), keyTypeCode:=exprType.GetEnumUnderlyingTypeOrSelf.PrimitiveTypeCode, syntax)
1069If selectExpression.Kind = BoundKind.Local AndAlso Not DirectCast(selectExpression, BoundLocal).LocalSymbol.IsByRef Then
1070EmitStringSwitchJumpTable(caseLabels, fallThroughLabel, GetLocal(DirectCast(selectExpression, BoundLocal)), syntax)
1374Private Function GetLocal(localExpression As BoundLocal) As LocalDefinition
Generated\BoundNodes.xml.Generated.vb (31)
1811Public Sub New(syntax As SyntaxNode, byRefLocal As BoundLocal, lValue As BoundExpression, isLValue As Boolean, type As TypeSymbol, Optional hasErrors As Boolean = False)
1828Private ReadOnly _ByRefLocal As BoundLocal
1829Public ReadOnly Property ByRefLocal As BoundLocal
1854Public Function Update(byRefLocal As BoundLocal, lValue As BoundExpression, isLValue As Boolean, type As TypeSymbol) As BoundReferenceAssignment
6203Public Function Update(localSymbol As LocalSymbol, isLValue As Boolean, type As TypeSymbol) As BoundLocal
8498Public Sub New(syntax As SyntaxNode, activeHandlerLocal As BoundLocal, resumeTargetLocal As BoundLocal, type As TypeSymbol, Optional hasErrors As Boolean = False)
8515Private ReadOnly _ActiveHandlerLocal As BoundLocal
8516Public ReadOnly Property ActiveHandlerLocal As BoundLocal
8522Private ReadOnly _ResumeTargetLocal As BoundLocal
8523Public ReadOnly Property ResumeTargetLocal As BoundLocal
8534Public Function Update(activeHandlerLocal As BoundLocal, resumeTargetLocal As BoundLocal, type As TypeSymbol) As BoundUnstructuredExceptionHandlingCatchFilter
8595Public Sub New(syntax As SyntaxNode, resumeTargetTemporary As BoundLocal, resumeLabel As BoundLabelStatement, resumeNextLabel As BoundLabelStatement, jumps As ImmutableArray(Of BoundGotoStatement), Optional hasErrors As Boolean = False)
8615Private ReadOnly _ResumeTargetTemporary As BoundLocal
8616Public ReadOnly Property ResumeTargetTemporary As BoundLocal
8648Public Function Update(resumeTargetTemporary As BoundLocal, resumeLabel As BoundLabelStatement, resumeNextLabel As BoundLabelStatement, jumps As ImmutableArray(Of BoundGotoStatement)) As BoundUnstructuredExceptionResumeSwitch
9562Return VisitLocal(CType(node, BoundLocal), arg)
10146Public Overridable Function VisitLocal(node As BoundLocal, arg As A) As R
10849Public Overridable Function VisitLocal(node As BoundLocal) As BoundNode
11708Public Overrides Function VisitLocal(node As BoundLocal) As BoundNode
12240Dim byRefLocal As BoundLocal = DirectCast(Me.Visit(node.ByRefLocal), BoundLocal)
12743Public Overrides Function VisitLocal(node As BoundLocal) As BoundNode
13022Dim activeHandlerLocal As BoundLocal = DirectCast(Me.Visit(node.ActiveHandlerLocal), BoundLocal)
13023Dim resumeTargetLocal As BoundLocal = DirectCast(Me.Visit(node.ResumeTargetLocal), BoundLocal)
13035Dim resumeTargetTemporary As BoundLocal = DirectCast(Me.Visit(node.ResumeTargetTemporary), BoundLocal)
14088Public Overrides Function VisitLocal(node As BoundLocal, arg As Object) As TreeDumperNode