7 writes to Expression
System.Activities (2)
System\Activities\ActivityUtilities.cs (1)
442argument.Expression = (ActivityWithResult)argumentReference;
System\Activities\CodeActivityPublicEnvironmentAccessor.cs (1)
147argument.Expression = expression;
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\MorphHelpers.cs (1)
56morphed.Expression = morphedExpression;
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionConverter.cs (1)
78target.Expression = expression;
System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionModelItemConverter.cs (1)
76target.Expression = activityWithResult;
System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (1)
242newArgument.Expression = morphedExpression;
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
1435newArgument.Expression = newExpression;
47 references to Expression
System.Activities (35)
Microsoft\VisualBasic\Activities\VisualBasicNameShadowingConstraint.cs (1)
25boundExpression = runtimeArgument.BoundArgument.Expression;
System\Activities\ActivityInstance.cs (2)
945executor.ScheduleExpression(argument.BoundArgument.Expression, this, this.Environment, location, workItem); 971executor.ScheduleExpression(argument.BoundArgument.Expression, this, this.Environment, location, null);
System\Activities\ActivityUtilities.cs (1)
984SetupForProcessing(argument.BoundArgument.Expression, true, ref nextActivity, ref activitiesRemaining);
System\Activities\Argument.cs (7)
127return this.Expression == null; 157return ActivityWithResultValueSerializer.CanConvertToStringWrapper(this.Expression, context); 175return ActivityWithResultValueSerializer.ConvertToStringWrapper(this.Expression, context); 267if (this.Expression != null) 269if (this.Expression.Result != null && !this.Expression.Result.IsEmpty) 275ActivityWithResult actualExpression = this.Expression;
System\Activities\Debugger\XamlDebuggerXmlReader.cs (2)
672if (argumentInstance != null && argumentInstance.Expression is IValueSerializableExpression && isValueNode) 674instance = argumentInstance.Expression;
System\Activities\DynamicUpdate\ActivityComparer.cs (9)
199return CompareChildEquality(currentArgument.BoundArgument.Expression, currentArgument.Owner.MemberOf, originalArgument.BoundArgument.Expression, originalArgument.Owner.MemberOf); 419if (oldRuntimeArgument.IsBound && oldRuntimeArgument.BoundArgument.Expression != null && oldRuntimeArgument.BoundArgument.Expression.MemberOf == originalActivity.MemberOf) 422this.privateMap.AddEntry(new DynamicUpdateMapEntry(oldRuntimeArgument.BoundArgument.Expression.InternalId, 0)); 460if (updatedArg.BoundArgument != null && updatedArg.BoundArgument.Expression != null) 462Fx.Assert(originalArg.BoundArgument != null && originalArg.BoundArgument.Expression != null, "both Expressions are either non-null or null."); 463this.PrepareToMatchSubtree(updatedArg.BoundArgument.Expression, originalArg.BoundArgument.Expression);
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (2)
144activity.RuntimeArguments.Select(a => a.IsBound ? a.BoundArgument.Expression : null)); 698Activity expressionRoot = newArgument.BoundArgument.Expression;
System\Activities\Expressions\New.cs (1)
68if (argument == null || argument.Expression == null)
System\Activities\Runtime\ResolveNextArgumentWorkItem.cs (2)
78if (argument.IsBound && argument.BoundArgument.Expression != null) 80return argument.BoundArgument.Expression.UseOldFastPath;
System\Activities\RuntimeArgument.cs (1)
318return this.BoundArgument.Expression.InitializeRelationship(this, ref validationErrors);
System\Activities\Validation\ActivityValidationServices.cs (1)
590if (object.ReferenceEquals(boundRuntimeArgument.BoundArgument.Expression, expressionActivity))
System\Activities\Validation\ValidationHelper.cs (1)
294if (argument.BoundArgument != null && argument.BoundArgument.Expression != null)
System\Activities\WorkflowInspectionServices.cs (2)
97if (argument.BoundArgument != null && argument.BoundArgument.Expression != null) 99yield return argument.BoundArgument.Expression;
System\Activities\XamlIntegration\CompiledExpressionActivityVisitor.cs (2)
110Activity expression = runtimeArgument.BoundArgument.Expression; 338Activity expression = runtimeArgument.BoundArgument.Expression;
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
694boundExpression = runtimeArgument.BoundArgument.Expression;
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\MorphHelpers.cs (1)
40ActivityWithResult originalExpression = original.Expression;
System.Activities.Presentation (11)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
670object expression = (property.Value is Argument) ? ((Argument)property.Value).Expression : null;
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlObjectReaderWithSequence.cs (3)
107return argument.Expression; 141if (argumentObject != null && argumentObject.Expression is IValueSerializableExpression) 143realObject = argumentObject.Expression;
System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentSearchableStringConverter.cs (1)
16results.Add(ExpressionHelper.GetExpressionString(((Argument)value).Expression));
System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (4)
180ExpressionReplacement expressionReplacement = ComputeExpressionReplacement(assignWithRValueToFix.Value.Expression, assignWithRValueToFix, context, argumentAccessorWrapperCache, expectedReturnType); 193if (remainingAssign.Value != null && remainingAssign.Value.Expression != null) 195ActivityWithResult expression = remainingAssign.Value.Expression; 220ArgumentAccessorWrapper argumentAccessorWrapper = argumentAccessorWrappers.FirstOrDefault(wrapper => object.ReferenceEquals(wrapper.Argument.Expression, expression));
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
1416succeeded = ExpressionHelper.TryMorphExpression(currentArgument.Expression, false, newType, this.Context, out newExpression);
System.Activities.Presentation\System\Activities\Presentation\Xaml\ActivityBuilderHelper.cs (1)
85autoVariable.Default = argument.Expression;