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