14 instantiations of BindValidationContext
System.Workflow.Activities (5)
CorrelationValidator.cs (1)
917
new
BindValidationContext
(paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType, access));
InvokeSchedule.cs (1)
298
ValidationErrorCollection memberErrors = ValidationHelpers.ValidateProperty(manager, invokeWorkflow, paramBinding.GetBinding(WorkflowParameterBinding.ValueProperty), new PropertyValidationContext(paramBinding, null, paramBinding.ParameterName), new
BindValidationContext
(parameterType, AccessTypes.Read));
InvokeWebService.cs (1)
496
new PropertyValidationContext(invokeWebService.ParameterBindings[paramName], null, paramName), new
BindValidationContext
(paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType, access));
WebServiceReceive.cs (1)
604
new PropertyValidationContext(webServiceReceive.ParameterBindings[paramName], null, paramName), new
BindValidationContext
(paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType, access));
WebServiceResponse.cs (1)
439
new PropertyValidationContext(webServiceResponse.ParameterBindings[paramName], null, paramName), new
BindValidationContext
(paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType, access));
System.Workflow.ComponentModel (8)
AuthoringOM\Compiler\Validation\BindValidator.cs (8)
69
validationBindContext = new
BindValidationContext
(baseType, accessType);
81
validationErrors.AddRange(this.ValidateField(manager, activity, bind, new
BindValidationContext
(targetType, validationBindContext.Access)));
254
validationBindContext = new
BindValidationContext
(baseType, accessType);
261
validationErrors.AddRange(this.ValidateBindProperty(manager, activity, bind, new
BindValidationContext
(targetType, validationBindContext.Access)));
451
validationBindContext = new
BindValidationContext
(baseType, accessType);
463
validationErrors.AddRange(this.ValidateMethod(manager, activity, bind, new
BindValidationContext
(targetType, validationBindContext.Access)));
773
validationBindContext = new
BindValidationContext
(baseType, accessType);
785
validationErrors.AddRange(this.ValidateActivity(manager, bind, new
BindValidationContext
(targetType, validationBindContext.Access)));
System.WorkflowServices (1)
System\Workflow\Activities\ValidationHelper.cs (1)
931
BindValidationContext bindValidationContext = new
BindValidationContext
(
22 references to BindValidationContext
System.Workflow.ComponentModel (21)
AuthoringOM\Compiler\Validation\BindValidator.cs (21)
48
throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(
BindValidationContext
).Name));
62
BindValidationContext
validationBindContext = manager.Context[typeof(
BindValidationContext
)] as
BindValidationContext
;
90
private ValidationErrorCollection ValidateField(ValidationManager manager, Activity activity, FieldBind bind,
BindValidationContext
validationContext)
233
throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(
BindValidationContext
).Name));
247
BindValidationContext
validationBindContext = manager.Context[typeof(
BindValidationContext
)] as
BindValidationContext
;
270
private ValidationErrorCollection ValidateBindProperty(ValidationManager manager, Activity activity, PropertyBind bind,
BindValidationContext
validationContext)
430
throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(
BindValidationContext
).Name));
444
BindValidationContext
validationBindContext = manager.Context[typeof(
BindValidationContext
)] as
BindValidationContext
;
472
private ValidationErrorCollection ValidateMethod(ValidationManager manager, Activity activity, MethodBind bind,
BindValidationContext
validationBindContext)
594
throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(
BindValidationContext
).Name));
757
throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(
BindValidationContext
).Name));
766
BindValidationContext
validationBindContext = manager.Context[typeof(
BindValidationContext
)] as
BindValidationContext
;
794
private ValidationErrorCollection ValidateActivity(ValidationManager manager, ActivityBind bind,
BindValidationContext
validationContext)
System.WorkflowServices (1)
System\Workflow\Activities\ValidationHelper.cs (1)
931
BindValidationContext
bindValidationContext = new BindValidationContext(