Skip to content

Commit

Permalink
Flip IL offset check (#62049)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobbotsch authored Nov 27, 2021
1 parent 03e0187 commit 12a8819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/tools/dotnet-pgo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ static bool IsUnknownTypeHandle(int handle)
for (int i = 0; i < schema.Length; i++)
{
var elem = schema[i];
if (elem.ILOffset == ilOffset)
if (elem.ILOffset != ilOffset)
continue;

if (elem.InstrumentationKind == PgoInstrumentationKind.GetLikelyClass)
Expand Down

0 comments on commit 12a8819

Please sign in to comment.