10 references to CodeNamespaceImport
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.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
1508importCollection.Add(new CodeNamespaceImport(clrNamespace));
System.Windows.Forms.Design (2)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (2)
365codeNamespace.Imports.Add(new CodeNamespaceImport("System")); 402codeNamespace.Imports.Add(new CodeNamespaceImport("System.Reflection"));