Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (10)
147return _factory.AssignmentExpression(output, access);
155return _factory.AssignmentExpression(output, _localRewriter.MakePropertyAccess(_factory.Syntax, input, property, LookupResultKind.Viable, property.Type, isLeftOfAssignment: false));
235return _factory.AssignmentExpression(output, evaluated);
247return _factory.AssignmentExpression(output, _factory.Indexer(input, e.Property, _factory.Literal(e.Index)));
272return _factory.AssignmentExpression(output, access);
298return _factory.AssignmentExpression(output, access);
476sideEffect = _factory.AssignmentExpression(output, _factory.As(input, typeEvaluation1.Type));
491sideEffect = _factory.AssignmentExpression(output, _factory.Convert(baseType, input));
571addCode(_factory.AssignmentExpression(inputTemp, loweredInput));
651addCode(_factory.AssignmentExpression(tempToHoldInput, expr));
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (4)
441cleanup.Add(F.AssignmentExpression(F.Field(F.This(), field), F.NullOrDefault(field.Type)));
560return F.Sequence(ImmutableArray.Create(sacrificialTemp), sideEffects.ToImmutableAndFree(), F.AssignmentExpression(F.Local(sacrificialTemp), replacement, isRef: true));
716sideEffects.Add(F.AssignmentExpression(replacement, expr));
938return F.Assignment(F.Field(F.This(), stateField), F.AssignmentExpression(F.Local(cachedState), F.Literal(stateNumber)));