52 references to Imports
PresentationBuildTasks (2)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (2)
591
cnsImports.
Imports
.Add(new CodeNamespaceImport("System"));
597
cnsImports.
Imports
.Add(new CodeNamespaceImport(u));
System (5)
compmod\microsoft\csharp\csharpcodeprovider.cs (2)
1138
IEnumerator en = e.
Imports
.GetEnumerator();
2922
foreach (CodeNamespaceImport import in nspace.
Imports
) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
2445
foreach (CodeNamespaceImport import in nspace.
Imports
) {
compmod\system\codedom\compiler\CodeGenerator.cs (1)
848
IEnumerator en = e.
Imports
.GetEnumerator();
compmod\system\codedom\compiler\CodeValidator.cs (1)
133
IEnumerator en = e.
Imports
.GetEnumerator();
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 (5)
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));
fx\src\data\System\Data\SQLTypes\SqlTypesSchemaImporter.cs (2)
81
mainNamespace.
Imports
.AddRange(m_namespaceImports);
102
mainNamespace.
Imports
.AddRange(m_namespaceImports);
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)
1476
CodeNamespaceImportCollection importCollection = codeNamespace.
Imports
;
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 (4)
AuthoringOM\Compiler\TypeSystem\CodeDomLoader.cs (1)
48
partialType = new DesignTimeType(null, codeTypeDeclaration.Name, codeNamespace.
Imports
, codeNamespace.Name, this.typeProvider);
Shared\XomlSerializationHelpers.cs (3)
374
codeNamespace.
Imports
.Add(codeNamespaceImport);
406
foreach (CodeNamespaceImport codeNamespaceImport in codeNamespace.
Imports
)
411
codeNamespace.
Imports
.Add(new CodeNamespaceImport(standardNS));
System.Xml (2)
System\Xml\Serialization\Advanced\SchemaImporterExtension.cs (2)
168
foreach(CodeNamespaceImport import in code.
Imports
) {
169
codeNamespace.
Imports
.Add(import);