Project
ReSharper
Priority
Show-stopper
Type
Bug
Fix versions
2.5.2
State
Fixed
Assignee
Sergey Coox
Subsystem
No subsystem
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Dag Christensen
    5 years ago (30 Jan 2007 12:09)
  • Updated by   Dag Christensen
    5 years ago (09 Feb 2007 20:56)
  • Jira: RSRP-34994
    (history, comments)
 
RSRP-34994 Web solution display incorrect "cannot resolve" errors
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
1. Open the attached solution (App_Code/Service.cs should be open in the editor)
2. Rebuild ClassLibrary1
3. Build WebSite3
4. Wait a few seconds, Class1 is highlighted in red with an error saying "Cannot resolve symbol 'ClassLibrary1".


Issue was closed
Comments (4)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Dmitry Shaporenkov
  Dmitry Shaporenkov
30 Jan 2007 15:40
5 years ago
Hi Dag,

unfortunately we've failed to repeat it. May be we need to repeat these steps several times? Also, could you please attach ReSharper log captured after the moment the references have become red? Thanks.
Dag Christensen
  Dag Christensen
30 Jan 2007 16:03
5 years ago
I sometimes have to repeat the steps a few times for the bug to appear.

On my first attempt to reproduce the bug on my own box, I repeated the steps 5-6 times followed by Visual Studio crashing. The crash dialog box offered me to debug, revealing this exception:

System.InvalidOperationException was unhandled
Message="Collection was modified; enumeration operation may not execute."
Source="mscorlib"
StackTrace:
 at System.Collections.Hashtable.HashtableEnumerator.MoveNext()
 at System.Collections.Hashtable.HashtableEnumerator.MoveNext()
 at JetBrains.ReSharper.Util.QualifiedNamesTrie.Node.GetChildren() in c:\Agent\work\Server\ReSharper2.5\src\Util\src\dataStructures\QualifiedNamesTrie.cs:line 436
 at JetBrains.ReSharper.ProjectModel.Impl.FileSystemWatcherTree.OnWatcherDeleted(Object sender, FileSystemEventArgs e) in c:\Agent\work\Server\ReSharper2.5\src\ProjectModel\src\impl\fileSystemTracker\FileSystemWatcherTree.cs:line 374
 at System.IO.FileSystemWatcher.OnDeleted(FileSystemEventArgs e)
 at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(Int32 action, String name)
 at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
 at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

Then I closed all instances of Visual Studio, opened my example and after 2-3 builds the error occured. I'll attach the log file.
Dag Christensen
  Dag Christensen
30 Jan 2007 16:20
5 years ago
A bit inaccurate in the last post - "after 2-3 builds" should be "repeating steps 2-4 a few times".
Dag Christensen
  Dag Christensen
07 Feb 2007 16:00
5 years ago
Screenshot from a larger solution than the example provided.