try breakpoint on 231 and then 232 rows, check values
what is the problem? I see 4 variables assigned to 4 different values
apparently this code is (badly) designed to retrieve *changed external values that are updated in another thread. So those external values have been changed in between
yes, I understand it, but. there is only 1 thread
try to make sourceFileNameChanged property with setter and set there breakpoint to see what exactly change the value
You can also use stack trace or call stack (debug window) to see what the methods call it
it's likely assigned by the fileSystemWatcher event indeed, which might have its own thread for the events
ok, but i suspect it is realy concurrent issue
Обсуждают сегодня