4 instantiations of NamespaceDataBuilder
System.Reflection.Metadata (4)
System\Reflection\Metadata\Internal\NamespaceCache.cs (4)
126
new
NamespaceDataBuilder
(
225
return new
NamespaceDataBuilder
(namespaceHandle, simpleName, fullName);
347
var newData = new
NamespaceDataBuilder
(namespaceHandle, name, fullName);
380
var newData = new
NamespaceDataBuilder
(namespaceHandle, simpleName, fullName);
32 references to NamespaceDataBuilder
System.Reflection.Metadata (32)
System\Reflection\Metadata\Internal\NamespaceCache.cs (32)
114
var namespaceBuilderTable = new Dictionary<NamespaceDefinitionHandle,
NamespaceDataBuilder
>();
134
Dictionary<string,
NamespaceDataBuilder
> stringTable;
137
List<
NamespaceDataBuilder
>? virtualNamespaces;
151
foreach (
var
virtualNamespace in virtualNamespaces)
167
private static void MergeDuplicateNamespaces(Dictionary<NamespaceDefinitionHandle,
NamespaceDataBuilder
> table, out Dictionary<string,
NamespaceDataBuilder
> stringTable)
169
var namespaces = new Dictionary<string,
NamespaceDataBuilder
>();
170
List<KeyValuePair<NamespaceDefinitionHandle,
NamespaceDataBuilder
>>? remaps = null;
173
NamespaceDataBuilder
data = group.Value;
174
NamespaceDataBuilder
? existingRecord;
181
remaps ??= new List<KeyValuePair<NamespaceDefinitionHandle,
NamespaceDataBuilder
>>();
182
remaps.Add(new KeyValuePair<NamespaceDefinitionHandle,
NamespaceDataBuilder
>(group.Key, existingRecord));
206
private
NamespaceDataBuilder
SynthesizeNamespaceData(string fullName, NamespaceDefinitionHandle realChild)
231
private static void LinkChildDataToParentData(
NamespaceDataBuilder
child,
NamespaceDataBuilder
parent)
243
private void LinkChildToParentNamespace(Dictionary<string,
NamespaceDataBuilder
> existingNamespaces,
244
NamespaceDataBuilder
realChild,
245
ref List<
NamespaceDataBuilder
>? virtualNamespaces)
249
var
child = realChild;
275
NamespaceDataBuilder
? parentData;
284
foreach (
var
data in virtualNamespaces)
295
virtualNamespaces = new List<
NamespaceDataBuilder
>();
298
var
virtualParent = SynthesizeNamespaceData(parentName, realChild.Handle);
313
private void ResolveParentChildRelationships(Dictionary<string,
NamespaceDataBuilder
> namespaces, out List<
NamespaceDataBuilder
>? virtualNamespaces)
325
private void PopulateTableWithTypeDefinitions(Dictionary<NamespaceDefinitionHandle,
NamespaceDataBuilder
> table)
338
NamespaceDataBuilder
? builder;
347
var
newData = new NamespaceDataBuilder(namespaceHandle, name, fullName);
357
private void PopulateTableWithExportedTypes(Dictionary<NamespaceDefinitionHandle,
NamespaceDataBuilder
> table)
370
NamespaceDataBuilder
? builder;
380
var
newData = new NamespaceDataBuilder(namespaceHandle, simpleName, fullName);
458
public void MergeInto(
NamespaceDataBuilder
other)