31 references to Namespaces
dotnet-svcutil-lib (31)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (5)
34CodeNamespace targetNamespace = cu.Namespaces.Count > 0 ? cu.Namespaces[0] : new CodeNamespace(); 101if (codeCompileUnit.Namespaces.Count > 0 && namespaceToAdd.Equals(SpecialNamespace)) 104namespaceToAdd = codeCompileUnit.Namespaces[0].Name; 108foreach (CodeNamespace ns in codeCompileUnit.Namespaces)
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (1)
161Enumerate(cu.Namespaces);
CodeDomFixup\CodeDomVisitors\CodeNamespaceUniqueTypeFixer.cs (1)
14foreach (CodeNamespace ns in cu.Namespaces)
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (2)
93cu.Namespaces[0].Types.Add(type); 98cu.Namespaces[0].Types.Add(_eventBasedDuplexClass);
CodeDomFixup\CodeDomVisitors\SpecialIXmlSerializableRemapper.cs (1)
111foreach (CodeNamespace ns in cu.Namespaces)
CodeDomFixup\CodeDomVisitors\TypeDeclCollection.cs (1)
19foreach (CodeNamespace ns in cu.Namespaces)
CodeDomFixup\CodeDomVisitors\TypeNameFixer.cs (1)
17foreach (CodeNamespace ns in cu.Namespaces)
CodeDomFixup\ConfigToCode.cs (1)
20foreach (CodeNamespace namespaceDecl in codeCompileUnit.Namespaces)
CodeSerializer.cs (1)
113foreach (CodeNamespace ns in codeCompileUnit.Namespaces)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (1)
418foreach (CodeNamespace n in e.Namespaces)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (1)
138foreach (CodeNamespace n in e.Namespaces)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (2)
2955foreach (CodeNamespace n in e.Namespaces) 3324foreach (CodeNamespace nspace in e.Namespaces)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
426compileUnit.Namespaces.Add(mainNamespace); 463foreach (CodeNamespace ns in compileUnit.Namespaces)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (4)
108foreach (CodeNamespace codeNS in codeCompileUnit.Namespaces) 292CodeNamespace[] namespaces = new CodeNamespace[_codeCompileUnit.Namespaces.Count]; 293_codeCompileUnit.Namespaces.CopyTo(namespaces, 0); 1260CodeNamespaceCollection codeNamespaceCollection = _codeCompileUnit.Namespaces;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (3)
124foreach (CodeNamespace codeNamespace in codeCompileUnit.Namespaces) 125if (!targetCompileUnit.Namespaces.Contains(codeNamespace)) 126targetCompileUnit.Namespaces.Add(codeNamespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (1)
43_namespaceManager = new NamespaceHelper(_compileUnit.Namespaces);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (2)
42foreach (CodeNamespace ns in options.CodeCompileUnit.Namespaces) 52options.CodeCompileUnit.Namespaces.Add(targetCodeNamespace);
ImportModule.cs (1)
187foreach (CodeNamespace ns in codeCompileUnit.Namespaces)