DLL: Fix TokenAttribute not being formatted as hex

This commit is contained in:
Katy Coe
2021-01-08 22:00:32 +01:00
parent 35378f5065
commit f9aae1d367

View File

@@ -211,7 +211,7 @@ namespace Il2CppInspector.Outputs
// Add token attribute // Add token attribute
if (type.Definition != null) if (type.Definition != null)
mType.AddAttribute(module, tokenAttribute, ("Token", $"0x{type.Definition.token}")); mType.AddAttribute(module, tokenAttribute, ("Token", $"0x{type.Definition.token:X8}"));
return mType; return mType;
} }