Make code in `getTargetMethodDesc` more reliable. (#21101)
Make code in `getTargetMethodDesc` more reliable. (#21101)

* Make code in `getTargetMethodDesc` more reliable.

Fixes DevDiv_723667.

* change the condition to make sure that we do not have false true cases.

cshung/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,mmitche/coreclr,poizan42/coreclr,krk/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,krk/coreclr,mmitche/coreclr,cshung/coreclr,poizan42/coreclr,mmitche/coreclr,cshung/coreclr,wtgodbe/coreclr,poizan42/coreclr,krk/coreclr,poizan42/coreclr,mmitche/coreclr,wtgodbe/coreclr,mmitche/coreclr,cshung/coreclr,mmitche/coreclr,krk/coreclr,wtgodbe/coreclr,cshung/coreclr,poizan42/coreclr,wtgodbe/coreclr,poizan42/coreclr