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