You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a stsfld and a ldsfld in the same module, and the operand is the same field.
But one is FileDef, another is MemberRef, so when I compare them use "==", it tell me false.
Maybe dnlib should use IMemberDef if one reference is defined in the current module, at least tell me true when I use "==".
The text was updated successfully, but these errors were encountered:
No, a FieldDef can never be a MemberRef and if you compare references, it will always, and must always, return false. Use SigComparer to compare fields, methods, types...
There is a stsfld and a ldsfld in the same module, and the operand is the same field.
But one is FileDef, another is MemberRef, so when I compare them use "==", it tell me false.
Maybe dnlib should use IMemberDef if one reference is defined in the current module, at least tell me true when I use "==".
The text was updated successfully, but these errors were encountered: