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