136 references to Assign
Microsoft.AspNetCore.Components.Endpoints (11)
FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (11)
47Expression.Assign(succeeded, Expression.Constant(true)), 148Expression.Assign( 162Expression.Assign(succeeded, Expression.Constant(false, typeof(bool))), 253Expression.Assign(succeeded, Expression.Constant(false, typeof(bool))))); 278Expression.Assign(succeeded, Expression.Constant(false, typeof(bool))))); 355var propertyConverter = Expression.Assign( 409Expression.Assign(succeeded, Expression.Constant(false, typeof(bool))) 455var constructorParameterConverter = Expression.Assign( 512Expression.Assign(succeeded, Expression.Constant(false, typeof(bool))) 554Expression.Assign(foundValueParam, Expression.Constant(false)), 555Expression.Assign(succeeded, Expression.Constant(true)),
Microsoft.AspNetCore.Http.Extensions (38)
RequestDelegateFactory.cs (25)
362Expression.Assign( 469: Expression.Assign(TargetExpr, Expression.Invoke(targetFactory, FilterContextHttpContextExpr)), 999Expression.Assign(StatusCodeExpr, Expression.Constant(400))), 1016Expression.Assign(StatusCodeExpr, Expression.Constant(400)), 1625Expression.Assign(argumentExpression, initExpression)); 1755Expression.Assign(WasParamCheckFailureExpr, Expression.Constant(true)), 1773Expression.Assign(WasParamCheckFailureExpr, Expression.Constant(true)), 1786Expression.Assign(parameter.ParameterType.IsArray ? Expression.ArrayAccess(argument, index) : argument, Expression.Convert(parsedValue, targetParseType)), 1792Expression.Assign(argument, 1807Expression.Assign(argument, Expression.NewArrayBounds(parameter.ParameterType.GetElementType()!, Expression.ArrayLength(stringArrayExpr!))), 1809Expression.Assign(index, Expression.Constant(0)), 1817Expression.Assign(TempSourceStringExpr, Expression.ArrayIndex(stringArrayExpr!, index)), 1838Expression.Assign(stringArrayExpr!, valueExpression), 1851Expression.Assign(stringArrayExpr!, valueExpression), 1864Expression.Assign(TempSourceStringExpr, valueExpression), 1875Expression.Assign(TempSourceStringExpr, valueExpression), 1912Expression.Assign(argument, valueExpression), 1915Expression.Assign(WasParamCheckFailureExpr, Expression.Constant(true)), 1999Expression.Assign(WasParamCheckFailureExpr, Expression.Constant(true)), 2141var initializeReaderExpr = Expression.Assign( 2149var setMaxRecursionDepthExpr = Expression.Assign( 2200Expression.Assign(formArgument, invokeMapMethodExpr)), 2204Expression.Assign(WasParamCheckFailureExpr, Expression.Constant(true)), 2303Expression.Assign(WasParamCheckFailureExpr, Expression.Constant(true)), 2327Expression.Assign(WasParamCheckFailureExpr, Expression.Constant(true)),
src\Components\Endpoints\src\FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (11)
47Expression.Assign(succeeded, Expression.Constant(true)), 148Expression.Assign( 162Expression.Assign(succeeded, Expression.Constant(false, typeof(bool))), 253Expression.Assign(succeeded, Expression.Constant(false, typeof(bool))))); 278Expression.Assign(succeeded, Expression.Constant(false, typeof(bool))))); 355var propertyConverter = Expression.Assign( 409Expression.Assign(succeeded, Expression.Constant(false, typeof(bool))) 455var constructorParameterConverter = Expression.Assign( 512Expression.Assign(succeeded, Expression.Constant(false, typeof(bool))) 554Expression.Assign(foundValueParam, Expression.Constant(false)), 555Expression.Assign(succeeded, Expression.Constant(true)),
src\Shared\ParameterBindingMethodCache.cs (2)
115Expression.Assign(success, Expression.Call(_enumTryParseMethod, Expression.Constant(type), TempSourceStringExpr, enumAsObject)), 116Expression.Assign(expression,
Microsoft.AspNetCore.Mvc.Abstractions (2)
src\Shared\ParameterBindingMethodCache.cs (2)
115Expression.Assign(success, Expression.Call(_enumTryParseMethod, Expression.Constant(type), TempSourceStringExpr, enumAsObject)), 116Expression.Assign(expression,
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Binders\TryParseModelBinder.cs (2)
134Expression.Assign(modelValue, Expression.Convert(parsedValue, modelValue.Type)), 135Expression.Assign(BindingResultExpression, Expression.Call(SuccessBindingResultMethod, modelValue))),
Microsoft.AspNetCore.OpenApi (2)
src\Shared\ParameterBindingMethodCache.cs (2)
115Expression.Assign(success, Expression.Call(_enumTryParseMethod, Expression.Constant(type), TempSourceStringExpr, enumAsObject)), 116Expression.Assign(expression,
Microsoft.CSharp (3)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (2)
118Expression.Assign(tempForIncrement, Expression.Convert(arg0.Expression, arg0.Value.GetType())), 120Expression.Assign(arg0.Expression, Expression.Convert(tempForIncrement, arg0.Expression.Type)));
Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs (1)
490return Expression.Assign(
Microsoft.Extensions.DependencyInjection (3)
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (3)
22Expression.Assign(ResolvedServices, 28Expression.Assign(Sync, 245BinaryExpression assignExpression = Expression.Assign(
Microsoft.VisualBasic.Core (11)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (11)
330Expression.Assign( 341Expression.Assign(result, fallback), 409Expression.Assign( 419Expression.Assign(result, fallback), 495Expression.Assign( 506Expression.Assign(result, fallback), 564Expression.Assign( 575Expression.Assign(result, fallback), 633Expression.Assign( 644Expression.Assign(result, fallback), 1311writeback.Add(Expression.Assign(arg, Expression.ArrayIndex(array, Expression.Constant(i))))
System.Composition.Hosting (2)
System\Composition\Hosting\Providers\Metadata\MetadataViewProvider.cs (2)
50blockExprs.Add(Expression.Assign(resultVar, Expression.New(parameterlessConstructor))); 60var assign = Expression.Assign(
System.Composition.TypedParts (2)
System\Composition\TypedParts\ActivationFeatures\PropertyInjectionFeature.cs (2)
80var assignTyped = Expression.Assign(typed, Expression.Convert(inst, partType.AsType())); 87var assignment = Expression.Assign(
System.Linq.Expressions (59)
System\Dynamic\BindingRestrictions.cs (1)
321Expression.Assign(
System\Dynamic\DynamicObject.cs (6)
471Expression.Assign( 649method != DynamicObject_TryBinaryOperation ? Expression.Assign(callArgs, Expression.NewObjectArrayInit(callArgsValue)) : Expression.Assign(callArgs, callArgsValue[0]), 709Expression.Assign(callArgs, Expression.NewObjectArrayInit(callArgsValue)), 718Expression.Assign(result, Expression.Convert(value, typeof(object))) 772Expression.Assign(callArgs, Expression.NewObjectArrayInit(callArgsValue)),
System\Linq\Expressions\BinaryExpression.cs (11)
170return Expression.Assign(Left, r); 193Expression e1 = Expression.Assign(temp1, member.Expression); 204e2 = Expression.Assign(temp2, e2); 207Expression e3 = Expression.Assign(Expression.MakeMemberAccess(temp1, member.Member), temp2); 239exprs.UncheckedAdd(Expression.Assign(tempObj, index.Object)); 249exprs.UncheckedAdd(Expression.Assign(tempArg, arg)); 264exprs.UncheckedAdd(Expression.Assign(tempValue, op)); 267exprs.UncheckedAdd(Expression.Assign(tempIndex, tempValue)); 406Assign(left, Left), 415Assign(right, Right), 927ExpressionType.Assign => Assign(left, right),
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (4)
695Expression.Assign( 734Expression.Assign(switchValue, node.SwitchValue), 737Expression.Assign(switchIndex, Utils.Constant(nullCase)), 741Expression.Assign(switchIndex, Utils.Constant(-1))
System\Linq\Expressions\MemberInitExpression.cs (3)
75block[0] = Assign(objVar, objExpression); 91block[0] = Assign(listVar, listExpression); 107MemberBindingType.Assignment => Expression.Assign(member, ((MemberAssignment)binding).Expression),
System\Linq\Expressions\TypeBinaryExpression.cs (2)
98Expression.Assign(parameter, Expression), 120Expression.Assign(temp, getType),
System\Linq\Expressions\UnaryExpression.cs (12)
158return Assign(Operand, FunctionalOp(Operand)); 169Assign(temp, Operand), 170Assign(Operand, FunctionalOp(temp)), 187BinaryExpression initTemp1 = Assign(temp1, member.Expression); 200Assign(member, FunctionalOp(member)) 216Assign(temp2, member), 217Assign(member, FunctionalOp(temp2)), 247block[i] = Assign(temps[i], index.Object); 253block[i] = Assign(temps[i], arg); 260block[i] = Assign(temps[i], index); 263block[i++] = Assign(index, FunctionalOp(lastTemp)); 269block[i++] = Assign(index, FunctionalOp(index));
System\Runtime\CompilerServices\CallSite.cs (20)
377body.UncheckedAdd(Expression.Assign(@this, Expression.Convert(site, @this.Type))); 389body.UncheckedAdd(Expression.Assign(originalRule, target)); 403Expression.Assign( 443Expression.Assign(result!, invokeRule), 451Expression getApplicableRuleAtIndex = Expression.Assign(rule, Expression.ArrayAccess(applicable, new TrueReadOnlyCollection<Expression>(index))); 466Expression.Assign( 478Expression.Assign(count, Expression.ArrayLength(applicable)), 479Expression.Assign(index, Utils.Constant(0)), 490Expression.Assign( 518Expression.Assign( 527Expression.Assign( 549Expression.Assign(result!, invokeRule), 570getRule = Expression.Assign( 575body.UncheckedAdd(Expression.Assign(index, Utils.Constant(0))); 576body.UncheckedAdd(Expression.Assign(count, Expression.ArrayLength(applicable))); 594body.UncheckedAdd(Expression.Assign(rule, Expression.Constant(null, rule.Type))); 600Expression.Assign( 606Expression setOldTarget = Expression.Assign( 611getRule = Expression.Assign( 613Expression.Assign(
System.Private.Xml (1)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
2078var assignExpr = Expression.Assign(fieldExpr, valueParam);