mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-04 08:19:25 +02:00
misc: chore: Fix possible NullReferenceExceptions, InvalidOperationExceptions
This commit is contained in:
@@ -58,7 +58,7 @@ namespace ARMeilleure.Translation
|
||||
|
||||
private static string GetKey(MethodInfo info)
|
||||
{
|
||||
return $"{info.DeclaringType.Name}.{info.Name}";
|
||||
return $"{info.DeclaringType?.Name}.{info.Name}";
|
||||
}
|
||||
|
||||
private static readonly SortedList<string, DelegateInfo> _delegates;
|
||||
|
||||
Reference in New Issue
Block a user