304 references to ValidationError
System.Workflow.Activities (201)
Common\ValidationHelpers.cs (5)
58
error = new
ValidationError
(SR.GetString(SR.Error_PropertyNotSet, propName), ErrorNumbers.Error_PropertyNotSet);
67
error = new
ValidationError
(SR.GetString(SR.Error_InvalidIdentifier, propName, e.Message), ErrorNumbers.Error_InvalidIdentifier);
82
error = new
ValidationError
(SR.GetString(SR.Error_PropertyNotSet, propName), ErrorNumbers.Error_PropertyNotSet);
92
error = new
ValidationError
(SR.GetString(SR.Error_InvalidIdentifier, propName, SR.GetString(SR.Error_InvalidLanguageIdentifier, identifier)), ErrorNumbers.Error_InvalidIdentifier);
116
ValidationError duplicateError = new
ValidationError
(SR.GetString(SR.Error_DuplicatedActivityID, activity.QualifiedName), ErrorNumbers.Error_DuplicatedActivityID);
Conditional.cs (3)
149
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_ConditionalLessThanOneChildren), ErrorNumbers.Error_IfElseLessThanOneChildren));
156
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_ConditionalDeclNotAllConditionalBranchDecl), ErrorNumbers.Error_IfElseNotAllIfElseBranchDecl));
173
return new
ValidationError
(SR.GetString(SR.Error_DynamicActivity, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.ExecutionStatus)), ErrorNumbers.Error_DynamicActivity);
ConditionalBranch.cs (1)
73
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_ConditionalBranchParentNotConditional), ErrorNumbers.Error_ConditionalBranchParentNotConditional));
ConstrainedGroup.cs (2)
177
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_NestedConstrainedGroupConditions, propertyName), ErrorNumbers.Error_NestedConstrainedGroupConditions);
824
return new
ValidationError
(SR.GetString(SR.Error_DynamicActivity2, activity.QualifiedName, activity.ExecutionStatus, activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);
CorrelationValidator.cs (19)
40
ValidationError error = new
ValidationError
(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_GenericMethodsNotSupported), interfaceType.FullName), ErrorNumbers.Error_GenericMethodsNotSupported);
49
ValidationError error = new
ValidationError
(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ExternalDataExchangeException), interfaceType.FullName), ErrorNumbers.Error_TypeNotExist);
74
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_MissingMethodName, activity.Name, ((CallExternalMethodActivity)activity).MethodName), ErrorNumbers.Error_MissingMethodName));
79
ValidationError error = new
ValidationError
(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_GenericMethodsNotSupported), methodInfo.Name), ErrorNumbers.Error_GenericMethodsNotSupported);
94
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_MissingEventName, activity.Name, ((HandleExternalEventActivity)activity).EventName), ErrorNumbers.Error_MissingMethodName));
158
ValidationError error = new
ValidationError
(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_OwnerActivityIsNotParent), activity.QualifiedName), ErrorNumbers.Error_ParameterPropertyNotSet);
427
ValidationError error = new
ValidationError
(
438
ValidationError error = new
ValidationError
(
451
ValidationError error = new
ValidationError
(
478
ValidationError error = new
ValidationError
(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationAttributeInvalid, typeof(CorrelationParameterAttribute).Name, "Name", interfaceType.Name), ErrorNumbers.Error_CorrelationAttributeInvalid);
485
ValidationError error = new
ValidationError
(SR.GetString(CultureInfo.CurrentCulture, SR.Error_DuplicateCorrelationAttribute, typeof(CorrelationParameterAttribute).Name, parameterAttribute.Name, interfaceType.Name), ErrorNumbers.Error_DuplicateCorrelationAttribute);
576
ValidationError error = new
ValidationError
(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationParameterNotFound, typeof(CorrelationAliasAttribute).Name, paramName, memberInfo.Name, typeof(CorrelationParameterAttribute).Name, interfaceType.Name), ErrorNumbers.Error_CorrelationParameterNotFound);
602
ValidationError error = new
ValidationError
(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationInvalid, (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name, paramName), ErrorNumbers.Error_CorrelationInvalid);
609
ValidationError error = new
ValidationError
(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationTypeNotConsistent, paramPath, typeof(CorrelationAliasAttribute).Name, (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name, paramType.Name, ((Type)paramTypes[paramName]).Name, paramName, interfaceType.Name), ErrorNumbers.Error_CorrelationTypeNotConsistent);
618
ValidationError error = new
ValidationError
(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationInitializerNotDefinied, interfaceType.Name), ErrorNumbers.Error_CorrelationInitializerNotDefinied);
645
ValidationError error = new
ValidationError
(SR.GetString(CultureInfo.CurrentCulture, SR.Error_MissingCorrelationParameterAttribute, interfaceType.Name), ErrorNumbers.Error_MissingCorrelationParameterAttribute);
675
ValidationError error = new
ValidationError
(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationAttributeInvalid, typeof(CorrelationAliasAttribute).Name, "Name", memberInfo.Name), ErrorNumbers.Error_CorrelationAttributeInvalid);
683
ValidationError error = new
ValidationError
(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationAttributeInvalid, typeof(CorrelationAliasAttribute).Name, "Path", memberInfo.Name), ErrorNumbers.Error_CorrelationAttributeInvalid);
691
ValidationError error = new
ValidationError
(SR.GetString(CultureInfo.CurrentCulture, SR.Error_DuplicateCorrelationAttribute, typeof(CorrelationAliasAttribute).Name, aliasAttribute.Name, memberInfo.Name), ErrorNumbers.Error_DuplicateCorrelationAttribute);
Delay.cs (1)
161
errors.Add(new
ValidationError
(SR.GetString(SR.Error_NegativeValue, new object[] { delay.TimeoutDuration.ToString(), "TimeoutDuration" }), ErrorNumbers.Error_NegativeValue));
EventDriven.cs (2)
70
validationErrors.Add(new
ValidationError
(SR.GetError_EventDrivenParentNotListen(), ErrorNumbers.Error_EventDrivenParentNotListen));
87
validationErrors.Add(new
ValidationError
(message, errorNumber));
EventHandlers.cs (3)
477
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_MustHaveParent), ErrorNumbers.Error_EventHandlersDeclParentNotScope));
483
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_EventHandlersDeclParentNotScope, eventHandlers.Parent.QualifiedName), ErrorNumbers.Error_EventHandlersDeclParentNotScope));
494
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_ListenNotAllEventDriven), ErrorNumbers.Error_ListenNotAllEventDriven));
EventHandlingScope.cs (4)
230
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_MoreThanTwoActivitiesInEventHandlingScope, compositeActivity.QualifiedName), ErrorNumbers.Error_MoreThanTwoActivitiesInEventHandlingScope));
234
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_MoreThanOneEventHandlersDecl, compositeActivity.GetType().Name), ErrorNumbers.Error_ScopeMoreThanOneEventHandlersDecl));
250
return new
ValidationError
(SR.GetString(SR.Error_DynamicActivity2, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.ExecutionStatus), activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);
254
return new
ValidationError
(SR.GetString(SR.Error_DynamicActivity3, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.ExecutionStatus), activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);
InvokeSchedule.cs (6)
201
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_TypePropertyInvalid, "TargetWorkflow"), ErrorNumbers.Error_PropertyNotSet);
221
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_TypeIsNotRootActivity, "TargetWorkflow"), ErrorNumbers.Error_TypeIsNotRootActivity);
239
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_GetCalleeWorkflow, invokeWorkflow.TargetWorkflow), ErrorNumbers.Error_GetCalleeWorkflow);
251
ValidationError validationError = new
ValidationError
(SR.GetString(SR.Error_ExecWithActivationReceive), ErrorNumbers.Error_ExecWithActivationReceive);
276
ValidationError validationError = new
ValidationError
(SR.GetString(SR.Error_ExecInAtomicScope), ErrorNumbers.Error_ExecInAtomicScope);
287
ValidationError validationError = new
ValidationError
(SR.GetString(SR.Error_ParameterNotFound, paramBinding.ParameterName), ErrorNumbers.Error_ParameterNotFound);
InvokeWebService.cs (2)
435
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_TypePropertyInvalid, "ProxyClass"), ErrorNumbers.Error_PropertyNotSet);
455
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_MethodNotExists, "MethodName", invokeWebService.MethodName), ErrorNumbers.Error_MethodNotExists);
Listen.cs (2)
301
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_ListenLessThanTwoChildren), ErrorNumbers.Error_ListenLessThanTwoChildren));
313
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_ListenNotAllEventDriven), ErrorNumbers.Error_ListenNotAllEventDriven));
Parallel.cs (2)
206
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_ParallelLessThanTwoChildren), ErrorNumbers.Error_ParallelLessThanTwoChildren));
220
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_ParallelNotAllSequence), ErrorNumbers.Error_ParallelNotAllSequence));
Rules\ArithmeticLiteral.cs (1)
321
error = new
ValidationError
(message, ErrorNumbers.Error_OperandTypesIncompatible);
Rules\DeclarativeExpressionConditionDeclaration.cs (6)
167
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_EmptyExpression);
383
ValidationError validationError = new
ValidationError
(message, ErrorNumbers.Error_ConditionNotFound);
409
ValidationError validationError = new
ValidationError
(genericErrorMsg, errorNumber);
417
ValidationError validationError = new
ValidationError
(genericErrorMsg + " " + actualError.ErrorText, errorNumber);
430
ValidationError validationError = new
ValidationError
(message, ErrorNumbers.Error_DuplicateConditions);
448
ValidationError validationError = new
ValidationError
(message, ErrorNumbers.Error_InvalidConditionName);
Rules\Expressions.cs (50)
50
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_InvalidAssignTarget);
119
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_InvalidAssignTarget);
193
error = new
ValidationError
(message, ErrorNumbers.Error_InvalidAssignTarget);
204
error = new
ValidationError
(message, ErrorNumbers.Error_LeftOperandMissing);
213
error = new
ValidationError
(message, ErrorNumbers.Error_CodeExpressionNotHandled);
225
error = new
ValidationError
(message, ErrorNumbers.Error_RightOperandMissing);
234
error = new
ValidationError
(message, ErrorNumbers.Error_CodeExpressionNotHandled);
329
error = new
ValidationError
(message, ErrorNumbers.Error_LeftOperandInvalidType);
338
error = new
ValidationError
(message, ErrorNumbers.Error_RightOperandInvalidType);
348
error = new
ValidationError
(message, ErrorNumbers.Error_CodeExpressionNotHandled);
906
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_ParameterNotSet);
930
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_BindingTypeMissing);
948
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_CannotResolveMember);
958
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_CouldNotDetermineMemberType);
967
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_InvalidAssignTarget);
1061
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_ParameterNotSet);
1085
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_BindingTypeMissing);
1103
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_CannotResolveMember);
1113
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_CouldNotDetermineMemberType);
1124
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_CannotResolveMember);
1277
error = new
ValidationError
(message, ErrorNumbers.Error_InvalidAssignTarget);
1286
error = new
ValidationError
(message, ErrorNumbers.Error_ParameterNotSet);
1318
error = new
ValidationError
(message, ErrorNumbers.Error_BindingTypeMissing);
1335
error = new
ValidationError
(message, ErrorNumbers.Error_ParameterNotSet);
1345
error = new
ValidationError
(message, ErrorNumbers.Error_CodeExpressionNotHandled);
1409
error = new
ValidationError
(message, ErrorNumbers.Error_CouldNotDetermineMemberType);
1733
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_InvalidAssignTarget);
1751
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_CodeExpressionNotHandled);
1900
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_InvalidAssignTarget);
1996
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_InvalidAssignTarget);
2013
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_CodeExpressionNotHandled);
2043
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_ParameterNotSet);
2115
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_ParameterNotSet);
2308
error = new
ValidationError
(message, ErrorNumbers.Error_ParameterNotSet);
2342
error = new
ValidationError
(message, ErrorNumbers.Error_CodeExpressionNotHandled);
2393
error = new
ValidationError
(message, ErrorNumbers.Error_CannotResolveMember);
2694
error = new
ValidationError
(message, ErrorNumbers.Error_CannotIndexType);
2704
error = new
ValidationError
(message, ErrorNumbers.Error_ArrayIndexBadRank);
2736
error = new
ValidationError
(message, ErrorNumbers.Error_CodeExpressionNotHandled);
2763
error = new
ValidationError
(message, ErrorNumbers.Error_ArrayIndexBadType);
2921
error = new
ValidationError
(message, ErrorNumbers.Error_InvalidAssignTarget);
2954
error = new
ValidationError
(message, ErrorNumbers.Error_ParameterNotSet);
2989
error = new
ValidationError
(message, ErrorNumbers.Error_MethodNotExists);
2999
error = new
ValidationError
(message, ErrorNumbers.Error_MethodNotExists);
3221
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_InvalidAssignTarget);
3247
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_ParameterNotSet);
3279
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_ParameterNotSet);
3292
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_ParameterNotSet);
3316
error = new
ValidationError
(message, ErrorNumbers.Error_OperandTypesIncompatible);
3354
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_OperandTypesIncompatible);
Rules\Literal.cs (5)
436
error = new
ValidationError
(message, ErrorNumbers.Error_OperandTypesIncompatible);
460
error = new
ValidationError
(message2, ErrorNumbers.Error_OperandTypesIncompatible);
554
error = new
ValidationError
(message, ErrorNumbers.Error_CodeExpressionNotHandled);
778
error = new
ValidationError
(message, ErrorNumbers.Error_OperandTypesIncompatible);
796
error = new
ValidationError
(message, ErrorNumbers.Error_OperandTypesIncompatible);
Rules\RuleAction.cs (1)
153
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_InvalidUpdate);
Rules\RuleAttributes.cs (2)
98
error = new
ValidationError
(message, ErrorNumbers.Error_InvalidRuleAttributeParameter);
155
error = new
ValidationError
(message, ErrorNumbers.Error_UnknownFieldOrProperty);
Rules\RuleSetReference.cs (4)
138
ValidationError validationError = new
ValidationError
(message, ErrorNumbers.Error_RuleSetNotFound);
166
ValidationError validationError = new
ValidationError
(actualError.ErrorText, errorNumber);
175
ValidationError validationError = new
ValidationError
(genericErrorMsg + " " + actualError.ErrorText, errorNumber);
206
ValidationError validationError = new
ValidationError
(message, ErrorNumbers.Error_InvalidRuleSetName);
Rules\RuleValidation.cs (31)
991
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_ConditionMustBeBoolean);
1072
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_CyclicalExpression);
1269
error = new
ValidationError
(message, ErrorNumbers.Error_OperandTypesIncompatible);
1370
error = new
ValidationError
(message2, ErrorNumbers.Error_OperandTypesIncompatible);
1460
error = new
ValidationError
(message, ErrorNumbers.Error_OperandTypesIncompatible);
1612
error = new
ValidationError
(message2, ErrorNumbers.Error_OperandTypesIncompatible);
1909
error = new
ValidationError
(message, ErrorNumbers.Error_OperandTypesIncompatible);
2276
error = new
ValidationError
(e.Message, ErrorNumbers.Error_OperandTypesIncompatible);
2325
ValidationError error = new
ValidationError
(message, errorNumber);
2336
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_CannotResolveMember);
2347
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_CannotResolveMember);
2530
error = new
ValidationError
(message, ErrorNumbers.Error_MethodDirectionMismatch);
2541
error = new
ValidationError
(message, ErrorNumbers.Error_MethodArgumentTypeMismatch);
2553
error = new
ValidationError
(message, ErrorNumbers.Error_MethodArgumentTypeMismatch);
3137
return new
ValidationError
(message, ErrorNumbers.Error_MethodArgCountMismatch);
3164
error = new
ValidationError
(message, ErrorNumbers.Error_MethodNotExists);
3182
error = new
ValidationError
(message, ErrorNumbers.Error_CannotResolveMember);
3205
error = new
ValidationError
(message, ErrorNumbers.Error_MethodNotExists);
3223
error = new
ValidationError
(message, ErrorNumbers.Error_CannotResolveMember);
3462
return new
ValidationError
(message, ErrorNumbers.Error_MethodArgCountMismatch);
3479
error = new
ValidationError
(message, ErrorNumbers.Error_MethodOverloadNotFound);
3507
return new
ValidationError
(message, ErrorNumbers.Error_MethodArgCountMismatch);
3524
error = new
ValidationError
(message, ErrorNumbers.Error_MethodOverloadNotFound);
3548
error = new
ValidationError
(message, ErrorNumbers.Error_IndexerCountMismatch);
3562
error = new
ValidationError
(message, ErrorNumbers.Error_IndexerNotFound);
3579
error = new
ValidationError
(message, ErrorNumbers.Error_CannotResolveMember);
3652
return new
ValidationError
(message, ErrorNumbers.Error_IndexerCountMismatch);
3669
error = new
ValidationError
(message, ErrorNumbers.Error_IndexerOverloadNotFound);
3714
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_UnableToResolveType);
3751
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_UnableToResolveType);
3881
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_TypeNotAuthorized);
Rules\Statements.cs (1)
171
error = new
ValidationError
(message, ErrorNumbers.Error_OperandTypesIncompatible);
Rules\Walker.cs (1)
128
ValidationError error = new
ValidationError
(message, ErrorNumbers.Error_CodeExpressionNotHandled);
SetState.cs (1)
143
validationErrors.Add(new
ValidationError
(SR.GetError_SetStateOnlyWorksOnStateMachineWorkflow(), ErrorNumbers.Error_SetStateOnlyWorksOnStateMachineWorkflow));
StateFinalizationActivity.cs (3)
55
validationErrors.Add(new
ValidationError
(SR.GetError_StateFinalizationParentNotState(), ErrorNumbers.Error_StateHandlerParentNotState));
67
validationErrors.Add(new
ValidationError
(
75
validationErrors.Add(new
ValidationError
(SR.GetError_EventActivityNotValidInStateFinalization(), ErrorNumbers.Error_EventActivityNotValidInStateHandler));
StateInitialization.cs (4)
55
validationErrors.Add(new
ValidationError
(SR.GetError_StateInitializationParentNotState(), ErrorNumbers.Error_StateHandlerParentNotState));
67
validationErrors.Add(new
ValidationError
(
77
validationErrors.Add(new
ValidationError
(SR.GetError_EventActivityNotValidInStateInitialization(), ErrorNumbers.Error_EventActivityNotValidInStateHandler));
106
validationErrors.Add(new
ValidationError
(
StateValidator.cs (9)
45
validationErrors.Add(new
ValidationError
(SR.GetError_StateMachineWorkflowMustBeARootActivity(), ErrorNumbers.Error_StateMachineWorkflowMustBeARootActivity));
55
validationErrors.Add(new
ValidationError
(SR.GetError_InvalidStateActivityParent(), ErrorNumbers.Error_InvalidStateActivityParent));
88
validationErrors.Add(new
ValidationError
(SR.GetError_BlackBoxCustomStateNotSupported(), ErrorNumbers.Error_BlackBoxCustomStateNotSupported));
103
return new
ValidationError
(SR.GetString(SR.Error_DynamicActivity2, activity.QualifiedName, activity.ExecutionStatus, activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);
117
return new
ValidationError
(
127
return new
ValidationError
(
192
validationErrors.Add(new
ValidationError
(
219
validationErrors.Add(new
ValidationError
(
359
validationErrors.Add(new
ValidationError
(
Task.cs (1)
1246
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_GeneratorShouldContainSingleActivity), ErrorNumbers.Error_GeneratorShouldContainSingleActivity));
WebServiceFault.cs (8)
202
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_DuplicateWebServiceFaultFound, activity.Name, webServiceFault.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceFaultFound));
204
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_DuplicateWebServiceResponseFound, activity.Name, webServiceFault.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceResponseFound));
222
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_WebServiceReceiveNotValid, webServiceFault.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotValid));
231
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_WebServiceReceiveNotFound, webServiceFault.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotFound));
242
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured));
249
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured));
257
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured));
266
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_WebServiceFaultNotNeeded), ErrorNumbers.Error_WebServiceFaultNotNeeded));
WebServiceReceive.cs (8)
493
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_ActivationActivityNotFirst), ErrorNumbers.Error_ActivationActivityNotFirst);
501
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_ActivationActivityInsideLoop), ErrorNumbers.Error_ActivationActivityInsideLoop);
511
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_WebServiceReceiveNotMarkedActivate), ErrorNumbers.Error_WebServiceReceiveNotMarkedActivate);
528
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_TypePropertyInvalid, "InterfaceType"), ErrorNumbers.Error_PropertyNotSet);
534
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_InterfaceTypeNotInterface, "InterfaceType"), ErrorNumbers.Error_InterfaceTypeNotInterface);
549
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_MethodNotExists, "MethodName", webServiceReceive.MethodName), ErrorNumbers.Error_MethodNotExists);
587
ValidationError validationError = new
ValidationError
(SR.GetString(SR.Error_TypeNotPublicSerializable, paramName, paramType.FullName), ErrorNumbers.Error_TypeNotPublicSerializable);
629
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_WebServiceResponseNotFound), ErrorNumbers.Error_WebServiceResponseNotFound));
WebServiceResponse.cs (11)
326
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_DuplicateWebServiceResponseFound, activity.QualifiedName, webServiceResponse.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceResponseFound));
328
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_DuplicateWebServiceFaultFound, activity.QualifiedName, webServiceResponse.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceFaultFound));
345
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_WebServiceReceiveNotValid, webServiceResponse.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotValid));
354
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_WebServiceReceiveNotFound, webServiceResponse.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotFound));
365
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured));
371
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured));
378
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured));
398
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_WebServiceResponseNotNeeded), ErrorNumbers.Error_WebServiceResponseNotNeeded));
422
ValidationError validationError = new
ValidationError
(SR.GetString(SR.Error_TypeNotPublicSerializable, paramName, paramType.FullName), ErrorNumbers.Error_TypeNotPublicSerializable);
693
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_ParameterTypeNotFound, methodInfo.Name, paramInfo.Name), ErrorNumbers.Error_ParameterTypeNotFound));
699
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_ReturnTypeNotFound, methodInfo.Name), ErrorNumbers.Error_ReturnTypeNotFound));
While.cs (2)
171
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_WhileShouldHaveOneChild), ErrorNumbers.Error_WhileShouldHaveOneChild));
187
return new
ValidationError
(SR.GetString(SR.Error_DynamicActivity2, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.ExecutionStatus), activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);
System.Workflow.ComponentModel (97)
AuthoringOM\Behaviors\CancellationHandler.cs (1)
78
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_ModelingConstructsCanNotContainModelingConstructs), ErrorNumbers.Error_ModelingConstructsCanNotContainModelingConstructs));
AuthoringOM\Behaviors\Compensate.cs (1)
224
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_CompensateBadNesting), ErrorNumbers.Error_CompensateBadNesting));
AuthoringOM\Behaviors\Compensation.cs (2)
76
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_ParentDoesNotSupportCompensation), ErrorNumbers.Error_FaultHandlerActivityParentNotFaultHandlersActivity));
83
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_ModelingConstructsCanNotContainModelingConstructs), ErrorNumbers.Error_ModelingConstructsCanNotContainModelingConstructs));
AuthoringOM\Behaviors\ExceptionHandler.cs (4)
169
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_FaultHandlerActivityParentNotFaultHandlersActivity), ErrorNumbers.Error_FaultHandlerActivityParentNotFaultHandlersActivity));
180
error = new
ValidationError
(SR.GetString(SR.Error_TypePropertyInvalid, "FaultType"), ErrorNumbers.Error_PropertyNotSet);
186
error = new
ValidationError
(SR.GetString(SR.Error_TypeTypeMismatch, new object[] { "FaultType", typeof(Exception).FullName }), ErrorNumbers.Error_TypeTypeMismatch);
204
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_ModelingConstructsCanNotContainModelingConstructs), ErrorNumbers.Error_ModelingConstructsCanNotContainModelingConstructs));
AuthoringOM\Behaviors\ExceptionHandlers.cs (4)
172
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_FaultHandlersActivityDeclNotAllFaultHandlerActivityDecl), ErrorNumbers.Error_FaultHandlersActivityDeclNotAllFaultHandlerActivityDecl));
192
validationErrors.Add(new
ValidationError
(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ScopeDuplicateFaultHandlerActivityFor), new object[] { Helpers.GetEnclosingActivity(exceptionHandlers).GetType().Name, catchType.FullName }), ErrorNumbers.Error_ScopeDuplicateFaultHandlerActivityFor));
200
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_FaultHandlerActivityWrongOrder, catchType.Name, previousType.Name), ErrorNumbers.Error_FaultHandlerActivityWrongOrder));
208
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_ModelingConstructsCanNotContainModelingConstructs), ErrorNumbers.Error_ModelingConstructsCanNotContainModelingConstructs));
AuthoringOM\Bind.cs (2)
264
return new
ValidationError
(SR.GetString(SR.Error_ConfigFileMissingOrInvalid), ErrorNumbers.Error_ConfigFileMissingOrInvalid);
284
error = new
ValidationError
(SR.GetString(SR.Error_TypeNotAuthorized, memberType), ErrorNumbers.Error_TypeNotAuthorized);
AuthoringOM\Compiler\Validation\ActivityValidator.cs (1)
34
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_RootIsNotEnabled), ErrorNumbers.Error_RootIsNotEnabled);
AuthoringOM\Compiler\Validation\BindValidator.cs (46)
57
error = new
ValidationError
(SR.GetString(SR.Error_PropertyNotSet, "Name"), ErrorNumbers.Error_PropertyNotSet);
102
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_NoEnclosingContext, activity.Name), ErrorNumbers.Error_NoEnclosingContext);
113
error = new
ValidationError
(SR.GetString(SR.Error_TypeNotResolvedInFieldName, "Name"), ErrorNumbers.Error_TypeNotResolvedInFieldName);
121
error = new
ValidationError
(SR.GetString(SR.Error_FieldNotExists, GetFullPropertyName(manager), dsName), ErrorNumbers.Error_FieldNotExists);
131
error = new
ValidationError
(SR.GetString(SR.Error_FieldTypeNotResolved, GetFullPropertyName(manager), dsName), ErrorNumbers.Error_FieldTypeNotResolved);
139
error = new
ValidationError
(SR.GetString(SR.Error_FieldTypeMismatch, GetFullPropertyName(manager), fieldInfo.FieldType.FullName, validationContext.TargetType.FullName), ErrorNumbers.Error_FieldTypeMismatch);
147
error = new
ValidationError
(SR.GetString(SR.Error_InvalidMemberPath, dsName, bind.Path), ErrorNumbers.Error_InvalidMemberPath);
175
error = new
ValidationError
(SR.GetString(SR.Error_TargetTypeDataSourcePathMismatch, validationContext.TargetType.FullName), ErrorNumbers.Error_TargetTypeDataSourcePathMismatch);
188
error = new
ValidationError
(SR.GetString(SR.Error_PropertyNoGetter, pathPropertyInfo.Name, bind.Path), ErrorNumbers.Error_PropertyNoGetter);
193
error = new
ValidationError
(SR.GetString(SR.Error_PropertyNoSetter, pathPropertyInfo.Name, bind.Path), ErrorNumbers.Error_PropertyNoSetter);
203
error = new
ValidationError
(SR.GetString(SR.Error_ReadOnlyField, pathFieldInfo.Name), ErrorNumbers.Error_ReadOnlyField);
242
error = new
ValidationError
(SR.GetString(SR.Error_PropertyNotSet, "Name"), ErrorNumbers.Error_PropertyNotSet);
282
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_NoEnclosingContext, activity.Name), ErrorNumbers.Error_NoEnclosingContext);
301
error = new
ValidationError
(SR.GetString(SR.Error_TypeNotResolvedInPropertyName, "Name"), ErrorNumbers.Error_TypeNotResolvedInPropertyName);
308
error = new
ValidationError
(SR.GetString(SR.Error_PropertyNotExists, GetFullPropertyName(manager), dsName), ErrorNumbers.Error_PropertyNotExists);
313
error = new
ValidationError
(SR.GetString(SR.Error_PropertyReferenceNoGetter, GetFullPropertyName(manager), dsName), ErrorNumbers.Error_PropertyReferenceNoGetter);
318
error = new
ValidationError
(SR.GetString(SR.Error_PropertyReferenceGetterNoAccess, GetFullPropertyName(manager), dsName), ErrorNumbers.Error_PropertyReferenceGetterNoAccess);
323
error = new
ValidationError
(SR.GetString(SR.Error_PropertyNotAccessible, GetFullPropertyName(manager), dsName), ErrorNumbers.Error_PropertyNotAccessible);
328
error = new
ValidationError
(SR.GetString(SR.Error_PropertyTypeNotResolved, GetFullPropertyName(manager), dsName), ErrorNumbers.Error_PropertyTypeNotResolved);
336
error = new
ValidationError
(SR.GetString(SR.Error_PropertyTypeMismatch, GetFullPropertyName(manager), propertyInfo.PropertyType.FullName, validationContext.TargetType.FullName), ErrorNumbers.Error_PropertyTypeMismatch);
344
error = new
ValidationError
(SR.GetString(SR.Error_InvalidMemberPath, dsName, bind.Path), ErrorNumbers.Error_InvalidMemberPath);
372
error = new
ValidationError
(SR.GetString(SR.Error_TargetTypeDataSourcePathMismatch, validationContext.TargetType.FullName), ErrorNumbers.Error_TargetTypeDataSourcePathMismatch);
385
error = new
ValidationError
(SR.GetString(SR.Error_PropertyNoGetter, pathPropertyInfo.Name, bind.Path), ErrorNumbers.Error_PropertyNoGetter);
390
error = new
ValidationError
(SR.GetString(SR.Error_PropertyNoSetter, pathPropertyInfo.Name, bind.Path), ErrorNumbers.Error_PropertyNoSetter);
400
error = new
ValidationError
(SR.GetString(SR.Error_ReadOnlyField, pathFieldInfo.Name), ErrorNumbers.Error_ReadOnlyField);
439
error = new
ValidationError
(SR.GetString(SR.Error_PropertyNotSet, "Name"), ErrorNumbers.Error_PropertyNotSet);
477
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_HandlerReadOnly), ErrorNumbers.Error_HandlerReadOnly);
485
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_TypeNotDelegate, validationBindContext.TargetType.FullName), ErrorNumbers.Error_TypeNotDelegate);
499
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_NoEnclosingContext, activity.Name), ErrorNumbers.Error_NoEnclosingContext);
521
validationErrors.Add(new
ValidationError
(e.Message, ErrorNumbers.Error_InvalidIdentifier));
562
ValidationError error = new
ValidationError
(message, errorNumber);
599
error = new
ValidationError
(SR.GetString(SR.Error_IDNotSetForActivitySource), ErrorNumbers.Error_IDNotSetForActivitySource);
609
error = new
ValidationError
(SR.GetString(SR.Error_CannotResolveRelativeActivity, bind.Name), ErrorNumbers.Error_CannotResolveRelativeActivity);
611
error = new
ValidationError
(SR.GetString(SR.Error_CannotResolveActivity, bind.Name), ErrorNumbers.Error_CannotResolveActivity);
618
error = new
ValidationError
(SR.GetString(SR.Error_PathNotSetForActivitySource), ErrorNumbers.Error_PathNotSetForActivitySource);
687
error = new
ValidationError
(SR.GetString(SR.Error_InvalidMemberType, memberName, GetFullPropertyName(manager)), ErrorNumbers.Error_InvalidMemberType);
727
error = new
ValidationError
(SR.GetString(SR.Error_PathCouldNotBeResolvedToMember, bind.Path, (!string.IsNullOrEmpty(refActivity.QualifiedName)) ? refActivity.QualifiedName : refActivity.GetType().Name), ErrorNumbers.Error_PathCouldNotBeResolvedToMember);
806
error = (bind.Name.StartsWith("/", StringComparison.Ordinal)) ? new
ValidationError
(SR.GetString(SR.Error_CannotResolveRelativeActivity, bind.Name), ErrorNumbers.Error_CannotResolveRelativeActivity) : new
ValidationError
(SR.GetString(SR.Error_CannotResolveActivity, bind.Name), ErrorNumbers.Error_CannotResolveActivity);
811
error = new
ValidationError
(SR.GetString(SR.Error_PathNotSetForActivitySource), ErrorNumbers.Error_PathNotSetForActivitySource);
847
error = new
ValidationError
(SR.GetString(SR.Error_InvalidMemberPath, refActivity.QualifiedName, bind.Path), ErrorNumbers.Error_InvalidMemberPath);
869
error = new
ValidationError
(SR.GetString(SR.Error_TargetTypeMismatch, memberInfo.Name, memberType.FullName, validationContext.TargetType.FullName), ErrorNumbers.Error_TargetTypeMismatch);
881
error = new
ValidationError
(SR.GetString(SR.Error_InvalidMemberPath, refActivity.QualifiedName, bind.Path), ErrorNumbers.Error_InvalidMemberPath);
907
error = new
ValidationError
(SR.GetString(SR.Error_TargetTypeMismatch, memberInfo.Name, memberType.FullName, validationContext.TargetType.FullName), ErrorNumbers.Error_TargetTypeMismatch);
929
error = new
ValidationError
(SR.GetString(SR.Bind_ActivityDataSourceRecursionDetected), ErrorNumbers.Bind_ActivityDataSourceRecursionDetected);
950
error = new
ValidationError
(SR.GetString(SR.Error_TargetTypeMismatch, memberInfo.Name, value.GetType().FullName, validationContext.TargetType.FullName), ErrorNumbers.Error_TargetTypeMismatch);
AuthoringOM\Compiler\Validation\CompositeActivityValidator.cs (4)
32
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_MoreThanOneCancelHandler, compositeActivity.GetType().Name), ErrorNumbers.Error_ScopeMoreThanOneEventHandlersDecl));
36
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_MoreThanOneFaultHandlersActivityDecl, compositeActivity.GetType().Name), ErrorNumbers.Error_ScopeMoreThanOneFaultHandlersActivityDecl));
40
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_MoreThanOneCompensationDecl, compositeActivity.GetType().Name), ErrorNumbers.Error_ScopeMoreThanOneCompensationDecl));
62
return new
ValidationError
(SR.GetString(SR.Error_DynamicActivity, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.ExecutionStatus)), ErrorNumbers.Error_DynamicActivity);
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (5)
80
errors.Add(new
ValidationError
(SR.GetString(SR.Error_PropertyDefaultIsReference, dependencyProperty.Name), ErrorNumbers.Error_PropertyDefaultIsReference));
84
errors.Add(new
ValidationError
(SR.GetString(SR.Error_PropertyDefaultTypeMismatch, dependencyProperty.Name, dependencyProperty.PropertyType.FullName, dependencyProperty.DefaultMetadata.DefaultValue.GetType().FullName), ErrorNumbers.Error_PropertyDefaultTypeMismatch));
152
errors.Add(new
ValidationError
(SR.GetString(SR.Error_CreateValidator, dependencyProperty.ValidatorType.FullName), ErrorNumbers.Error_CreateValidator));
158
errors.Add(new
ValidationError
(SR.GetString(SR.Error_CreateValidator, dependencyProperty.ValidatorType.FullName), ErrorNumbers.Error_CreateValidator));
216
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_CantResolveEventHandler, dependencyProperty.Name, propValue as string), ErrorNumbers.Error_CantResolveEventHandler);
AuthoringOM\Compiler\Validation\TransactionContextValidator.cs (9)
28
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_AtomicScopeWithFaultHandlersActivityDecl, activity.Name), ErrorNumbers.Error_AtomicScopeWithFaultHandlersActivityDecl);
36
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_AtomicScopeWithCancellationHandlerActivity, activity.Name), ErrorNumbers.Error_AtomicScopeWithCancellationHandlerActivity);
46
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_AtomicScopeNestedInNonLRT), ErrorNumbers.Error_AtomicScopeNestedInNonLRT));
59
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_LRTScopeNestedInNonLRT), ErrorNumbers.Error_LRTScopeNestedInNonLRT));
64
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_NestedCompensatableActivity, nestedEnabledActivity.QualifiedName), ErrorNumbers.Error_NestedCompensatableActivity));
78
ValidationError timeoutError = new
ValidationError
(SR.GetString(SR.Error_NegativeValue, new object[] { atomicTransaction.TimeoutDuration.ToString(), "TimeoutDuration" }), ErrorNumbers.Error_NegativeValue);
108
return new
ValidationError
(SR.GetString(SR.Error_AtomicScopeNestedInNonLRT), ErrorNumbers.Error_AtomicScopeNestedInNonLRT);
111
return new
ValidationError
(SR.GetString(SR.Error_NestedPersistOnClose, activity.QualifiedName), ErrorNumbers.Error_NestedPersistOnClose);
114
return new
ValidationError
(SR.GetString(SR.Error_NestedCompensatableActivity, activity.QualifiedName), ErrorNumbers.Error_NestedCompensatableActivity);
AuthoringOM\Compiler\Validation\ValidationError.cs (1)
79
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_PropertyNotSet, propertyName), ErrorNumbers.Error_PropertyNotSet);
AuthoringOM\Compiler\XomlCompiler.cs (1)
1097
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_CodeWithinNotAllowed), ErrorNumbers.Error_CodeWithinNotAllowed);
AuthoringOM\Compiler\XomlCompilerHelpers.cs (9)
65
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_ConfigFileMissingOrInvalid), ErrorNumbers.Error_ConfigFileMissingOrInvalid);
151
results.Errors.Add(CreateXomlCompilerError(new
ValidationError
(SR.GetString(SR.Error_Missing_CanModifyProperties_False, activity.GetType().FullName), ErrorNumbers.Error_CustomActivityCantCreate), parameters));
172
results.Errors.Add(CreateXomlCompilerError(new
ValidationError
(SR.GetString(SR.Error_CustomActivityCantCreate, type.FullName, tie.InnerException.InnerException.ToString()), ErrorNumbers.Error_CustomActivityCantCreate), parameters));
174
results.Errors.Add(CreateXomlCompilerError(new
ValidationError
(tie.InnerException.InnerException.ToString(), ErrorNumbers.Error_CustomActivityCantCreate), parameters));
176
results.Errors.Add(CreateXomlCompilerError(new
ValidationError
(SR.GetString(SR.Error_CustomActivityCantCreate, type.FullName, tie.InnerException.ToString()), ErrorNumbers.Error_CustomActivityCantCreate), parameters));
181
results.Errors.Add(CreateXomlCompilerError(new
ValidationError
(SR.GetString(SR.Error_CustomActivityCantCreate, type.FullName, e.ToString()), ErrorNumbers.Error_CustomActivityCantCreate), parameters));
262
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_TypeNotAuthorized, referenceType), ErrorNumbers.Error_TypeNotAuthorized);
684
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_ValidatorThrewException, e.GetType().FullName, validator.GetType().FullName, activity.Name, e.ToString()), ErrorNumbers.Error_ValidatorThrewException);
689
ValidationError error = new
ValidationError
(SR.GetString(SR.Error_ValidatorThrewException, e.GetType().FullName, validator.GetType().FullName, activity.Name, e.ToString()), ErrorNumbers.Error_ValidatorThrewException);
AuthoringOM\ScheduleChanges.cs (1)
854
errors.Add(new
ValidationError
(SR.GetString(SR.Error_RemoveExecutingActivity, this.originalRemovedActivity.QualifiedName), ErrorNumbers.Error_RemoveExecutingActivity));
AuthoringOM\Suspend.cs (1)
95
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Error_SuspendInAtomicScope), ErrorNumbers.Error_SuspendInAtomicScope));
Shared\ValidationHelpers.cs (5)
57
error = new
ValidationError
(SR.GetString(SR.Error_PropertyNotSet, propName), ErrorNumbers.Error_PropertyNotSet);
66
error = new
ValidationError
(SR.GetString(SR.Error_InvalidIdentifier, propName, e.Message), ErrorNumbers.Error_InvalidIdentifier);
81
error = new
ValidationError
(SR.GetString(SR.Error_PropertyNotSet, propName), ErrorNumbers.Error_PropertyNotSet);
91
error = new
ValidationError
(SR.GetString(SR.Error_InvalidIdentifier, propName, SR.GetString(SR.Error_InvalidLanguageIdentifier, identifier)), ErrorNumbers.Error_InvalidIdentifier);
115
ValidationError duplicateError = new
ValidationError
(SR.GetString(SR.Error_DuplicatedActivityID, activity.QualifiedName), ErrorNumbers.Error_DuplicatedActivityID);
System.Workflow.Runtime (3)
Hosting\DefaultWorkflowLoaderService.cs (3)
70
errors.Add(new
ValidationError
(((WorkflowMarkupSerializationException)error).Message, ErrorNumbers.Error_SerializationError));
72
errors.Add(new
ValidationError
(error.ToString(), ErrorNumbers.Error_SerializationError));
78
errors.Add(new
ValidationError
(e.Message, ErrorNumbers.Error_SerializationError));
System.WorkflowServices (3)
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (3)
296
errors.Add(new
ValidationError
(((WorkflowMarkupSerializationException) error).Message, 1));
300
errors.Add(new
ValidationError
(error.ToString(), 1));
311
errors.Add(new
ValidationError
(e.Message, 1));