33 references to SynthesizedLocal
Microsoft.CodeAnalysis.CSharp (33)
Compiler\MethodBodySynthesizer.Lowered.cs (4)
55
LocalSymbol i = F.
SynthesizedLocal
(F.SpecialType(SpecialType.System_Int32));
56
LocalSymbol hashCode = F.
SynthesizedLocal
(F.SpecialType(SpecialType.System_UInt32));
153
LocalSymbol i = F.
SynthesizedLocal
(F.SpecialType(SpecialType.System_Int32));
154
LocalSymbol hashCode = F.
SynthesizedLocal
(F.SpecialType(SpecialType.System_UInt32));
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (3)
407
LocalSymbol obj = _F.
SynthesizedLocal
(_F.SpecialType(SpecialType.System_Object));
435
var ex = _F.
SynthesizedLocal
(_F.WellKnownType(WellKnownType.System_Exception));
555
var catchTemp = _F.
SynthesizedLocal
(catchType);
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (5)
148
var exceptionLocal = F.
SynthesizedLocal
(F.WellKnownType(WellKnownType.System_Exception));
546
var criticalNotifyCompletedTemp = F.
SynthesizedLocal
(
550
var notifyCompletionTemp = F.
SynthesizedLocal
(
554
LocalSymbol thisTemp = (F.CurrentType.TypeKind == TypeKind.Class) ? F.
SynthesizedLocal
(F.CurrentType) : null;
615
LocalSymbol thisTemp = (F.CurrentType.TypeKind == TypeKind.Class) ? F.
SynthesizedLocal
(F.CurrentType) : null;
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (2)
336
var versionSymbol = F.
SynthesizedLocal
(F.SpecialType(SpecialType.System_Int16));
386
instSymbol = F.
SynthesizedLocal
(this.stateMachineType);
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
841
var param = _bound.
SynthesizedLocal
(ParameterExpressionType);
893
var param = _bound.
SynthesizedLocal
(ParameterExpressionType);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
167
var stateLocal = F.
SynthesizedLocal
(stateField.Type);
295
_methodValue = F.
SynthesizedLocal
(result.Type);
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
1066
_whenNodeIdentifierLocal ??= _factory.
SynthesizedLocal
(_factory.SpecialType(SpecialType.System_Int32));
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
325
LocalSymbol rhsTemp = _factory.
SynthesizedLocal
(exprType);
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
945
BoundLocal cache = _factory.Local(_factory.
SynthesizedLocal
(receiverType));
952
var intermediateRef = _factory.Local(_factory.
SynthesizedLocal
(receiverType, refKind: RefKind.Ref));
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
1296
var iterationVariable = _factory.
SynthesizedLocal
(enumeratorInfo.ElementType, node.Syntax);
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.cs (1)
96
temp = _factory.
SynthesizedLocal
(receiverType);
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
515
pinnedTemp = factory.
SynthesizedLocal
(initializerType, isPinned: true);
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (1)
424
LocalSymbol disposableVar = _factory.
SynthesizedLocal
(idisposableTypeSymbol);
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (1)
59
var outLocal = _factory.
SynthesizedLocal
(localType);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
443
LocalSymbol tempSymbol = _factory.
SynthesizedLocal
(operandType);
Lowering\SpillSequenceSpiller.cs (1)
1056
var cache = _F.Local(_F.
SynthesizedLocal
(receiverType));
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
541
var sacrificialTemp = F.
SynthesizedLocal
(type, refKind: RefKind.Ref);
Lowering\StateMachineRewriter\StateMachineRewriter.cs (2)
289
LocalSymbol stateMachineVariable = F.
SynthesizedLocal
(frameType, null);
423
var resultVariable = F.
SynthesizedLocal
(stateMachineType, null);
Symbols\Synthesized\Records\SynthesizedRecordToString.cs (1)
59
var builderLocalSymbol = F.
SynthesizedLocal
(stringBuilder);