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