1 instantiation of CodeNamespaceImport
dotnet-svcutil-lib (1)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (1)
1415
importCollection.Add(new
CodeNamespaceImport
(clrNamespace));
33 references to CodeNamespaceImport
dotnet-svcutil-lib (33)
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (4)
348
protected override void Visit(
CodeNamespaceImport
ns)
552
else if (obj is
CodeNamespaceImport
)
553
Visit((
CodeNamespaceImport
)obj);
677
protected virtual void Visit(
CodeNamespaceImport
ns) { }
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (3)
1021
CodeNamespaceImport
imp = (
CodeNamespaceImport
)en.Current;
2129
protected abstract void GenerateNamespaceImport(
CodeNamespaceImport
e);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (5)
40
else if (e is
CodeNamespaceImport
)
42
ValidateNamespaceImport((
CodeNamespaceImport
)e);
166
CodeNamespaceImport
imp = (
CodeNamespaceImport
)en.Current;
172
private static void ValidateNamespaceImport(
CodeNamespaceImport
e)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (4)
1257
CodeNamespaceImport
imp = (
CodeNamespaceImport
)en.Current;
3332
foreach (
CodeNamespaceImport
import in nspace.Imports)
3468
private void GenerateNamespaceImport(
CodeNamespaceImport
e)
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImport.cs (2)
30
/// Initializes a new instance of <see cref='Microsoft.CodeDom.
CodeNamespaceImport
'/>.
39
/// Initializes a new instance of <see cref='Microsoft.CodeDom.
CodeNamespaceImport
'/> using the specified namespace
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (13)
15
/// Manages a collection of <see cref='Microsoft.CodeDom.
CodeNamespaceImport
'/> objects.
33
public
CodeNamespaceImport
this[int index]
37
return ((
CodeNamespaceImport
)_data[index]);
83
public void Add(
CodeNamespaceImport
value)
94
/// Adds a set of <see cref='Microsoft.CodeDom.
CodeNamespaceImport
'/> objects to the collection.
97
public void AddRange(
CodeNamespaceImport
[] value)
103
foreach (
CodeNamespaceImport
c in value)
128
foreach (
CodeNamespaceImport
c in this)
153
this[index] = (
CodeNamespaceImport
)value;
200
return _data.Add((
CodeNamespaceImport
)value);
218
return _data.IndexOf((
CodeNamespaceImport
)value);
224
_data.Insert(index, (
CodeNamespaceImport
)value);
231
_data.Remove((
CodeNamespaceImport
)value);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Advanced\SchemaImporterExtension.cs (1)
198
foreach (
CodeNamespaceImport
import in _code.Imports)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (1)
1409
foreach (
CodeNamespaceImport
import in importCollection)