49 references to AssignmentExpression
Microsoft.CodeAnalysis.CSharp (49)
FlowAnalysis\FlowAnalysisPass.cs (3)
130F.AssignmentExpression( 143F.AssignmentExpression( 152F.AssignmentExpression(
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (2)
557var storePending = _F.AssignmentExpression( 671assignSource = _F.AssignmentExpression(
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (2)
241F.ExpressionStatement(F.AssignmentExpression(F.Field(F.This(), stateField), F.Literal(StateMachineState.FinishedState))); 630ImmutableArray.Create<BoundExpression>(F.AssignmentExpression(F.Local(thisTemp), F.This())),
Lowering\ClosureConversion\ClosureConversion.cs (2)
1713result = F.Coalesce(cache, F.AssignmentExpression(cache, result)); 1725result = F.Coalesce(cache, F.AssignmentExpression(cache, result));
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
848initializers.Add(_bound.AssignmentExpression(parameterReference, parameter)); 901ImmutableArray.Create<BoundExpression>(_bound.AssignmentExpression(parameterReference, parameter)),
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.cs (1)
193ImmutableArray.Create<BoundExpression>(factory.AssignmentExpression(factory.Local(local), condition)),
Lowering\LocalRewriter\DelegateCacheRewriter.cs (1)
55var rewrittenNode = _factory.Coalesce(boundCacheField, _factory.AssignmentExpression(boundCacheField, boundDelegateCreation));
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\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
290return _factory.AssignmentExpression(
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
965_factory.Sequence(new BoundExpression[] { _factory.AssignmentExpression(cache, intermediateRef) }, cache), 983_factory.Sequence(new BoundExpression[] { _factory.AssignmentExpression(cache, assignmentToTemp.Right) }, cache),
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.cs (1)
168_factory.AssignmentExpression(_factory.Local(temp), loweredReceiver),
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (4)
363var tempAssignment = factory.AssignmentExpression( 524BoundExpression arrayTempInit = factory.AssignmentExpression(factory.Local(pinnedTemp), initializerExpr); 564BoundExpression consequenceAssignment = factory.AssignmentExpression(factory.Local(localSymbol), convertedFirstElementAddress); 567BoundExpression alternativeAssignment = factory.AssignmentExpression(factory.Local(localSymbol), factory.Null(localType));
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (1)
291_sideEffectBuilder.Add(_factory.AssignmentExpression(left, right));
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (1)
65var handlerConstructionAssignment = _factory.AssignmentExpression(builderTemp, (BoundExpression)VisitObjectCreationExpression(construction));
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (1)
653_factory.AssignmentExpression(callSiteFieldAccess, _factory.Call(null, callSiteFactoryMethod, binderConstruction)),
Lowering\SpillSequenceSpiller.cs (2)
1058receiverBuilder.AddStatement(_F.ExpressionStatement(new BoundComplexConditionalReceiver(node.Syntax, cache, _F.Sequence(new[] { _F.AssignmentExpression(cache, receiver) }, cache), receiverType) { WasCompilerGenerated = true })); 1316_F.AssignmentExpression(_F.Local(clone), receiver),
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (4)
429cleanup.Add(F.AssignmentExpression(F.Field(F.This(), field), F.NullOrDefault(field.Type))); 543return F.Sequence(ImmutableArray.Create(sacrificialTemp), sideEffects.ToImmutableAndFree(), F.AssignmentExpression(F.Local(sacrificialTemp), replacement, isRef: true)); 698sideEffects.Add(F.AssignmentExpression(replacement, expr)); 920return F.Assignment(F.Field(F.This(), stateField), F.AssignmentExpression(F.Local(cachedState), F.Literal(stateNumber)));
Lowering\SyntheticBoundNodeFactory.cs (1)
410return ExpressionStatement(AssignmentExpression(left, right, isRef));
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
86f.AssignmentExpression(
Symbols\Synthesized\SynthesizedEmbeddedNativeIntegerAttributeSymbol.cs (2)
76factory.AssignmentExpression( 93factory.AssignmentExpression(
Symbols\Synthesized\SynthesizedEmbeddedNullableAttributeSymbol.cs (2)
80factory.AssignmentExpression( 94factory.AssignmentExpression(
Symbols\Synthesized\SynthesizedEmbeddedNullableContextAttributeSymbol.cs (1)
64factory.AssignmentExpression(
Symbols\Synthesized\SynthesizedEmbeddedNullablePublicOnlyAttributeSymbol.cs (1)
61factory.AssignmentExpression(
Symbols\Synthesized\SynthesizedEmbeddedRefSafetyRulesAttributeSymbol.cs (1)
56factory.AssignmentExpression(