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