49 references to IsAssignable
System.Workflow.Activities (10)
CorrelationValidator.cs (1)
870if (TypeProvider.IsAssignable(typeof(ExternalDataEventArgs), parameter.ParameterType))
InvokeSchedule.cs (2)
128bool canFilterType = TypeProvider.IsAssignable(typeof(Activity), type) && type != typeof(Activity) && !type.IsAbstract; 219if (!TypeProvider.IsAssignable(typeof(Activity), targetWorkflowType))
InvokeWebService.cs (1)
325if (!(type.Equals(webServiceBaseType)) && TypeProvider.IsAssignable(webServiceBaseType, type))
Rules\Parser\Parser.cs (3)
1174TypeProvider.IsAssignable(typeof(RuleAction), type)) 2201if (TypeProvider.IsAssignable(typeof(IRuleExpression), type)) 2535if (TypeProvider.IsAssignable(parameterType, argExprType))
Rules\RuleValidation.cs (3)
1939if (TypeProvider.IsAssignable(lhsType, rhsType)) 2726if (TypeProvider.IsAssignable(otherDeclaringType, thisDeclaringType)) 2732else if (TypeProvider.IsAssignable(thisDeclaringType, otherDeclaringType))
System.Workflow.ComponentModel (39)
AuthoringOM\Behaviors\ExceptionHandler.cs (2)
109bool isAssignable = TypeProvider.IsAssignable(typeof(Exception), type); 184else if (!TypeProvider.IsAssignable(typeof(Exception), exceptionHandler.FaultType))
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
622return TypeProvider.IsAssignable(this, c);
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (2)
221return TypeProvider.IsAssignable(typeTemp1, typeTemp2); 413return System.Workflow.ComponentModel.Compiler.TypeProvider.IsAssignable(rtType, c);
AuthoringOM\Compiler\Validation\BindValidator.cs (2)
483if (!TypeProvider.IsAssignable(typeof(Delegate), validationBindContext.TargetType)) 898if (!TypeProvider.IsAssignable(typeof(ActivityBind), memberType) && !DoesTargetTypeMatch(validationContext.TargetType, memberType, validationContext.Access))
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (1)
209if (methodInfo != null && TypeProvider.IsAssignable(invokeMethod.ReturnType, methodInfo.ReturnType))
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
79if (!TypeProvider.IsAssignable(typeof(Activity), type) || type.IsAbstract)
AuthoringOM\Design\CustomActivityDesigner.cs (4)
304if (!TypeProvider.IsAssignable(typeof(CompositeActivity), newBaseType)) 385if (!TypeProvider.IsAssignable(typeof(Activity), type)) 699if (TypeProvider.IsAssignable(typeof(Activity), type) && type.IsPublic && !type.IsSealed && !type.IsAbstract && !(type is DesignTimeType)) 888if (TypeProvider.IsAssignable(typeof(ActivityBind), propertyDescriptor.PropertyType))
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (11)
251if (this.boundType != parsedPropertyType && !TypeProvider.IsAssignable(this.boundType, parsedPropertyType)) 382if (TypeProvider.IsAssignable(this.boundType, memberPathInfo.PropertyType)) 594if (typeToGetPropertiesOn == typeof(string) || (TypeProvider.IsAssignable(typeof(System.Delegate), typeToGetPropertiesOn) && !this.boundType.IsSubclassOf(typeof(Delegate))))//ignore char item[int] on the string 635(!IsTypePrimitive(memberType) || TypeProvider.IsAssignable(this.boundType, memberType)) && 656if (TypeProvider.IsAssignable(typeof(DependencyProperty), fieldType)) 668(!IsTypePrimitive(fieldType) || TypeProvider.IsAssignable(this.boundType, fieldType)) && //primitive fields should only be shown for primitive properties 670!(!TypeProvider.IsAssignable(typeof(Delegate), this.boundType) && TypeProvider.IsAssignable(typeof(Delegate), fieldType)))//fields of type delegate should only be shown for delegate properties 693if (IsPropertyBrowsable(eventInfo) && eventType != null && TypeProvider.IsAssignable(this.boundType, eventType)) 853if (TypeProvider.IsAssignable(typeof(Delegate), fieldInfo.FieldType)) 905if (IsTypePrimitive(memberType) || (TypeProvider.IsAssignable(typeof(System.Delegate), memberType)) || (memberType == typeof(object)))
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
1359if ((type.IsByRef) || (!System.Workflow.ComponentModel.Compiler.TypeProvider.IsAssignable(this.parameterType.BaseType, type)))
AuthoringOM\Design\PropertyDescriptors.cs (5)
489addMember = TypeProvider.IsAssignable(memberType, eventInfo.EventHandlerType); 496addMember = TypeProvider.IsAssignable(memberType, fieldInfo.FieldType); 508addMember = (getAccessor != null && TypeProvider.IsAssignable(memberType, propertyInfo.PropertyType)); 594TypeProvider.IsAssignable(boundType, memberType)) 627if (TypeProvider.IsAssignable(boundType, matchingActivity.GetType()))
AuthoringOM\Fault.cs (1)
120bool isAssignable = TypeProvider.IsAssignable(typeof(Exception), type);
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (2)
166else if (objectType != null && TypeProvider.IsAssignable(typeof(ICollection<String>), objectType) && !objectType.IsArray && serializerType == typeof(CodeDomSerializer)) 171if (string.Equals(pd.Name, "SynchronizationHandles", StringComparison.Ordinal) && TypeProvider.IsAssignable(typeof(Activity), pd.ComponentType))
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (3)
494if (TypeProvider.IsAssignable(typeof(ICollection<string>), objectType) && TypeProvider.IsAssignable(objectType, typeof(List<string>)) && !TypeProvider.IsAssignable(typeof(Array), objectType))
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (3)
793if (propertyValue == null && TypeProvider.IsAssignable(typeof(Type), property.PropertyType)) 1598else if (value is string && TypeProvider.IsAssignable(typeof(Type), dependencyProperty.PropertyType)) 2012if (memberValue is string && TypeProvider.IsAssignable(typeof(Type), property.PropertyType))