Skip to content

Commit 18b0816

Browse files
authored
Fix typo in TryExpandTypeEquality (#99101)
Fixes #99047
1 parent 96a2d01 commit 18b0816

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/SubstitutedILProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ private static bool TryExpandTypeEquality(MethodIL methodIL, byte[] body, Opcode
879879
return false;
880880

881881
TypeDesc type2 = ReadLdToken(ref reader, methodIL, flags);
882-
if (type1 == null)
882+
if (type2 == null)
883883
return false;
884884

885885
if (!ReadGetTypeFromHandle(ref reader, methodIL, flags))

0 commit comments

Comments
 (0)