33 references to SynthesizedLocal
Microsoft.CodeAnalysis.CSharp (33)
Compiler\MethodBodySynthesizer.Lowered.cs (4)
55LocalSymbol i = F.SynthesizedLocal(F.SpecialType(SpecialType.System_Int32)); 56LocalSymbol hashCode = F.SynthesizedLocal(F.SpecialType(SpecialType.System_UInt32)); 153LocalSymbol i = F.SynthesizedLocal(F.SpecialType(SpecialType.System_Int32)); 154LocalSymbol hashCode = F.SynthesizedLocal(F.SpecialType(SpecialType.System_UInt32));
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (3)
407LocalSymbol obj = _F.SynthesizedLocal(_F.SpecialType(SpecialType.System_Object)); 435var ex = _F.SynthesizedLocal(_F.WellKnownType(WellKnownType.System_Exception)); 555var catchTemp = _F.SynthesizedLocal(catchType);
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (5)
150var exceptionLocal = F.SynthesizedLocal(F.WellKnownType(WellKnownType.System_Exception)); 549var criticalNotifyCompletedTemp = F.SynthesizedLocal( 553var notifyCompletionTemp = F.SynthesizedLocal( 557LocalSymbol thisTemp = (F.CurrentType.TypeKind == TypeKind.Class) ? F.SynthesizedLocal(F.CurrentType) : null; 618LocalSymbol thisTemp = (F.CurrentType.TypeKind == TypeKind.Class) ? F.SynthesizedLocal(F.CurrentType) : null;
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (2)
336var versionSymbol = F.SynthesizedLocal(F.SpecialType(SpecialType.System_Int16)); 386instSymbol = F.SynthesizedLocal(this.stateMachineType);
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
841var param = _bound.SynthesizedLocal(ParameterExpressionType); 893var param = _bound.SynthesizedLocal(ParameterExpressionType);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
172var stateLocal = F.SynthesizedLocal(stateField.Type); 301_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)
325LocalSymbol rhsTemp = _factory.SynthesizedLocal(exprType);
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
944BoundLocal cache = _factory.Local(_factory.SynthesizedLocal(receiverType)); 951var intermediateRef = _factory.Local(_factory.SynthesizedLocal(receiverType, refKind: RefKind.Ref));
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
1341var iterationVariable = _factory.SynthesizedLocal(enumeratorInfo.ElementType, node.Syntax);
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.cs (1)
96temp = _factory.SynthesizedLocal(receiverType);
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
515pinnedTemp = factory.SynthesizedLocal(initializerType, isPinned: true);
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (1)
424LocalSymbol disposableVar = _factory.SynthesizedLocal(idisposableTypeSymbol);
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (1)
59var outLocal = _factory.SynthesizedLocal(localType);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
443LocalSymbol tempSymbol = _factory.SynthesizedLocal(operandType);
Lowering\SpillSequenceSpiller.cs (1)
1056var cache = _F.Local(_F.SynthesizedLocal(receiverType));
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
558var sacrificialTemp = F.SynthesizedLocal(type, refKind: RefKind.Ref);
Lowering\StateMachineRewriter\StateMachineRewriter.cs (2)
293LocalSymbol stateMachineVariable = F.SynthesizedLocal(frameType, null); 427var resultVariable = F.SynthesizedLocal(stateMachineType, null);
Symbols\Synthesized\Records\SynthesizedRecordToString.cs (1)
59var builderLocalSymbol = F.SynthesizedLocal(stringBuilder);