Output: Don't capitalize True and False for default boolean values

This commit is contained in:
Katy Coe
2019-11-04 19:41:14 +01:00
parent d04be174e6
commit f372be188a

View File

@@ -25,6 +25,8 @@ namespace Il2CppInspector.Reflection {
get {
if (!HasDefaultValue)
return "";
if (DefaultValue is bool)
return (bool) DefaultValue ? "true" : "false";
if (DefaultValue is string)
return $"\"{DefaultValue}\"";
if (!(DefaultValue is char))