4 writes to Namespace
System.Data (4)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (2)
386
this.UniqueNamespaces.Add(new NamespaceData {
Namespace
= import.Import });
500
this.UniqueNamespaces.Add(new NamespaceData {
Namespace
= importedNamespace });
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (2)
247
NamespaceData newImport = new NamespaceData {
Namespace
= addedNamespace };
759
importsCollection.Add(new NamespaceData {
Namespace
= importedNamespace });
24 references to Namespace
System.Data (24)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (15)
146
return this.
Namespace
;
185
if (this.UniqueNamespaces[i].
Namespace
== ns)
203
if (Lookup(ns.
Namespace
) == -1)
238
if (Lookup(ns.
Namespace
) == -1)
267
int index = this.Lookup(ns.
Namespace
);
278
RemoveNamespaceFromSet(ns.
Namespace
);
297
if (Lookup(ns.
Namespace
) == -1)
470
this.VisualBasicImports.UnionWith(GetVisualBasicImportReferences(ns.
Namespace
));
480
this.VisualBasicImports.UnionWith(GetVisualBasicImportReferences(ns.
Namespace
));
485
RemoveNamespaceFromSet(this.UniqueNamespaces[index].
Namespace
);
486
this.VisualBasicImports.UnionWith(GetVisualBasicImportReferences(ns.
Namespace
));
569
this.TextExpressionNamespaces.Insert(index, ns.
Namespace
);
571
if (this.AvailableNamespaces.ContainsKey(ns.
Namespace
))
573
foreach (string assembly in this.AvailableNamespaces[ns.
Namespace
])
582
this.TextExpressionNamespaces[index] = ns.
Namespace
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (9)
282
if (importedNamespace.
Namespace
== imported)
308
this.importedNamespacesItem.ImportedNamespaces.Remove(namespaceData.
Namespace
);
309
this.attachedPropertiesForNamespace.Remove(namespaceData.
Namespace
);
321
if (!this.availableNamespaces.ContainsKey(namespaceData.
Namespace
))
323
namespaceModel.Properties[ErrorMessagePropertyName].SetValue(string.Format(CultureInfo.CurrentCulture, SR.CannotResolveNamespace, namespaceData.
Namespace
));
330
this.importedNamespacesItem.ImportedNamespaces.Add(namespaceData.
Namespace
);
485
if (!this.attachedPropertiesForNamespace.TryGetValue(data.
Namespace
, out properties))
508
if (!this.attachedPropertiesForNamespace.TryGetValue(data.
Namespace
, out properties))
511
this.attachedPropertiesForNamespace[data.
Namespace
] = properties;