93 references to Local
Microsoft.CodeAnalysis.VisualBasic (93)
Binding\SyntheticBoundTrees\SynthesizedStringSwitchHashMethod.vb (9)
89
F.
Local
(i, False))
96
F.Assignment(F.
Local
(hashCode, True), New BoundLiteral(Me.Syntax, ConstantValue.Create(CUInt(2166136261)), hashCode.Type)),
102
F.Assignment(F.
Local
(i, True), New BoundLiteral(Me.Syntax, ConstantValue.Create(0), i.Type)),
106
F.
Local
(hashCode, True),
110
F.
Local
(hashCode, False)),
113
F.
Local
(i, True),
115
F.
Local
(i, False),
120
F.
Local
(i, False),
123
F.Return(F.
Local
(hashCode, False)))
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Await.vb (14)
41
PlaceholderReplacementMap.Add(awaiterInstancePlaceholder, Me.F.
Local
(awaiterTemp, True))
91
Me.F.AssignmentExpression(Me.F.
Local
(awaiterTemp, True), Me.F.Null(awaiterTemp.Type))
99
Me.F.AssignmentExpression(Me.F.
Local
(resultTemp, True), rewrittenGetResult),
101
Me.F.
Local
(resultTemp, False))
130
Me.F.AssignmentExpression(Me.F.
Local
(Me.CachedState, True), Me.F.Literal(state))))
140
DirectCast(Me.F.
Local
(awaiterTemp, False), BoundExpression),
141
Me.F.Convert(awaiterFieldType, Me.F.
Local
(awaiterTemp, False)))))
165
Dim awaiterTempAsRValue As BoundLocal = Me.F.
Local
(awaiterTemp, False)
166
Dim criticalNotifyCompletionAsLValue As BoundLocal = Me.F.
Local
(asCriticalNotifyCompletion, True)
167
Dim notifyCompletionAsLValue As BoundLocal = Me.F.
Local
(asNotifyCompletion, True)
207
condition:=Me.F.Not(Me.F.ReferenceIsNothing(Me.F.
Local
(asCriticalNotifyCompletion, False))),
234
{Me.F.
Local
(awaiterTemp, True), Me.F.ReferenceOrByrefMe()})))
256
Me.F.AssignmentExpression(Me.F.
Local
(Me.CachedState, True), Me.F.Literal(StateMachineState.NotStartedOrRunningState))))
263
Me.F.
Local
(awaiterTemp, True),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (10)
188
Me.F.
Local
(tempLocal, False))
443
sequenceValueOpt = Me.F.
Local
(tempLocal, False)
462
Return RewriteSpillSequenceIntoBlock(spill, False, Me.F.Assignment(Me.F.
Local
(temp, True), spill.ValueOpt))
464
Return Me.F.Assignment(Me.F.
Local
(temp, True), expression)
470
Return Me.F.Assignment(Me.F.
Local
(temp, True), expression)
581
nullCheckTarget = Me.F.AssignmentExpression(Me.F.
Local
(receiverLocal, isLValue:=True), receiver.MakeRValue())
582
capturedReceiver = Me.F.
Local
(receiverLocal, isLValue:=True)
654
Return builder.BuildSequenceAndFree(Me.F, expression:=Me.F.
Local
(tempLocal, False))
846
condition:=Me.F.ReferenceIsNothing(Me.F.
Local
(tempLocal, False)),
850
Me.F.
Local
(tempLocal, False))
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Statements.vb (2)
36
Me.F.Assignment(Me.F.
Local
(Me._exprRetValue, True), spill.ValueOpt)),
41
Me.F.
Local
(Me._exprRetValue, True), expression),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.vb (4)
159
Me.F.
Local
(Me.CachedState, True),
186
Me.F.
Local
(exceptionLocal, False))),
196
Me.F.AssignmentExpression(Me.F.
Local
(Me.CachedState, True), Me.F.Literal(StateMachineState.FinishedState)))
213
{Me.F.
Local
(Me._exprRetValue, False)}, Array.Empty(Of BoundExpression)()))))
Lowering\AsyncRewriter\AsyncRewriter.vb (6)
145
Me.F.
Local
(stateMachineLocal, True),
151
Me.F.
Local
(stateMachineLocal, True),
213
Me.F.
Local
(stateMachineVariable, True),
223
Dim builderFieldAsLValue As BoundExpression = Me.F.Field(Me.F.
Local
(stateMachineVariable, True), constructedBuilderField, True)
241
Me.F.
Local
(stateMachineVariable, True))))
488
Me.F.
Local
(stateMachineVariable, True),
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (2)
329
Dim parameterReference = _factory.
Local
(param, False)
330
Dim parameterReferenceLValue = _factory.
Local
(param, True)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (1)
76
Dim parameterReference As BoundLocal = Me._factory.
Local
(paramLocalSymbol, True)
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (4)
223
methodBodyFactory.
Local
(methodPayload, isLValue:=True),
254
_methodBodyFactory.
Local
(_methodPayload, isLValue:=True),
286
_methodBodyFactory.
Local
(_methodPayload, False),
470
statementFactory.
Local
(_methodPayload, isLValue:=False),
Lowering\IteratorRewriter\IteratorRewriter.IteratorMethodToClassRewriter.vb (7)
82
F.Assignment(Me.F.
Local
(Me.CachedState, True), F.Field(F.Me, Me.StateField, False)),
86
F.Assignment(F.Field(F.Me, Me.StateField, True), Me.F.AssignmentExpression(Me.F.
Local
(Me.CachedState, True), Me.F.Literal(StateMachineState.NotStartedOrRunningState))),
130
F.Assignment(F.
Local
(Me._methodValue, True), F.Literal(True)),
132
F.Return(Me.F.
Local
(Me._methodValue, False))
152
Me.F.Assignment(Me.F.
Local
(Me._methodValue, True), result),
201
F.Assignment(F.Field(F.Me, Me.StateField, True), F.AssignmentExpression(F.
Local
(Me.CachedState, True), F.Literal(stateNumber))),
204
F.Assignment(F.Field(F.Me, Me.StateField, True), F.AssignmentExpression(F.
Local
(Me.CachedState, True), F.Literal(StateMachineState.NotStartedOrRunningState)))
Lowering\IteratorRewriter\IteratorRewriter.vb (8)
223
F.Assignment(F.
Local
(resultVariable, True), F.Me),
229
F.Assignment(F.
Local
(resultVariable, True), F.[New](StateMachineType.Constructor, F.Literal(0)))
241
F.Field(F.
Local
(resultVariable, True), proxy.AsMember(StateMachineType), True),
253
F.Field(F.
Local
(resultVariable, True), proxy.AsMember(StateMachineType), True),
258
bodyBuilder.Add(F.Return(F.
Local
(resultVariable, False)))
320
Return F.Return(F.
Local
(stateMachineVariable, False))
329
F.
Local
(stateMachineLocal, True),
380
Me.F.
Local
(stateMachineVariable, True),
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.vb (3)
68
assignment = factory.AssignmentExpression(factory.
Local
(temp, isLValue:=True), rewrittenReceiver.MakeRValue())
69
first = factory.
Local
(temp, isLValue:=True)
70
placeholderReplacement = factory.
Local
(temp, isLValue:=True)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (3)
338
Dim checkIfNothing = F.ReferenceIsNothing(F.
Local
(savedOriginalValue, False))
340
Dim convertedValue = New BoundDelegateCreationExpression(node.Syntax, F.
Local
(savedOriginalValue, False),
348
F.AssignmentExpression(F.
Local
(savedOriginalValue, True), VisitExpression(node.Operand)),
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (14)
192
nodeFactory.
Local
(_unstructuredExceptionHandling.ResumeTargetTemporary, isLValue:=False),
213
statements.Add(nodeFactory.AssignmentExpression(nodeFactory.
Local
(_unstructuredExceptionHandling.ResumeTargetTemporary, isLValue:=True),
216
nodeFactory.
Local
(_unstructuredExceptionHandling.CurrentStatementTemporary, isLValue:=False))).ToStatement())
238
nodeFactory.
Local
(_unstructuredExceptionHandling.ActiveHandlerTemporary, isLValue:=False),
240
nodeFactory.
Local
(_unstructuredExceptionHandling.ActiveHandlerTemporary, isLValue:=False),
243
DirectCast(nodeFactory.
Local
(_unstructuredExceptionHandling.ActiveHandlerTemporary, isLValue:=False), BoundExpression)),
267
nodeFactory.
Local
(_unstructuredExceptionHandling.ActiveHandlerTemporary, isLValue:=False),
268
nodeFactory.
Local
(_unstructuredExceptionHandling.ResumeTargetTemporary, isLValue:=False),
299
nodeFactory.
Local
(_unstructuredExceptionHandling.ResumeTargetTemporary, isLValue:=False),
348
statements.Add(nodeFactory.AssignmentExpression(nodeFactory.
Local
(_unstructuredExceptionHandling.ResumeTargetTemporary, isLValue:=True),
370
statements.Add(nodeFactory.AssignmentExpression(nodeFactory.
Local
(_unstructuredExceptionHandling.ActiveHandlerTemporary, isLValue:=True),
409
nodeFactory.
Local
(_unstructuredExceptionHandling.ResumeTargetTemporary, isLValue:=False),
422
statements.Add(nodeFactory.AssignmentExpression(nodeFactory.
Local
(_unstructuredExceptionHandling.ResumeTargetTemporary, isLValue:=True),
463
statements.Add(nodeFactory.AssignmentExpression(nodeFactory.
Local
(_unstructuredExceptionHandling.CurrentStatementTemporary, isLValue:=True),
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (4)
206
Dim result = F.Select(F.
Local
(CachedState, isLValue:=False), sections)
225
Return _resumableStateAllocator.GenerateThrowMissingStateDispatch(F, F.
Local
(CachedState, isLValue:=False), EncMissingStateMessage)
363
F.AssignmentExpression(F.
Local
(Me.CachedState, True), F.Literal(StateMachineState.NotStartedOrRunningState))),
390
Me.F.
Local
(Me.CachedState, False),
Lowering\SyntheticBoundNodeFactory.vb (2)
306
Dim boundNode = New BoundReferenceAssignment(_syntax,
Local
(byRefLocal, isLValue:=True), lValue, isLValue:=True, type:=lValue.Type)
1070
Return New BoundCatchBlock(Syntax, local, Me.
Local
(local, False), Nothing, Nothing, block,