We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47328ee commit 5807d2bCopy full SHA for 5807d2b
LibCpp2IL/MetadataUsage.cs
@@ -58,8 +58,8 @@ public Il2CppTypeReflectionData AsType()
58
try
59
{
60
_cachedType = LibCpp2IlMain.Binary!.GetType((int)value);
61
- _cachedTypeReflectionData = LibCpp2ILUtils.GetTypeReflectionData(_cachedType)!;
62
- _cachedName = LibCpp2ILUtils.GetTypeReflectionData(_cachedType)?.ToString();
+ _cachedTypeReflectionData = LibCpp2ILUtils.GetTypeReflectionData(_cachedType);
+ _cachedName = _cachedTypeReflectionData?.ToString();
63
}
64
catch (Exception e)
65
0 commit comments