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