28 references to OwnerType
System.Workflow.ComponentModel (28)
AuthoringOM\DependencyObject.cs (11)
117
if (dependencyProperty.
OwnerType
== null)
120
if (!dependencyProperty.IsAttached && !dependencyProperty.
OwnerType
.IsAssignableFrom(this.GetType()))
121
throw new InvalidOperationException(SR.GetString(SR.Error_InvalidDependencyProperty, this.GetType().FullName, dependencyProperty.Name, dependencyProperty.
OwnerType
.FullName));
209
throw new InvalidOperationException(SR.GetString(SR.Error_NotReadOnlyProperty, dependencyProperty.Name, dependencyProperty.
OwnerType
.FullName));
211
if (!dependencyProperty.IsAttached && !dependencyProperty.
OwnerType
.IsAssignableFrom(this.GetType()))
212
throw new InvalidOperationException(SR.GetString(SR.Error_InvalidDependencyProperty, this.GetType().FullName, dependencyProperty.Name, dependencyProperty.
OwnerType
.FullName));
255
if (!dependencyProperty.IsAttached && !dependencyProperty.
OwnerType
.IsAssignableFrom(this.GetType()))
256
throw new InvalidOperationException(SR.GetString(SR.Error_InvalidDependencyProperty, this.GetType().FullName, dependencyProperty.Name, dependencyProperty.
OwnerType
.FullName));
343
if (dependencyEvent.
OwnerType
== null)
346
if (!dependencyEvent.IsAttached && !dependencyEvent.
OwnerType
.IsAssignableFrom(this.GetType()))
347
throw new InvalidOperationException(SR.GetString(SR.Error_InvalidDependencyProperty, this.GetType().FullName, dependencyEvent.Name, dependencyEvent.
OwnerType
.FullName));
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (6)
74
if ((dp.IsEvent && dp.
OwnerType
.GetField(dp.Name + "Event", BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly) != null) ||
75
(!dp.IsEvent && dp.
OwnerType
.GetField(dp.Name + "Property", BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly) != null))
105
FieldInfo fieldInfo = dependencyProperty.
OwnerType
.GetField(dependencyPropertyName, BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static);
107
param1 = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(typeof(DependencyProperty)), "FromName", new CodePrimitiveExpression(dependencyProperty.Name), new CodeTypeOfExpression(dependencyProperty.
OwnerType
));
109
param1 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(dependencyProperty.
OwnerType
), dependencyPropertyName);
183
ownerTypeName = dependencyProperty.
OwnerType
.FullName;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (11)
736
XmlQualifiedName qualifiedName = serializationManager.GetXmlQualifiedName(dependencyProperty.
OwnerType
, out prefix);
976
ownerType = dependencyProperty.
OwnerType
;
1539
if (dependencyProperty.
OwnerType
.GetField(dependencyProperty.Name + "Event", BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly) == null)
1541
MethodInfo methodInfo = dependencyProperty.
OwnerType
.GetMethod("Add" + dependencyProperty.Name + "Handler", BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly);
1550
if (dependencyProperty.
OwnerType
.GetField(dependencyProperty.Name + "Property", BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly) == null)
1552
MethodInfo methodInfo = dependencyProperty.
OwnerType
.GetMethod("Set" + dependencyProperty.Name, BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly);
1579
MethodInfo methodInfo = dependencyProperty.
OwnerType
.GetMethod("Add" + dependencyProperty.Name + "Handler", BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly);
1589
serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_MissingAddHandler, dependencyProperty.Name, dependencyProperty.
OwnerType
.FullName)));
1602
MethodInfo methodInfo = dependencyProperty.
OwnerType
.GetMethod("Set" + dependencyProperty.Name, BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly);
1612
serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_MissingSetAccessor, dependencyProperty.Name, dependencyProperty.
OwnerType
.FullName)));
2357
XmlQualifiedName qualifiedName = this.serializationManager.GetXmlQualifiedName(dependencyProperty.
OwnerType
, out prefix);