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