Arthus
Dictionary cant find via ContainsKey but it does exist
If the Tkey in your case CilInstruction has an implemented IEqualityComparer, I understood you toldme they have a custom one, it will use the customComparer (which I understand it works properly)
10 replies
Dictionary cant find via ContainsKey but it does exist
Without debbugging will be hard to find. This is what ContainsKey will execute:
Looking at you code and so far seems to be that the issue is on runtime so I can't go any further without debugging. I will sugest write a test and reproduce it
10 replies
How do i exit this loop inside a loop
Hello, I undestand you infinite loop is the do-while() loop. In order to break the parent loop you can either break it or have a condition to break it i.e Console.ReadKey() == ConsoleKey.Escape or a CancellationToken.
Anyway there is missing information and context regarding what are you trying to do. Please give me more info so I could guide you
10 replies