Skip to content

Commit

Permalink
Fix typo in TryExpandTypeEquality (#99101)
Browse files Browse the repository at this point in the history
Fixes #99047
  • Loading branch information
jkotas authored Feb 29, 2024
1 parent 96a2d01 commit 18b0816
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ private static bool TryExpandTypeEquality(MethodIL methodIL, byte[] body, Opcode
return false;

TypeDesc type2 = ReadLdToken(ref reader, methodIL, flags);
if (type1 == null)
if (type2 == null)
return false;

if (!ReadGetTypeFromHandle(ref reader, methodIL, flags))
Expand Down

0 comments on commit 18b0816

Please sign in to comment.