133 references to RuleExpressionWalker
System.Workflow.Activities (133)
Rules\DeclarativeExpressionConditionDeclaration.cs (4)
126
(this._expression != null &&
RuleExpressionWalker
.Match(this._expression, declarativeConditionDefinition.Expression))));
142
RuleExpressionWalker
.Decompile(decompilation, _expression, null);
192
RuleExpressionWalker
.AnalyzeUsage(analyzer, _expression, true, false, null);
203
ruleCondition._expression =
RuleExpressionWalker
.Clone(this._expression);
Rules\Design\Dialogs\RuleConditionDialog.cs (1)
89
this.ruleExpressionCondition.Expression =
RuleExpressionWalker
.Clone(expression);
Rules\Executor.cs (1)
678
object result =
RuleExpressionWalker
.Evaluate(context, expression).Value;
Rules\Expressions.cs (102)
219
lhsExprInfo =
RuleExpressionWalker
.Validate(validation, binaryExpr.Left, false);
240
rhsExprInfo =
RuleExpressionWalker
.Validate(validation, binaryExpr.Right, false);
440
RuleExpressionWalker
.AnalyzeUsage(analysis, binaryExpr.Left, true, false, null);
441
RuleExpressionWalker
.AnalyzeUsage(analysis, binaryExpr.Right, true, false, null);
449
object lhsValue =
RuleExpressionWalker
.Evaluate(execution, binaryExpr.Left).Value;
457
object rhsValue =
RuleExpressionWalker
.Evaluate(execution, binaryExpr.Right).Value;
472
object rhsValue =
RuleExpressionWalker
.Evaluate(execution, binaryExpr.Right).Value;
479
object rhsValue =
RuleExpressionWalker
.Evaluate(execution, binaryExpr.Right).Value;
786
RuleExpressionWalker
.Decompile(stringBuilder, leftExpr, new CodeCastExpression());
845
RuleExpressionWalker
.Decompile(stringBuilder, rightExpr, new CodeCastExpression());
859
RuleExpressionWalker
.Decompile(stringBuilder, leftExpr, binaryExpr);
861
RuleExpressionWalker
.Decompile(stringBuilder, rightExpr, binaryExpr);
874
newOp.Left =
RuleExpressionWalker
.Clone(binaryExpr.Left);
875
newOp.Right =
RuleExpressionWalker
.Clone(binaryExpr.Right);
885
&&
RuleExpressionWalker
.Match(binaryExpr.Left, comperandBinary.Left)
886
&&
RuleExpressionWalker
.Match(binaryExpr.Right, comperandBinary.Right));
916
RuleExpressionInfo targetExprInfo =
RuleExpressionWalker
.Validate(validation, fieldRefExpr.TargetObject, false);
985
RuleExpressionWalker
.AnalyzeUsage(analysis, targetObject, isRead, isWritten, new RulePathQualifier(fieldRefExpr.FieldName, qualifier));
991
object target =
RuleExpressionWalker
.Evaluate(execution, fieldRefExpr.TargetObject).Value;
1020
RuleExpressionWalker
.Decompile(stringBuilder, targetObject, fieldRefExpr);
1031
newField.TargetObject =
RuleExpressionWalker
.Clone(fieldRefExpr.TargetObject);
1041
&&
RuleExpressionWalker
.Match(fieldRefExpr.TargetObject, newField.TargetObject));
1071
RuleExpressionInfo targetExprInfo =
RuleExpressionWalker
.Validate(validation, propGetExpr.TargetObject, false);
1195
RuleExpressionWalker
.AnalyzeUsage(analysis, targetObject, isRead, isWritten, new RulePathQualifier(pi.Name, qualifier));
1203
object target =
RuleExpressionWalker
.Evaluate(execution, propGetExpr.TargetObject).Value;
1231
RuleExpressionWalker
.Decompile(stringBuilder, targetObject, propGetExpr);
1242
newProperty.TargetObject =
RuleExpressionWalker
.Clone(propGetExpr.TargetObject);
1252
&&
RuleExpressionWalker
.Match(propGetExpr.TargetObject, newProperty.TargetObject));
1306
RuleExpressionInfo targetExprInfo =
RuleExpressionWalker
.Validate(validation, invokeExpr.Method.TargetObject, false);
1353
RuleExpressionInfo argExprInfo =
RuleExpressionWalker
.Validate(validation, argExpr, false);
1488
RuleExpressionWalker
.AnalyzeUsage(analysis, targetObject, true, false, null);
1500
RuleExpressionWalker
.AnalyzeUsage(analysis, argExpr, true, false, null);
1511
object target =
RuleExpressionWalker
.Evaluate(execution, invokeExpr.Method.TargetObject).Value;
1553
RuleExpressionResult argResult =
RuleExpressionWalker
.Evaluate(execution, invokeExpr.Parameters[i]);
1596
RuleExpressionResult argResult =
RuleExpressionWalker
.Evaluate(execution, invokeExpr.Parameters[i]);
1646
RuleExpressionWalker
.Decompile(stringBuilder, targetObject, invokeExpr);
1670
RuleExpressionWalker
.Decompile(stringBuilder, paramExpr, null);
1684
newMethod.Parameters.Add(
RuleExpressionWalker
.Clone(argument));
1692
newReference.TargetObject =
RuleExpressionWalker
.Clone(oldReference.TargetObject);
1706
if (!
RuleExpressionWalker
.Match(invokeExpr.Method.TargetObject, newMethod.Method.TargetObject))
1712
if (!
RuleExpressionWalker
.Match(invokeExpr.Parameters[i], newMethod.Parameters[i]))
1764
paramExprInfo =
RuleExpressionWalker
.Validate(validation, directionExpr.Expression, false);
1767
paramExprInfo =
RuleExpressionWalker
.Validate(validation, directionExpr.Expression, true);
1773
paramExprInfo =
RuleExpressionWalker
.Validate(validation, directionExpr.Expression, true);
1779
paramExprInfo =
RuleExpressionWalker
.Validate(validation, directionExpr.Expression, false);
1833
RuleExpressionWalker
.AnalyzeUsage(analysis, paramExpr, argIsRead, argIsWritten, argQualifier);
1841
return
RuleExpressionWalker
.Evaluate(execution, directionExpr.Expression);
1857
RuleExpressionWalker
.Decompile(stringBuilder, directionExpr.Expression, directionExpr);
1865
newDirection.Expression =
RuleExpressionWalker
.Clone(directionExpr.Expression);
1874
RuleExpressionWalker
.Match(directionExpr.Expression, newDirection.Expression));
2028
RuleExpressionInfo operandInfo =
RuleExpressionWalker
.Validate(validation, castExpr.Expression, false);
2151
RuleExpressionWalker
.AnalyzeUsage(analysis, castExpr.Expression, true, false, null);
2161
object operandValue =
RuleExpressionWalker
.Evaluate(execution, castExpr.Expression).Value;
2222
RuleExpressionWalker
.Decompile(stringBuilder, targetObject, castExpr);
2233
newCast.Expression =
RuleExpressionWalker
.Clone(castExpr.Expression);
2243
RuleExpressionWalker
.Match(castExpr.Expression, castComperand.Expression);
2296
RuleExpressionInfo targetExprInfo =
RuleExpressionWalker
.Validate(validation, indexerExpr.TargetObject, false);
2349
RuleExpressionInfo argExprInfo =
RuleExpressionWalker
.Validate(validation, argExpr, false);
2465
RuleExpressionWalker
.AnalyzeUsage(analysis, targetObject, isRead, isWritten, qualifier);
2477
RuleExpressionWalker
.AnalyzeUsage(analysis, argExpr, true, false, null);
2500
object target =
RuleExpressionWalker
.Evaluate(execution, indexerExpr.TargetObject).Value;
2523
RuleExpressionResult argResult =
RuleExpressionWalker
.Evaluate(execution, indexerExpr.Indices[i]);
2547
RuleExpressionResult argResult =
RuleExpressionWalker
.Evaluate(execution, indexerExpr.Indices[i]);
2581
RuleExpressionWalker
.Decompile(stringBuilder, targetObject, indexerExpr);
2583
RuleExpressionWalker
.Decompile(stringBuilder, indexerExpr.Indices[0], null);
2587
RuleExpressionWalker
.Decompile(stringBuilder, indexerExpr.Indices[i], null);
2596
CodeExpression targetObject =
RuleExpressionWalker
.Clone(indexerExpr.TargetObject);
2600
indices[i] =
RuleExpressionWalker
.Clone(indexerExpr.Indices[i]);
2611
if (!
RuleExpressionWalker
.Match(indexerExpr.TargetObject, indexerComperand.TargetObject))
2619
if (!
RuleExpressionWalker
.Match(indexerExpr.Indices[i], indexerComperand.Indices[i]))
2673
RuleExpressionInfo targetExprInfo =
RuleExpressionWalker
.Validate(validation, arrayIndexerExpr.TargetObject, false);
2743
RuleExpressionInfo argExprInfo =
RuleExpressionWalker
.Validate(validation, argExpr, false);
2800
RuleExpressionWalker
.AnalyzeUsage(analysis, arrayIndexerExpr.TargetObject, isRead, isWritten, qualifier);
2804
RuleExpressionWalker
.AnalyzeUsage(analysis, arrayIndexerExpr.Indices[i], true, false, null);
2812
object target =
RuleExpressionWalker
.Evaluate(execution, arrayIndexerExpr.TargetObject).Value;
2829
object argValue =
RuleExpressionWalker
.Evaluate(execution, arrayIndexerExpr.Indices[i]).Value;
2860
RuleExpressionWalker
.Decompile(stringBuilder, targetObject, arrayIndexerExpr);
2862
RuleExpressionWalker
.Decompile(stringBuilder, arrayIndexerExpr.Indices[0], null);
2866
RuleExpressionWalker
.Decompile(stringBuilder, arrayIndexerExpr.Indices[i], null);
2875
CodeExpression targetObject =
RuleExpressionWalker
.Clone(arrayIndexerExpr.TargetObject);
2879
indices[i] =
RuleExpressionWalker
.Clone(arrayIndexerExpr.Indices[i]);
2890
if (!
RuleExpressionWalker
.Match(arrayIndexerExpr.TargetObject, indexerComperand.TargetObject))
2898
if (!
RuleExpressionWalker
.Match(arrayIndexerExpr.Indices[i], indexerComperand.Indices[i]))
2961
RuleExpressionInfo parameterInfo =
RuleExpressionWalker
.Validate(validation, parameter, false);
3015
RuleExpressionWalker
.AnalyzeUsage(analysis, p, true, false, null);
3066
RuleExpressionResult argResult =
RuleExpressionWalker
.Evaluate(execution, createExpression.Parameters[i]);
3102
RuleExpressionResult argResult =
RuleExpressionWalker
.Evaluate(execution, createExpression.Parameters[i]);
3166
RuleExpressionWalker
.Decompile(stringBuilder, paramExpr, null);
3182
newCreate.Parameters.Add(
RuleExpressionWalker
.Clone(p));
3201
if (!
RuleExpressionWalker
.Match(createExpression.Parameters[i], createComperand.Parameters[i]))
3270
RuleExpressionInfo sizeInfo =
RuleExpressionWalker
.Validate(validation, createExpression.SizeExpression, false);
3297
RuleExpressionInfo parameterInfo =
RuleExpressionWalker
.Validate(validation, init, false);
3372
RuleExpressionWalker
.AnalyzeUsage(analysis, createExpression.SizeExpression, true, false, null);
3374
RuleExpressionWalker
.AnalyzeUsage(analysis, p, true, false, null);
3405
RuleExpressionResult sizeResult =
RuleExpressionWalker
.Evaluate(execution, createExpression.SizeExpression);
3426
RuleExpressionResult initializerResult =
RuleExpressionWalker
.Evaluate(execution, initializer);
3444
RuleExpressionWalker
.Decompile(stringBuilder, createExpression.SizeExpression, null);
3465
RuleExpressionWalker
.Decompile(stringBuilder, paramExpr, null);
3482
newCreate.SizeExpression =
RuleExpressionWalker
.Clone(createExpression.SizeExpression);
3484
newCreate.Initializers.Add(
RuleExpressionWalker
.Clone(p));
3502
if (!
RuleExpressionWalker
.Match(createExpression.SizeExpression, createComperand.SizeExpression))
3514
if (!
RuleExpressionWalker
.Match(createExpression.Initializers[i], createComperand.Initializers[i]))
Rules\Parser\Parser.cs (4)
1139
RuleExpressionWalker
.AnalyzeUsage(analysis, pathExpr, false, true, null);
2799
exprInfo =
RuleExpressionWalker
.Validate(Validator, expression, false);
2802
exprInfo =
RuleExpressionWalker
.Validate(Validator, expression, true);
2805
exprInfo =
RuleExpressionWalker
.Validate(Validator, expression, true);
Rules\RuleAttributes.cs (2)
200
RuleExpressionWalker
.AnalyzeUsage(analysis, targetExpression, isRead, isWrite, new RulePathQualifier(suffix, targetQualifier));
239
RuleExpressionWalker
.AnalyzeUsage(analysis, argExpr, isRead, isWrite, qualifier);
Rules\RuleValidation.cs (1)
980
RuleExpressionInfo exprInfo =
RuleExpressionWalker
.Validate(this, expression, false);
Rules\Statements.cs (18)
49
RuleExpressionInfo exprInfo =
RuleExpressionWalker
.Validate(validation, exprStatement.Expression, false);
64
RuleExpressionWalker
.AnalyzeUsage(analysis, exprStatement.Expression, false, false, null);
69
RuleExpressionWalker
.Evaluate(execution, exprStatement.Expression);
81
RuleExpressionWalker
.Decompile(decompilation, exprStatement.Expression, null);
88
&&
RuleExpressionWalker
.Match(exprStatement.Expression, comperandStatement.Expression));
94
newStatement.Expression =
RuleExpressionWalker
.Clone(exprStatement.Expression);
129
lhsExprInfo =
RuleExpressionWalker
.Validate(validation, assignStatement.Left, true);
141
rhsExprInfo =
RuleExpressionWalker
.Validate(validation, assignStatement.Right, false);
189
RuleExpressionWalker
.AnalyzeUsage(analysis, assignStatement.Left, false, true, null);
191
RuleExpressionWalker
.AnalyzeUsage(analysis, assignStatement.Right, true, false, null);
199
RuleExpressionResult leftResult =
RuleExpressionWalker
.Evaluate(execution, assignStatement.Left);
200
RuleExpressionResult rightResult =
RuleExpressionWalker
.Evaluate(execution, assignStatement.Right);
219
RuleExpressionWalker
.Decompile(decompilation, assignStatement.Left, null);
221
RuleExpressionWalker
.Decompile(decompilation, assignStatement.Right, null);
228
&&
RuleExpressionWalker
.Match(assignStatement.Left, comperandStatement.Left)
229
&&
RuleExpressionWalker
.Match(assignStatement.Right, comperandStatement.Right));
235
newStatement.Left =
RuleExpressionWalker
.Clone(assignStatement.Left);
236
newStatement.Right =
RuleExpressionWalker
.Clone(assignStatement.Right);