55 references to DefaultMetadata
System.Workflow.ComponentModel (53)
AuthoringOM\Activity.cs (2)
1574
this.SetValueCommon(ActivityExecutionContext.CurrentExceptionProperty, e, ActivityExecutionContext.CurrentExceptionProperty.
DefaultMetadata
, false);
1673
this.SetValueCommon(ActivityExecutionContext.CurrentExceptionProperty, e, ActivityExecutionContext.CurrentExceptionProperty.
DefaultMetadata
, false);
AuthoringOM\ActivityExecutionContext.cs (2)
324
this.currentActivity.SetValueCommon(CurrentExceptionProperty, e, CurrentExceptionProperty.
DefaultMetadata
, false);
698
d.SetValueCommon(CurrentExceptionProperty, null, CurrentExceptionProperty.
DefaultMetadata
, false);
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (7)
50
object[] validationVisibilityAtrributes = prop.
DefaultMetadata
.GetAttributes(typeof(ValidationOptionAttribute));
63
Attribute[] validationVisibilityAtrributes = dependencyProperty.
DefaultMetadata
.GetAttributes(typeof(ValidationOptionAttribute));
75
if (dependencyProperty.
DefaultMetadata
.DefaultValue != null)
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));
95
if (propValue == null || propValue == dependencyProperty.
DefaultMetadata
.DefaultValue)
122
(dependencyProperty.
DefaultMetadata
.IsMetaProperty) &&
AuthoringOM\DependencyObject.cs (21)
114
if (dependencyProperty.
DefaultMetadata
!= null && dependencyProperty.
DefaultMetadata
.IsReadOnly)
126
if (dependencyProperty.
DefaultMetadata
!= null && dependencyProperty.
DefaultMetadata
.IsMetaProperty && !typeof(ActivityBind).IsAssignableFrom(dependencyProperty.PropertyType))
163
PropertyMetadata metadata = dependencyProperty.
DefaultMetadata
;
178
return dependencyProperty.
DefaultMetadata
.DefaultValue;
186
return dependencyProperty.
DefaultMetadata
.DefaultValue;
200
return this.GetValueCommon(dependencyProperty, dependencyProperty.
DefaultMetadata
);
208
if (!dependencyProperty.
DefaultMetadata
.IsReadOnly)
215
if (dependencyProperty.
DefaultMetadata
.IsMetaProperty)
232
PropertyMetadata metadata = dependencyProperty.
DefaultMetadata
;
242
PropertyMetadata metadata = dependencyProperty.
DefaultMetadata
;
248
if (dependencyProperty.
DefaultMetadata
.IsReadOnly)
260
if (!this.DesignMode && (dependencyProperty.
DefaultMetadata
.IsMetaProperty && dependencyProperty != Design.ConditionTypeConverter.DeclarativeConditionDynamicProp))
276
if (dependencyProperty.
DefaultMetadata
.IsMetaProperty)
308
if (dependencyProperty.
DefaultMetadata
!= null && dependencyProperty.
DefaultMetadata
.IsMetaProperty)
334
if (dependencyEvent.
DefaultMetadata
!= null && dependencyEvent.
DefaultMetadata
.IsMetaProperty)
380
if (dependencyEvent.
DefaultMetadata
!= null && dependencyEvent.
DefaultMetadata
.IsMetaProperty)
AuthoringOM\Design\ComponentSerializationService.cs (1)
652
if (dependencyProperty != null && !dependencyProperty.
DefaultMetadata
.IsMetaProperty)
AuthoringOM\Design\PropertyDescriptors.cs (1)
690
if (typeof(DependencyObject).IsAssignableFrom(propertyDescriptor.ComponentType) && dependencyProperty != null && !dependencyProperty.
DefaultMetadata
.IsMetaProperty)
AuthoringOM\Design\WorkflowInlining.cs (1)
394
if (dependencyProperty.Name == parameterProperty.Name && dependencyProperty.
DefaultMetadata
.IsMetaProperty)
AuthoringOM\Filters\TransactionFilter.cs (1)
115
context.Activity.SetValueCommon(ActivityExecutionContext.CurrentExceptionProperty, args.Exception, ActivityExecutionContext.CurrentExceptionProperty.
DefaultMetadata
, false);
AuthoringOM\Serializer\ActivitySurrogate.cs (1)
53
if (kvp.Key != null && !kvp.Key.
DefaultMetadata
.IsNonSerialized)
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (3)
92
(dependencyProperty.IsAttached || (!dependencyProperty.
DefaultMetadata
.IsMetaProperty && value is ActivityBind)))
94
object[] attributes = dependencyProperty.
DefaultMetadata
.GetAttributes(typeof(DesignerSerializationVisibilityAttribute));
174
object[] attributes = dependencyProperty.
DefaultMetadata
.GetAttributes(typeof(DesignerSerializationVisibilityAttribute));
AuthoringOM\Serializer\DependencyStoreSurrogate.cs (1)
27
if (!kvp.Key.
DefaultMetadata
.IsNonSerialized)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (12)
744
if (dependencyProperty.IsAttached || !dependencyProperty.
DefaultMetadata
.IsMetaProperty)
977
isReadOnly = ((dependencyProperty.
DefaultMetadata
.Options & DependencyPropertyOptions.ReadOnly) == DependencyPropertyOptions.ReadOnly);
1469
Attribute[] visibilityAttrs = dependencyProperty.
DefaultMetadata
.GetAttributes(typeof(DesignerSerializationVisibilityAttribute));
1475
if ((dependencyProperty.
DefaultMetadata
.Options & DependencyPropertyOptions.ReadOnly) == DependencyPropertyOptions.ReadOnly)
1477
object[] serializationVisibilityAttribute = dependencyProperty.
DefaultMetadata
.GetAttributes(typeof(DesignerSerializationVisibilityAttribute));
1487
if (!dependencyProperty.IsAttached && !dependencyProperty.
DefaultMetadata
.IsMetaProperty)
1507
if (!dependencyProperty.IsAttached && !dependencyProperty.
DefaultMetadata
.IsMetaProperty)
1524
Attribute[] visibilityAttrs = dependencyProperty.
DefaultMetadata
.GetAttributes(typeof(DesignerSerializationVisibilityAttribute));
1528
if (!dependencyProperty.
DefaultMetadata
.IsMetaProperty && dependencyProperty.IsAttached && VerifyAttachedPropertyConditions(dependencyProperty))
1802
isReadOnly = ((dependencyProperty.
DefaultMetadata
.Options & DependencyPropertyOptions.ReadOnly) == DependencyPropertyOptions.ReadOnly);
1918
isReadOnly = ((dependencyProperty.
DefaultMetadata
.Options & DependencyPropertyOptions.ReadOnly) == DependencyPropertyOptions.ReadOnly);
2088
object[] attributes = dependencyProperty.
DefaultMetadata
.GetAttributes(typeof(DesignerSerializationVisibilityAttribute));
System.Workflow.Runtime (2)
System\Activities\Statements\InteropEnvironment.cs (1)
377
if (dependencyProperty != null && dependencyProperty.
DefaultMetadata
.IsMetaProperty)
WorkflowDefinitionDispenser.cs (1)
350
if (dependencyProperty.Name == property.Name && dependencyProperty.
DefaultMetadata
.IsMetaProperty)