13 references to ActivityCodeDomSerializer
System.Workflow.ComponentModel (13)
AuthoringOM\Activity.cs (1)
133[DesignerSerializer(typeof(ActivityCodeDomSerializer), typeof(CodeDomSerializer))]
AuthoringOM\Compiler\XomlCompilerHelpers.cs (2)
186activity.SetValue(ActivityCodeDomSerializer.MarkupFileNameProperty, fileName); 597fileName = activity.GetValue(ActivityCodeDomSerializer.MarkupFileNameProperty) as string;
AuthoringOM\Serializer\ActivityCodeDomSerializer.cs (3)
24public static readonly DependencyProperty MarkupFileNameProperty = DependencyProperty.RegisterAttached("MarkupFileName", typeof(string), typeof(ActivityCodeDomSerializer), new PropertyMetadata(null, new Attribute[] { new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden) })); 49if (rootActivity != null && rootActivity.GetValue(ActivityCodeDomSerializer.MarkupFileNameProperty) != null && 55statement.LinePragma = new CodeLinePragma((string)rootActivity.GetValue(ActivityCodeDomSerializer.MarkupFileNameProperty), Math.Max((int)activity.GetValue(ActivityMarkupSerializer.StartLineProperty), 1));
AuthoringOM\Serializer\ActivityTypeCodeDomSerializer.cs (2)
123rootActivity.GetValue(ActivityCodeDomSerializer.MarkupFileNameProperty) != null) 126field.LinePragma = new CodeLinePragma((string)rootActivity.GetValue(ActivityCodeDomSerializer.MarkupFileNameProperty), Math.Max((int)activity.GetValue(ActivityMarkupSerializer.StartLineProperty), 1));
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
102rootActivity.SetValue(ActivityCodeDomSerializer.MarkupFileNameProperty, fileName);
Shared\XomlSerializationHelpers.cs (4)
337activityTypeDeclaration.LinePragma = new CodeLinePragma((string)rootActivity.GetValue(ActivityCodeDomSerializer.MarkupFileNameProperty), Math.Max((int)rootActivity.GetValue(ActivityMarkupSerializer.StartLineProperty), 1)); 355constructor.LinePragma = new CodeLinePragma((string)rootActivity.GetValue(ActivityCodeDomSerializer.MarkupFileNameProperty), Math.Max((int)rootActivity.GetValue(ActivityMarkupSerializer.StartLineProperty), 1)); 358method.LinePragma = new CodeLinePragma((string)rootActivity.GetValue(ActivityCodeDomSerializer.MarkupFileNameProperty), Math.Max((int)rootActivity.GetValue(ActivityMarkupSerializer.StartLineProperty), 1)); 373codeNamespaceImport.LinePragma = new CodeLinePragma((string)rootActivity.GetValue(ActivityCodeDomSerializer.MarkupFileNameProperty), Math.Max((int)rootActivity.GetValue(ActivityMarkupSerializer.StartLineProperty), 1));