43 references to Add
PresentationBuildTasks (2)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (2)
591
cnsImports.Imports.
Add
(new CodeNamespaceImport("System"));
597
cnsImports.Imports.
Add
(new CodeNamespaceImport(u));
System (1)
compmod\system\codedom\CodeNamespaceImportCollection.cs (1)
98
Add
(c);
System.Activities (2)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (2)
2021
codeNamespace.Imports.
Add
(new CodeNamespaceImport(nsReference)
2029
codeNamespace.Imports.
Add
(new CodeNamespaceImport(xamlIntegrationNamespace)
System.Data (3)
fx\src\data\System\Data\DataSet.cs (3)
3514
mainNamespace.Imports.
Add
(new CodeNamespaceImport(typeof(DataSet).Namespace));
3572
mainNamespace.Imports.
Add
(new CodeNamespaceImport(typeof(DataSet).Namespace));
3603
mainNamespace.Imports.
Add
(new CodeNamespaceImport(typeof(DataSet).Namespace));
System.Data.SqlXml (5)
System\Xml\Xsl\Xslt\Scripts.cs (3)
235
scriptNs.Imports.
Add
(new CodeNamespaceImport(ns));
238
scriptNs.Imports.
Add
(new CodeNamespaceImport("Microsoft.VisualBasic"));
241
scriptNs.Imports.
Add
(new CodeNamespaceImport(ns));
System\Xml\Xsl\XsltOld\Compiler.cs (2)
759
msXslt.Imports.
Add
(new CodeNamespaceImport(ns));
764
msXslt.Imports.
Add
(new CodeNamespaceImport("Microsoft.VisualBasic"));
System.Management (6)
WmiGenerator.cs (6)
943
cn.Imports.
Add
(new CodeNamespaceImport("System"));
944
cn.Imports.
Add
(new CodeNamespaceImport("System.ComponentModel"));
945
cn.Imports.
Add
(new CodeNamespaceImport("System.Management"));
946
cn.Imports.
Add
(new CodeNamespaceImport("System.Collections"));
947
cn.Imports.
Add
(new CodeNamespaceImport("System.Globalization"));
951
cn.Imports.
Add
(new CodeNamespaceImport("Microsoft.VisualBasic"));
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeExporter.cs (1)
1483
importCollection.
Add
(new CodeNamespaceImport(clrNamespace));
System.Web (13)
Compilation\BaseCodeDomTreeGenerator.cs (2)
308
_sourceDataNamespace.Imports.
Add
(new CodeNamespaceImport("Microsoft.VisualBasic"));
325
_sourceDataNamespace.Imports.
Add
(nsi);
Compilation\BrowserCapabilitiesCompiler.cs (4)
274
cnamespace.Imports.
Add
(new CodeNamespaceImport("System"));
276
cnamespace.Imports.
Add
(new CodeNamespaceImport("System.Web"));
278
cnamespace.Imports.
Add
(new CodeNamespaceImport("System.Web.Configuration"));
280
cnamespace.Imports.
Add
(new CodeNamespaceImport("System.Reflection"));
Compilation\ProfileBuildProvider.cs (3)
100
ns.Imports.
Add
(new CodeNamespaceImport("System"));
102
ns.Imports.
Add
(new CodeNamespaceImport("System.Web"));
104
ns.Imports.
Add
(new CodeNamespaceImport("System.Web.Profile"));
Configuration\BrowserCapabilitiesCodeGenerator.cs (4)
715
cnamespace.Imports.
Add
(new CodeNamespaceImport("System"));
717
cnamespace.Imports.
Add
(new CodeNamespaceImport("System.Web"));
719
cnamespace.Imports.
Add
(new CodeNamespaceImport("System.Web.Configuration"));
721
cnamespace.Imports.
Add
(new CodeNamespaceImport("System.Reflection"));
System.Web.Services (1)
System\Web\Services\Description\WebCodeGenerator.cs (1)
86
codeNamespace.Imports.
Add
(new CodeNamespaceImport(ns));
System.Workflow.Activities (6)
WebServiceReceive.cs (6)
732
webServiceCodeNamespace.Imports.
Add
(new CodeNamespaceImport("System"));
733
webServiceCodeNamespace.Imports.
Add
(new CodeNamespaceImport("System.Web"));
734
webServiceCodeNamespace.Imports.
Add
(new CodeNamespaceImport("System.Web.Services"));
735
webServiceCodeNamespace.Imports.
Add
(new CodeNamespaceImport("System.Web.Services.Protocols"));
736
webServiceCodeNamespace.Imports.
Add
(new CodeNamespaceImport("System.Workflow.Runtime.Hosting"));
737
webServiceCodeNamespace.Imports.
Add
(new CodeNamespaceImport("System.Workflow.Activities"));
System.Workflow.ComponentModel (2)
Shared\XomlSerializationHelpers.cs (2)
374
codeNamespace.Imports.
Add
(codeNamespaceImport);
411
codeNamespace.Imports.
Add
(new CodeNamespaceImport(standardNS));
System.Xml (1)
System\Xml\Serialization\Advanced\SchemaImporterExtension.cs (1)
169
codeNamespace.Imports.
Add
(import);