1 write to Namespaces
Microsoft.Activities.Build (1)
Microsoft\Activities\Build\BeforeInitializeComponentExtension.cs (1)
174Namespaces =
52 references to Namespaces
PresentationBuildTasks (3)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (3)
658ccu.Namespaces.Add(cnsImports); 661ccu.Namespaces.Add(_ccRoot.CodeNS); 2855ccu.Namespaces.Add(cns);
System (5)
compmod\microsoft\csharp\csharpcodeprovider.cs (2)
2595foreach (CodeNamespace n in e.Namespaces) { 2916foreach (CodeNamespace nspace in e.Namespaces) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
2440foreach (CodeNamespace nspace in e.Namespaces) {
compmod\system\codedom\compiler\CodeGenerator.cs (1)
363foreach (CodeNamespace n in e.Namespaces) {
compmod\system\codedom\compiler\CodeValidator.cs (1)
113foreach (CodeNamespace n in e.Namespaces) {
System.Activities (1)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
256this.compileUnit.Namespaces.Add(this.codeNamespace);
System.Data.Entity.Design (2)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
344compileUnit.Namespaces.Add(codeNamespace);
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
74CompileUnit.Namespaces.Add( codeNamespace );
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
140CompileUnit.Namespaces.Add(codeNamespace);
System.Data.SqlXml (2)
System\Xml\Xsl\Xslt\Scripts.cs (1)
247unit.Namespaces.Add(scriptNs);
System\Xml\Xsl\XsltOld\Compiler.cs (1)
773unit.Namespaces.Add(msXslt);
System.Runtime.Serialization (4)
System\Runtime\Serialization\CodeExporter.cs (4)
108foreach (CodeNamespace codeNS in codeCompileUnit.Namespaces) 297CodeNamespace[] namespaces = new CodeNamespace[codeCompileUnit.Namespaces.Count]; 298codeCompileUnit.Namespaces.CopyTo(namespaces, 0); 1328CodeNamespaceCollection codeNamespaceCollection = codeCompileUnit.Namespaces;
System.ServiceModel (6)
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (3)
124foreach (CodeNamespace codeNamespace in codeCompileUnit.Namespaces) 125if (!targetCompileUnit.Namespaces.Contains(codeNamespace)) 126targetCompileUnit.Namespaces.Add(codeNamespace);
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
57this.namespaceManager = new NamespaceHelper(this.compileUnit.Namespaces);
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (2)
41foreach (CodeNamespace ns in options.CodeCompileUnit.Namespaces) 51options.CodeCompileUnit.Namespaces.Add(targetCodeNamespace);
System.ServiceModel.Activation (1)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
180codeCompileUnit.Namespaces.Add(codeNamespace);
System.Web (12)
Compilation\BaseCodeDomTreeGenerator.cs (3)
252_codeCompileUnit.Namespaces.Add(intermediateNamespace); 296_codeCompileUnit.Namespaces.Add(_sourceDataNamespace); 774ccu.Namespaces.Add(cnamespace);
Compilation\BrowserCapabilitiesCompiler.cs (1)
282ccu.Namespaces.Add(cnamespace);
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (3)
42_codeCompileUnit.Namespaces.Add(sourceDataNamespace); 150for(var i = 0; i < ccu.Namespaces.Count; i++) { 151var ns = ccu.Namespaces[i];
Compilation\ProfileBuildProvider.cs (1)
164compileUnit.Namespaces.Add(ns);
Compilation\WebReferencesBuildProvider.cs (1)
131codeCompileUnit.Namespaces.Add(codeNamespace);
Compilation\WsdlBuildProvider.cs (1)
61codeCompileUnit.Namespaces.Add(codeNamespace);
Compilation\XsdBuildProvider.cs (1)
51codeCompileUnit.Namespaces.Add(codeNamespace);
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
723ccu.Namespaces.Add(cnamespace);
System.Web.Extensions (3)
Compilation\WCFBuildProvider.cs (1)
374foreach (System.CodeDom.CodeNamespace codeNamespace in compileUnit.Namespaces)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (2)
1673foreach (CodeNamespace proxyCodeNamespace in proxyCodeUnit.Namespaces) 1722foreach (CodeNamespace codeNamespace in codeCompileUnit.Namespaces)
System.Workflow.ComponentModel (7)
AuthoringOM\Compiler\CompileXomlTask.cs (1)
627WorkflowMarkupSerializationHelpers.FixStandardNamespacesAndRootNamespace(ccu.Namespaces, this.RootNamespace, CompilerHelpers.GetSupportedLanguage(this.ProjectType.ToString())); //just add the standard namespaces
AuthoringOM\Compiler\TypeSystem\CodeDomLoader.cs (1)
35foreach (CodeNamespace codeNamespace in this.codeCompileUnit.Namespaces)
AuthoringOM\Compiler\XomlCompiler.cs (2)
1111codeCompileUnit.Namespaces.AddRange(WorkflowMarkupSerializationHelpers.GenerateCodeFromXomlDocument(rootActivity, fileName, context.RootNamespace, CompilerHelpers.GetSupportedLanguage(context.Language), context.ServiceProvider)); 1114WorkflowMarkupSerializationHelpers.FixStandardNamespacesAndRootNamespace(codeCompileUnit.Namespaces, context.RootNamespace, CompilerHelpers.GetSupportedLanguage(context.Language));
AuthoringOM\Compiler\XomlCompilerHelpers.cs (3)
210WorkflowMarkupSerializationHelpers.ReapplyRootNamespace(results.CompiledUnit.Namespaces, context.RootNamespace, CompilerHelpers.GetSupportedLanguage(context.Language)); 211WorkflowMarkupSerializationHelpers.FixStandardNamespacesAndRootNamespace(results.CompiledUnit.Namespaces, context.RootNamespace, CompilerHelpers.GetSupportedLanguage(context.Language)); 216codeGenerationManager.Context.Push(results.CompiledUnit.Namespaces);
System.Xml (2)
System\Xml\Serialization\XmlSchemaImporter.cs (2)
382compileUnit.Namespaces.Add(mainNamespace); 411foreach (CodeNamespace ns in compileUnit.Namespaces) {
XamlBuildTask (3)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (3)
55result.Namespaces.Add(globalNamespace); 62result.Namespaces.Add(classNamespace); 1041result.Namespaces.Add(classNamespace);