21 references to PropertyType
System.Workflow.ComponentModel (20)
AuthoringOM\Bind.cs (1)
998type = dependencyProperty.PropertyType;
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (5)
77if (!dependencyProperty.PropertyType.IsValueType && 78dependencyProperty.PropertyType != typeof(string)) 82else if (!dependencyProperty.PropertyType.IsAssignableFrom(dependencyProperty.DefaultMetadata.DefaultValue.GetType())) 84errors.Add(new ValidationError(SR.GetString(SR.Error_PropertyDefaultTypeMismatch, dependencyProperty.Name, dependencyProperty.PropertyType.FullName, dependencyProperty.DefaultMetadata.DefaultValue.GetType().FullName), ErrorNumbers.Error_PropertyDefaultTypeMismatch)); 200MethodInfo invokeMethod = dependencyProperty.PropertyType.GetMethod("Invoke");
AuthoringOM\DependencyObject.cs (10)
126if (dependencyProperty.DefaultMetadata != null && dependencyProperty.DefaultMetadata.IsMetaProperty && !typeof(ActivityBind).IsAssignableFrom(dependencyProperty.PropertyType)) 182if (this.metaProperties != null && !this.DesignMode && value is ActivityBind && !typeof(ActivityBind).IsAssignableFrom(dependencyProperty.PropertyType)) 183value = this.GetBoundValue((ActivityBind)value, dependencyProperty.PropertyType); 188if (!dependencyProperty.PropertyType.IsAssignableFrom(value.GetType())) 189throw new InvalidOperationException(SR.GetString(SR.Error_DynamicPropertyTypeValueMismatch, new object[] { dependencyProperty.PropertyType.FullName, dependencyProperty.Name, value.GetType().FullName })); 263if (value != null && !dependencyProperty.PropertyType.IsAssignableFrom(value.GetType())) 264throw new ArgumentException(SR.GetString(SR.Error_DynamicPropertyTypeValueMismatch, new object[] { dependencyProperty.PropertyType.FullName, dependencyProperty.Name, value.GetType().FullName }), "value"); 340if (dependencyEvent.PropertyType == null) 349if (value != null && !dependencyEvent.PropertyType.IsAssignableFrom(value.GetType())) 350throw new ArgumentException(SR.GetString(SR.Error_DynamicPropertyTypeValueMismatch, new object[] { dependencyEvent.PropertyType.FullName, dependencyEvent.Name, value.GetType().FullName }), "value");
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (4)
838propertyInfoType = dependencyProperty.PropertyType; 1598else if (value is string && TypeProvider.IsAssignable(typeof(Type), dependencyProperty.PropertyType)) 1917propertyType = dependencyProperty.PropertyType; 1947eventType = dependencyEvent.PropertyType;
System.Workflow.Runtime (1)
DebugEngine\DebugController.cs (1)
1112MethodInfo boundGetInvocationListMethod = getInvocationListMethod.MakeGenericMethod(new Type[] { dependencyEvent.PropertyType });