Type string literals as System.String

This commit is contained in:
Robert Xiao
2020-06-16 19:58:15 -07:00
committed by Katy
parent 67acd18c03
commit b7c93ffcc7
2 changed files with 3 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ namespace Il2CppInspector.Outputs
}
}
private string AsCType(TypeInfo ti) {
public string AsCType(TypeInfo ti) {
// IsArray case handled by TypeNamer.GetName
if (ti.IsByRef || ti.IsPointer) {
return $"{AsCType(ti.ElementType)} *";