10 references to CodeNamespaceImport
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.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
1508
importCollection.Add(new
CodeNamespaceImport
(clrNamespace));
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"));