15 references to Imports
Microsoft.Build.Tasks.Core (5)
CodeTaskFactory.cs (1)
776
codeNamespace.
Imports
.Add(new CodeNamespaceImport(importname));
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
247
codeNamespace.
Imports
.AddRange(DefaultNamespaces.Union(taskInfo.Namespaces, StringComparer.OrdinalIgnoreCase).Select(i => new CodeNamespaceImport(i)).ToArray());
system.design\stronglytypedresourcebuilder.cs (1)
199
ns.
Imports
.Add(new CodeNamespaceImport("System"));
WriteCodeFragment.cs (1)
182
globalNamespace.
Imports
.Add(new CodeNamespaceImport(name));
XamlTaskFactory\TaskGenerator.cs (1)
1121
codeNamespace.
Imports
.Add(new CodeNamespaceImport(reference));
PresentationBuildTasks (2)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (2)
589
cnsImports.
Imports
.Add(new CodeNamespaceImport("System"));
595
cnsImports.
Imports
.Add(new CodeNamespaceImport(u));
System.CodeDom (5)
Microsoft\CSharp\CSharpCodeGenerator.cs (2)
639
foreach (CodeNamespaceImport imp in e.
Imports
)
2462
foreach (CodeNamespaceImport import in nspace.
Imports
)
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
2247
foreach (CodeNamespaceImport import in nspace.
Imports
)
System\CodeDom\Compiler\CodeGenerator.cs (1)
828
foreach (CodeNamespaceImport imp in e.
Imports
)
System\CodeDom\Compiler\CodeValidator.cs (1)
150
foreach (CodeNamespaceImport imp in e.
Imports
)
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
1501
CodeNamespaceImportCollection importCollection = codeNamespace.
Imports
;
System.Windows.Forms.Design (2)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (2)
365
codeNamespace.
Imports
.Add(new CodeNamespaceImport("System"));
402
codeNamespace.
Imports
.Add(new CodeNamespaceImport("System.Reflection"));