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

◆ AddMethodImport()

void System.Reflection.Metadata.Ecma335.MetadataBuilder.AddMethodImport ( MethodDefinitionHandle method,
MethodImportAttributes attributes,
StringHandle name,
ModuleReferenceHandle module )
inline

Definition at line 1306 of file MetadataBuilder.cs.

1307 {
1308 _implMapTable.Add(new ImplMapRow
1309 {
1310 MemberForwarded = CodedIndex.MemberForwarded(method),
1311 ImportName = name,
1312 ImportScope = module.RowId,
1313 MappingFlags = (ushort)attributes
1314 });
1315 }
void Add(TKey key, TValue value)

References System.Reflection.Metadata.Ecma335.MetadataBuilder._implMapTable, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), and System.Reflection.Metadata.Ecma335.CodedIndex.MemberForwarded().