109 references to Errors
System.Workflow.Activities (109)
Rules\DeclarativeExpressionConditionDeclaration.cs (1)
399
ValidationErrorCollection actualConditionErrors = ruleValidator.
Errors
;
Rules\Expressions.cs (70)
52
validation.
Errors
.Add(error);
121
validation.
Errors
.Add(error);
195
validation.
Errors
.Add(error);
206
validation.
Errors
.Add(error);
227
validation.
Errors
.Add(error);
273
validation.
Errors
.Add(error);
296
validation.
Errors
.Add(error);
317
validation.
Errors
.Add(error);
331
validation.
Errors
.Add(error);
340
validation.
Errors
.Add(error);
350
validation.
Errors
.Add(error);
908
validation.
Errors
.Add(error);
932
validation.
Errors
.Add(error);
950
validation.
Errors
.Add(error);
960
validation.
Errors
.Add(error);
969
validation.
Errors
.Add(error);
1063
validation.
Errors
.Add(error);
1087
validation.
Errors
.Add(error);
1105
validation.
Errors
.Add(error);
1115
validation.
Errors
.Add(error);
1126
validation.
Errors
.Add(error);
1279
validation.
Errors
.Add(error);
1288
validation.
Errors
.Add(error);
1296
validation.
Errors
.Add(error);
1320
validation.
Errors
.Add(error);
1337
validation.
Errors
.Add(error);
1393
validation.
Errors
.Add(error);
1411
validation.
Errors
.Add(error);
1735
validation.
Errors
.Add(error);
1744
validation.
Errors
.Add(error);
1893
validation.
Errors
.Add(error);
1902
validation.
Errors
.Add(error);
1998
validation.
Errors
.Add(error);
2006
validation.
Errors
.Add(error);
2023
validation.
Errors
.Add(error);
2045
validation.
Errors
.Add(error);
2107
validation.
Errors
.Add(error);
2117
validation.
Errors
.Add(error);
2270
validation.
Errors
.Add(error);
2278
validation.
Errors
.Add(error);
2286
validation.
Errors
.Add(error);
2310
validation.
Errors
.Add(error);
2324
validation.
Errors
.Add(error);
2335
validation.
Errors
.Add(error);
2377
validation.
Errors
.Add(error);
2395
validation.
Errors
.Add(error);
2647
validation.
Errors
.Add(error);
2655
validation.
Errors
.Add(error);
2663
validation.
Errors
.Add(error);
2686
validation.
Errors
.Add(error);
2696
validation.
Errors
.Add(error);
2706
validation.
Errors
.Add(error);
2718
validation.
Errors
.Add(error);
2729
validation.
Errors
.Add(error);
2765
validation.
Errors
.Add(error);
2923
validation.
Errors
.Add(error);
2931
validation.
Errors
.Add(error);
2956
validation.
Errors
.Add(error);
2991
validation.
Errors
.Add(error);
3001
validation.
Errors
.Add(error);
3223
validation.
Errors
.Add(error);
3231
validation.
Errors
.Add(error);
3249
validation.
Errors
.Add(error);
3263
validation.
Errors
.Add(error);
3281
validation.
Errors
.Add(error);
3294
validation.
Errors
.Add(error);
3313
validation.
Errors
.Add(error);
3318
validation.
Errors
.Add(error);
3344
validation.
Errors
.Add(error);
3356
validation.
Errors
.Add(error);
Rules\Parser\Parser.cs (9)
961
validation.
Errors
.Clear();
1020
validation.
Errors
.Clear();
1049
validation.
Errors
.Clear();
1060
validation.
Errors
.Clear();
2807
if (exprInfo == null && Validator.
Errors
.Count > 0)
2810
ValidationError error = Validator.
Errors
[0];
2823
if (!CodeDomStatementWalker.Validate(Validator, statement) && Validator.
Errors
.Count > 0)
2826
ValidationError error = Validator.
Errors
[0];
2842
ValidationError error = Validator.
Errors
[0];
Rules\Rule.cs (5)
140
int oldErrorCount = validation.
Errors
.Count;
143
validation.
Errors
.Add(new ValidationError(Messages.RuleNameMissing, ErrorNumbers.Error_InvalidConditionName));
147
validation.
Errors
.Add(new ValidationError(Messages.MissingRuleCondition, ErrorNumbers.Error_MissingRuleCondition));
160
ValidationErrorCollection errors = validation.
Errors
;
195
validator.
Errors
.Add(new ValidationError(Messages.UnreachableCodeHalt, ErrorNumbers.Warning_UnreachableCode, true));
Rules\RuleEngine.cs (1)
36
throw new RuleSetValidationException(message, validation.
Errors
);
Rules\RuleSet.cs (2)
120
if (validation.
Errors
== null || validation.
Errors
.Count == 0)
Rules\RuleSetReference.cs (1)
154
ValidationErrorCollection actualRuleSetErrors = validation.
Errors
;
Rules\RuleValidation.cs (12)
988
if (resultType != null ||
Errors
.Count == 0)
993
Errors
.Add(error);
997
return
Errors
.Count == 0;
1061
this.
Errors
.Add(error);
1074
Errors
.Add(error);
2327
Errors
.Add(error);
2338
Errors
.Add(error);
2349
Errors
.Add(error);
3716
Errors
.Add(error);
3753
Errors
.Add(error);
3833
Errors
.Add(error);
3883
Errors
.Add(error);
Rules\Statements.cs (6)
45
validation.
Errors
.Add(error);
56
validation.
Errors
.Add(error);
123
validation.
Errors
.Add(error);
137
validation.
Errors
.Add(error);
154
validation.
Errors
.Add(error);
174
validation.
Errors
.Add(error);
Rules\Walker.cs (2)
131
if (validation.
Errors
== null)
146
validation.
Errors
.Add(error);