Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillOsenkov committed Jun 10, 2024
1 parent 74f01fa commit 6e9a477
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ILRepack/MappingHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ internal ModuleDefinition GetOriginalModule(TypeDefinition type)
return module;
}

internal void StoreRemappedType(TypeDefinition orig, TypeDefinition renamed)
internal void StoreRemappedType(TypeDefinition original, TypeDefinition renamed)
{
if (orig.Scope != null)
if (original.Scope != null)
{
mappings[GetTypeKey(orig)] = renamed;
typeToSourceModuleMap[renamed] = orig.Module;
mappings[GetTypeKey(original)] = renamed;
typeToSourceModuleMap[renamed] = original.Module;
}
}

Expand Down

0 comments on commit 6e9a477

Please sign in to comment.