DLL: Fix TokenAttribute not being formatted as hex
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user