Issue Type: Bug
To reproduce:
This causes several different issues, for example:
VS Code version: Code 1.32.2 (e64cb27, 2019-03-13T02:00:46.035Z)
OS version: Windows_NT x64 10.0.16299
@RononDex Those git operations can do all kinds of file manipulations. Can you help us narrow this down? Is it renaming file that results in duplicate? Adding a new file with a new type and it doesn't show up? And so forth.
@rchande yes, its file renaming that results in a duplicate.
New files declaring new classes are then not resolved by omnisharp (and it keeps showing unkown type error within vscode, building works fine though)
@rchande @akshita31 Just tried with the beta10 release, still got the same issue (occurred with git checkout, checking out another branch)

But project builds without issues
Issue here is that omnisharp currently loads source text:
What is missing here is "FileChanged" event, which gets triggered every time any process changes file. Adding this is very simple, I have a local build with this turned on because I find the issue so annoying
https://github.com/SirIntruder/omnisharp-roslyn/commit/7ef1410c44cbffa41d9e14c4431d6b3d4f175ebf
I assumed it was not done originally for performance fears, but having this is a life saver when working with git. In my experience, I didn't have any major issues with this on. If it was just an oversight I would apply this patch, and if not, at least expose an option to the users.
Also there is another issue in "making omnisharp more responsive" agenda: vscode extension currently doesn't forward "folder changed" events because the globbing pattern is set to only watch files, and there is no code in omnisharp that can handle "folder deleted" events.
Most helpful comment
Issue here is that omnisharp currently loads source text:
What is missing here is "FileChanged" event, which gets triggered every time any process changes file. Adding this is very simple, I have a local build with this turned on because I find the issue so annoying
https://github.com/SirIntruder/omnisharp-roslyn/commit/7ef1410c44cbffa41d9e14c4431d6b3d4f175ebf
I assumed it was not done originally for performance fears, but having this is a life saver when working with git. In my experience, I didn't have any major issues with this on. If it was just an oversight I would apply this patch, and if not, at least expose an option to the users.