148 references to UserData
System.Workflow.Activities (130)
Common\ValidationHelpers.cs (3)
118
duplicateError.
UserData
[typeof(Activity)] = activity;
239
if (!error.
UserData
.Contains(typeof(Activity)))
240
error.
UserData
[typeof(Activity)] = activity;
CorrelationValidator.cs (17)
430
error.
UserData
.Add(typeof(EventInfo), ((EventInfo)memberInfo).Name);
432
error.
UserData
.Add(typeof(MethodInfo), methodInfo.Name);
441
error.
UserData
.Add(typeof(EventInfo), ((EventInfo)memberInfo).Name);
443
error.
UserData
.Add(typeof(MethodInfo), methodInfo.Name);
454
error.
UserData
.Add(typeof(EventInfo), ((EventInfo)memberInfo).Name);
456
error.
UserData
.Add(typeof(MethodInfo), methodInfo.Name);
457
error.
UserData
.Add(typeof(ParameterInfo), param.Name);
479
error.
UserData
.Add(typeof(CorrelationParameterAttribute), interfaceType.Name);
486
error.
UserData
.Add(typeof(CorrelationParameterAttribute), interfaceType.Name);
577
error.
UserData
.Add(typeof(CorrelationAliasAttribute), memberInfo.Name);
603
error.
UserData
.Add(typeof(CorrelationParameterAttribute), (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name);
610
error.
UserData
.Add(typeof(CorrelationAliasAttribute), (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name);
619
error.
UserData
.Add(typeof(CorrelationInitializerAttribute), interfaceType.Name);
646
error.
UserData
.Add(typeof(CorrelationParameterAttribute), interfaceType.Name);
676
error.
UserData
.Add(typeof(CorrelationAliasAttribute), memberInfo.Name);
684
error.
UserData
.Add(typeof(CorrelationAliasAttribute), memberInfo.Name);
692
error.
UserData
.Add(typeof(CorrelationAliasAttribute), memberInfo.Name);
Rules\DeclarativeExpressionConditionDeclaration.cs (1)
168
error.
UserData
[RuleUserDataKeys.ErrorObject] = this;
Rules\Expressions.cs (77)
51
error.
UserData
[RuleUserDataKeys.ErrorObject] = expression;
120
error.
UserData
[RuleUserDataKeys.ErrorObject] = expression;
194
error.
UserData
[RuleUserDataKeys.ErrorObject] = binaryExpr;
205
error.
UserData
[RuleUserDataKeys.ErrorObject] = binaryExpr;
214
error.
UserData
[RuleUserDataKeys.ErrorObject] = binaryExpr.Left;
226
error.
UserData
[RuleUserDataKeys.ErrorObject] = binaryExpr;
235
error.
UserData
[RuleUserDataKeys.ErrorObject] = binaryExpr.Right;
272
error.
UserData
[RuleUserDataKeys.ErrorObject] = binaryExpr;
295
error.
UserData
[RuleUserDataKeys.ErrorObject] = binaryExpr;
316
error.
UserData
[RuleUserDataKeys.ErrorObject] = binaryExpr;
330
error.
UserData
[RuleUserDataKeys.ErrorObject] = binaryExpr;
339
error.
UserData
[RuleUserDataKeys.ErrorObject] = binaryExpr;
349
error.
UserData
[RuleUserDataKeys.ErrorObject] = binaryExpr;
907
error.
UserData
[RuleUserDataKeys.ErrorObject] = fieldRefExpr;
931
error.
UserData
[RuleUserDataKeys.ErrorObject] = fieldRefExpr;
949
error.
UserData
[RuleUserDataKeys.ErrorObject] = fieldRefExpr;
959
error.
UserData
[RuleUserDataKeys.ErrorObject] = fieldRefExpr;
968
error.
UserData
[RuleUserDataKeys.ErrorObject] = fieldRefExpr;
1062
error.
UserData
[RuleUserDataKeys.ErrorObject] = propGetExpr;
1086
error.
UserData
[RuleUserDataKeys.ErrorObject] = propGetExpr;
1104
error.
UserData
[RuleUserDataKeys.ErrorObject] = propGetExpr;
1114
error.
UserData
[RuleUserDataKeys.ErrorObject] = propGetExpr;
1125
error.
UserData
[RuleUserDataKeys.ErrorObject] = propGetExpr;
1278
error.
UserData
[RuleUserDataKeys.ErrorObject] = invokeExpr;
1287
error.
UserData
[RuleUserDataKeys.ErrorObject] = invokeExpr;
1295
error.
UserData
[RuleUserDataKeys.ErrorObject] = invokeExpr;
1319
error.
UserData
[RuleUserDataKeys.ErrorObject] = invokeExpr;
1336
error.
UserData
[RuleUserDataKeys.ErrorObject] = invokeExpr;
1346
error.
UserData
[RuleUserDataKeys.ErrorObject] = argExpr;
1392
error.
UserData
[RuleUserDataKeys.ErrorObject] = invokeExpr;
1410
error.
UserData
[RuleUserDataKeys.ErrorObject] = invokeExpr;
1734
error.
UserData
[RuleUserDataKeys.ErrorObject] = directionExpr;
1743
error.
UserData
[RuleUserDataKeys.ErrorObject] = directionExpr;
1752
error.
UserData
[RuleUserDataKeys.ErrorObject] = directionExpr.Expression;
1892
error.
UserData
[RuleUserDataKeys.ErrorObject] = typeRefExpr;
1901
error.
UserData
[RuleUserDataKeys.ErrorObject] = typeRefExpr;
1997
error.
UserData
[RuleUserDataKeys.ErrorObject] = castExpr;
2005
error.
UserData
[RuleUserDataKeys.ErrorObject] = castExpr;
2014
error.
UserData
[RuleUserDataKeys.ErrorObject] = castExpr.Expression;
2022
error.
UserData
[RuleUserDataKeys.ErrorObject] = castExpr;
2044
error.
UserData
[RuleUserDataKeys.ErrorObject] = castExpr;
2106
error.
UserData
[RuleUserDataKeys.ErrorObject] = castExpr;
2116
error.
UserData
[RuleUserDataKeys.ErrorObject] = castExpr;
2269
error.
UserData
[RuleUserDataKeys.ErrorObject] = indexerExpr;
2277
error.
UserData
[RuleUserDataKeys.ErrorObject] = indexerExpr;
2285
error.
UserData
[RuleUserDataKeys.ErrorObject] = indexerExpr;
2309
error.
UserData
[RuleUserDataKeys.ErrorObject] = indexerExpr;
2323
error.
UserData
[RuleUserDataKeys.ErrorObject] = indexerExpr;
2334
error.
UserData
[RuleUserDataKeys.ErrorObject] = indexerExpr;
2343
error.
UserData
[RuleUserDataKeys.ErrorObject] = argExpr;
2376
error.
UserData
[RuleUserDataKeys.ErrorObject] = indexerExpr;
2394
error.
UserData
[RuleUserDataKeys.ErrorObject] = indexerExpr;
2646
error.
UserData
[RuleUserDataKeys.ErrorObject] = arrayIndexerExpr;
2654
error.
UserData
[RuleUserDataKeys.ErrorObject] = arrayIndexerExpr;
2662
error.
UserData
[RuleUserDataKeys.ErrorObject] = arrayIndexerExpr;
2685
error.
UserData
[RuleUserDataKeys.ErrorObject] = arrayIndexerExpr;
2695
error.
UserData
[RuleUserDataKeys.ErrorObject] = arrayIndexerExpr;
2705
error.
UserData
[RuleUserDataKeys.ErrorObject] = arrayIndexerExpr;
2717
error.
UserData
[RuleUserDataKeys.ErrorObject] = arrayIndexerExpr;
2728
error.
UserData
[RuleUserDataKeys.ErrorObject] = argExpr;
2737
error.
UserData
[RuleUserDataKeys.ErrorObject] = argExpr;
2764
error.
UserData
[RuleUserDataKeys.ErrorObject] = argExpr;
2922
error.
UserData
[RuleUserDataKeys.ErrorObject] = createExpression;
2930
error.
UserData
[RuleUserDataKeys.ErrorObject] = createExpression;
2955
error.
UserData
[RuleUserDataKeys.ErrorObject] = createExpression;
2990
error.
UserData
[RuleUserDataKeys.ErrorObject] = createExpression;
3000
error.
UserData
[RuleUserDataKeys.ErrorObject] = createExpression;
3222
error.
UserData
[RuleUserDataKeys.ErrorObject] = createExpression;
3230
error.
UserData
[RuleUserDataKeys.ErrorObject] = createExpression;
3248
error.
UserData
[RuleUserDataKeys.ErrorObject] = createExpression;
3262
error.
UserData
[RuleUserDataKeys.ErrorObject] = createExpression;
3280
error.
UserData
[RuleUserDataKeys.ErrorObject] = createExpression;
3293
error.
UserData
[RuleUserDataKeys.ErrorObject] = createExpression;
3312
error.
UserData
[RuleUserDataKeys.ErrorObject] = createExpression;
3317
error.
UserData
[RuleUserDataKeys.ErrorObject] = createExpression;
3343
error.
UserData
[RuleUserDataKeys.ErrorObject] = createExpression;
3355
error.
UserData
[RuleUserDataKeys.ErrorObject] = createExpression;
Rules\Parser\Parser.cs (3)
2813
object errorObject = error.
UserData
[RuleUserDataKeys.ErrorObject];
2829
object errorObject = error.
UserData
[RuleUserDataKeys.ErrorObject];
2845
object errorObject = error.
UserData
[RuleUserDataKeys.ErrorObject];
Rules\Rule.cs (2)
171
foreach (DictionaryEntry de in oldError.
UserData
)
172
newError.
UserData
[de.Key] = de.Value;
Rules\RuleAction.cs (5)
97
error.
UserData
[RuleUserDataKeys.ErrorObject] = this;
115
error.
UserData
[RuleUserDataKeys.ErrorObject] = this;
154
error.
UserData
[RuleUserDataKeys.ErrorObject] = this;
165
error.
UserData
[RuleUserDataKeys.ErrorObject] = this;
240
error.
UserData
[RuleUserDataKeys.ErrorObject] = this;
Rules\RuleAttributes.cs (6)
99
error.
UserData
[RuleUserDataKeys.ErrorObject] = this;
125
error.
UserData
[RuleUserDataKeys.ErrorObject] = this;
156
error.
UserData
[RuleUserDataKeys.ErrorObject] = this;
332
error.
UserData
[RuleUserDataKeys.ErrorObject] = this;
348
error.
UserData
[RuleUserDataKeys.ErrorObject] = this;
375
error.
UserData
[RuleUserDataKeys.ErrorObject] = this;
Rules\RuleSet.cs (1)
108
error.
UserData
[RuleUserDataKeys.ErrorObject] = r;
Rules\RuleValidation.cs (8)
992
error.
UserData
[RuleUserDataKeys.ErrorObject] = expression;
1073
error.
UserData
[RuleUserDataKeys.ErrorObject] = newParent;
2326
error.
UserData
[RuleUserDataKeys.ErrorObject] = parentExpr;
2337
error.
UserData
[RuleUserDataKeys.ErrorObject] = parentExpr;
2348
error.
UserData
[RuleUserDataKeys.ErrorObject] = parentExpr;
3715
error.
UserData
[RuleUserDataKeys.ErrorObject] = typeRef;
3752
error.
UserData
[RuleUserDataKeys.ErrorObject] = typeRef;
3882
error.
UserData
[RuleUserDataKeys.ErrorObject] = type;
Rules\Statements.cs (6)
44
error.
UserData
[RuleUserDataKeys.ErrorObject] = exprStatement;
55
error.
UserData
[RuleUserDataKeys.ErrorObject] = exprStatement;
122
error.
UserData
[RuleUserDataKeys.ErrorObject] = assignStatement;
136
error.
UserData
[RuleUserDataKeys.ErrorObject] = assignStatement;
153
error.
UserData
[RuleUserDataKeys.ErrorObject] = assignStatement;
173
error.
UserData
[RuleUserDataKeys.ErrorObject] = assignStatement;
Rules\Walker.cs (1)
129
error.
UserData
[RuleUserDataKeys.ErrorObject] = expression;
System.Workflow.ComponentModel (14)
AuthoringOM\Compiler\XomlCompiler.cs (3)
834
identifierError.
UserData
[typeof(Activity)] = currentActivity;
848
identifierError.
UserData
[typeof(Activity)] = currentActivity;
1098
error.
UserData
[typeof(Activity)] = rootActivity;
AuthoringOM\Compiler\XomlCompilerHelpers.cs (7)
553
if (error.
UserData
!= null)
555
foreach (DictionaryEntry entry in error.
UserData
)
591
Activity activity = error.
UserData
[typeof(Activity)] as Activity;
608
Activity activity = error.
UserData
[typeof(Activity)] as Activity;
628
Activity activity = error.
UserData
[typeof(Activity)] as Activity;
676
if (!error.
UserData
.Contains(typeof(Activity)))
677
error.
UserData
[typeof(Activity)] = activity;
AuthoringOM\Design\ActivityDesigner.cs (1)
468
foreach (DictionaryEntry entry in error.
UserData
)
Shared\ValidationHelpers.cs (3)
117
duplicateError.
UserData
[typeof(Activity)] = activity;
238
if (!error.
UserData
.Contains(typeof(Activity)))
239
error.
UserData
[typeof(Activity)] = activity;
System.Workflow.Runtime (2)
WorkflowDefinitionDispenser.cs (2)
237
if (!error.
UserData
.Contains(typeof(Activity)))
238
error.
UserData
[typeof(Activity)] = root;
System.WorkflowServices (2)
System\Workflow\Runtime\WorkflowDefinitionContext.cs (2)
115
if (!error.
UserData
.Contains(typeof(Activity)))
117
error.
UserData
[typeof(Activity)] = rootActivity;