Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ PopulateTableWithExportedTypes()

void System.Reflection.Metadata.Ecma335.NamespaceCache.PopulateTableWithExportedTypes ( Dictionary< NamespaceDefinitionHandle, NamespaceDataBuilder > table)
inlineprivate

Definition at line 279 of file NamespaceCache.cs.

280 {
281 foreach (ExportedTypeHandle exportedType2 in _metadataReader.ExportedTypes)
282 {
284 if (exportedType.Implementation.Kind != HandleKind.ExportedType)
285 {
286 NamespaceDefinitionHandle namespaceDefinition = exportedType.NamespaceDefinition;
288 {
289 value.ExportedTypes.Add(exportedType2);
290 continue;
291 }
294 NamespaceDataBuilder namespaceDataBuilder = new NamespaceDataBuilder(namespaceDefinition, simpleName, @string);
297 }
298 }
299 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
void Add(TKey key, TValue value)
StringHandle GetSimpleName(NamespaceDefinitionHandle fullNamespaceHandle, int segmentIndex=int.MaxValue)
ExportedType GetExportedType(ExportedTypeHandle handle)
string GetString(StringHandle handle)
ExportedTypeHandleCollection ExportedTypes

References System.Reflection.Metadata.Ecma335.NamespaceCache._metadataReader, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Reflection.Metadata.MetadataReader.ExportedTypes, System.Reflection.Metadata.MetadataReader.GetExportedType(), System.Reflection.Metadata.Ecma335.NamespaceCache.GetSimpleName(), System.Reflection.Metadata.MetadataReader.GetString(), and System.value.

Referenced by System.Reflection.Metadata.Ecma335.NamespaceCache.PopulateNamespaceTable().