turner
Dictionary cant find via ContainsKey but it does exist
ah yea, well sadly its not 5 lines but here it is:
this is where the lookup gets populated
and this is where it is being read
The call of the 2nd function is quite complex so i cant really put it here, but at the core its basically itterating a List with CilInstruction items
10 replies
Dictionary cant find via ContainsKey but it does exist
sure, what else is there to share? I think i shared everything
Just to clarify if i do:
They will both return true, so from what i understand this means that the methods are correctly overridden
10 replies
Dictionary cant find via ContainsKey but it does exist
This is the dictionary in question:
the
CilInstruction
type is from the library AsmResolver
which does have its own Equals
and GetHashCode
which when i manually check produces the correct results and the dict should find it based on that10 replies