mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 09:21:15 +01:00
misc: chore: Merge into pattern
This commit is contained in:
1 parent
503dea74c2
commit
fa682d406e
157 files changed
+470
-546
No files matched your search
@@ -498,12 +498,12 @@ namespace Ryujinx.Horizon.Kernel.Generators
|
||||
|
||||
private static bool Is32BitInteger(string canonicalTypeName)
|
||||
{
|
||||
return canonicalTypeName == TypeSystemInt32 || canonicalTypeName == TypeSystemUInt32;
|
||||
return canonicalTypeName is TypeSystemInt32 or TypeSystemUInt32;
|
||||
}
|
||||
|
||||
private static bool Is64BitInteger(string canonicalTypeName)
|
||||
{
|
||||
return canonicalTypeName == TypeSystemInt64 || canonicalTypeName == TypeSystemUInt64;
|
||||
return canonicalTypeName is TypeSystemInt64 or TypeSystemUInt64;
|
||||
}
|
||||
|
||||
private static string GenerateCastFromUInt64(string value, string canonicalTargetTypeName, string targetTypeName)
|
||||
|
||||
Reference in new issue
Block a user