83 references to Assign
System.Activities (10)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (1)
1128
return Expression.
Assign
(expr1, expr2);
System\Activities\Expressions\MethodCallExpressionHelper.cs (8)
34
assignVariablesExpressions.Add(Expression.
Assign
(variable,
41
assignVariablesExpressions.Add(Expression.
Assign
(variable,
48
assignVariablesBackExpressions.Add(Expression.
Assign
(Expression.ArrayAccess(objectArray, Expression.Constant(i)),
53
assignVariablesBackExpressions.Add(Expression.
Assign
(Expression.ArrayAccess(objectArray, Expression.Constant(i)),
87
assignTempInstanceExpression = Expression.
Assign
(tempInstance, Expression.Convert(targetInstance, methodInfo.DeclaringType));
119
resultAssign = Expression.
Assign
(result,
124
resultAssign = Expression.
Assign
(result, callExpression);
163
assignVariablesBackExpressions.Add(Expression.
Assign
(targetInstance, Expression.Convert(tempInstance, typeof(object))));
System\Activities\ExpressionUtilities.cs (1)
1189
newExpression = Expression.
Assign
(left, right);
System.Core (71)
Microsoft\Scripting\Actions\BindingRestrictions.cs (1)
299
Expression.
Assign
(
Microsoft\Scripting\Actions\CallSite.cs (21)
371
body.Add(Expression.
Assign
(@this, Expression.Convert(site, @this.Type)));
383
body.Add(Expression.
Assign
(originalRule, Expression.Field(@this, "Target")));
402
Expression.
Assign
(
467
Expression.
Assign
(result, Expression.Invoke(rule, new TrueReadOnlyCollection<Expression>(@params))),
475
Expression getRule = Expression.
Assign
(rule, Expression.ArrayAccess(applicable, index));
489
Expression.
Assign
(applicable, Expression.Call(typeof(CallSiteOps), "GetRules", typeArgs, @this)),
493
Expression.
Assign
(count, Expression.ArrayLength(applicable)),
494
Expression.
Assign
(index, Expression.Constant(0)),
505
Expression.
Assign
(
536
Expression.
Assign
(
545
Expression.
Assign
(
592
Expression.
Assign
(result, Expression.Invoke(rule, new TrueReadOnlyCollection<Expression>(@params))),
611
getRule = Expression.
Assign
(
613
Expression.
Assign
(rule, Expression.ArrayAccess(applicable, index))
616
body.Add(Expression.
Assign
(index, Expression.Constant(0)));
617
body.Add(Expression.
Assign
(count, Expression.ArrayLength(applicable)));
637
body.Add(Expression.
Assign
(rule, Expression.Constant(null, rule.Type)));
643
Expression.
Assign
(
675
Expression setOldTarget = Expression.
Assign
(
680
getRule = Expression.
Assign
(
682
Expression.
Assign
(
Microsoft\Scripting\Actions\DynamicObject.cs (6)
391
Expression.
Assign
(
557
methodName != "TryBinaryOperation" ? Expression.
Assign
(callArgs, Expression.NewArrayInit(typeof(object), callArgsValue)) : Expression.
Assign
(callArgs, callArgsValue[0]),
614
Expression.
Assign
(callArgs, Expression.NewArrayInit(typeof(object), callArgsValue)),
623
Expression.
Assign
(result, Expression.Convert(value, typeof(object)))
674
Expression.
Assign
(callArgs, Expression.NewArrayInit(typeof(object), callArgsValue)),
Microsoft\Scripting\Ast\BinaryExpression.cs (11)
205
return Expression.
Assign
(_left, r);
224
Expression e1 = Expression.
Assign
(temp1, member.Expression);
234
e2 = Expression.
Assign
(temp2, e2);
237
Expression e3 = Expression.
Assign
(Expression.MakeMemberAccess(temp1, member.Member), temp2);
268
exprs.Add(Expression.
Assign
(tempObj, index.Object));
275
exprs.Add(Expression.
Assign
(tempArg, arg));
289
exprs.Add(Expression.
Assign
(tempValue, op));
292
exprs.Add(Expression.
Assign
(tempIndex, tempValue));
426
Assign
(left, _left),
434
Assign
(right, _right),
907
return
Assign
(left, right);
Microsoft\Scripting\Ast\MemberInitExpression.cs (3)
103
block[0] = Expression.
Assign
(objVar, objExpression);
115
block[0] = Expression.
Assign
(listVar, listExpression);
128
return Expression.
Assign
(member, ((MemberAssignment)binding).Expression);
Microsoft\Scripting\Ast\TypeBinaryExpression.cs (2)
120
Expression.
Assign
(parameter, expression),
136
getType = Expression.Block(new[] { temp }, Expression.
Assign
(temp, getType), temp);
Microsoft\Scripting\Ast\UnaryExpression.cs (12)
175
return
Assign
(_operand, FunctionalOp(_operand));
185
Assign
(temp, _operand),
186
Assign
(_operand, FunctionalOp(temp)),
198
var initTemp1 =
Assign
(temp1, member.Expression);
209
Assign
(member, FunctionalOp(member))
223
Assign
(temp2, member),
224
Assign
(member, FunctionalOp(temp2)),
252
block[i] =
Assign
(temps[i], index.Object);
257
block[i] =
Assign
(temps[i], arg);
263
block[i] =
Assign
(temps[i], index);
266
block[i++] =
Assign
(index, FunctionalOp(lastTemp));
270
block[i++] =
Assign
(index, FunctionalOp(index));
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (4)
605
Expression.
Assign
(
643
Expression.
Assign
(switchValue, node.SwitchValue),
646
Expression.
Assign
(switchIndex, Expression.Constant(nullCase)),
650
Expression.
Assign
(switchIndex, Expression.Constant(-1))
Microsoft\Scripting\Compiler\StackSpiller.Bindings.cs (6)
105
block[0] = Expression.
Assign
(memberTemp, member);
116
Expression.
Assign
(Expression.MakeMemberAccess(target, _binding.Member), memberTemp)
175
block[0] = Expression.
Assign
(memberTemp, member);
187
Expression.
Assign
(Expression.MakeMemberAccess(target, _binding.Member), memberTemp)
224
Expression.
Assign
(memberTemp, _rhs),
225
Expression.
Assign
(member, memberTemp),
Microsoft\Scripting\Compiler\StackSpiller.cs (4)
274
node = Expression.
Assign
(node.Left, right.Node);
297
node = Expression.
Assign
(node.Left.ReduceExtensions(), node.Right);
619
comma[0] = Expression.
Assign
(tempNew, rewrittenNew);
670
comma[0] = Expression.
Assign
(tempNew, rewrittenNew);
Microsoft\Scripting\Compiler\StackSpiller.Temps.cs (1)
273
save = Expression.
Assign
(temp, expression);
System.Data.Entity (2)
System\Data\Objects\Internal\EntityProxyTypeInfo.cs (1)
104
Expression.
Assign
(
System\Data\SqlClient\SqlSpatialDataReader.cs (1)
96
Expression.
Assign
(binarySerializable, Expression.New(spatialType)),