My Xamarin Studio's C# intellisense is regularly missing symbols from files in the current solution. They don't show up in either the code completion list or the search and usages of the symbols are colored as errors in open files. The files containing the symbols do show in the search, however, and opening them adds the symbols to the index. Some files seem to be affected more often but I couldn't make out a pattern as to which files are affected and when it happens.
Any idea what could prevent the files from being indexed?
This has been happening for a while and I've been keeping Xamarin Studio up to date (now at 4.2.3.60 on Mac OS X 10.9.2). Following error appears a couple of times in the Ide.log:
ERROR [2014-03-07 14:40:49Z]: Error while creating tooltip. System.InvalidCastException: Cannot cast from source type to destination type. at MonoDevelop.SourceEditor.LanguageItemTooltipProvider.CreateTooltip (MonoDevelop.SourceEditor.ToolTipData data, Int32 offset, MonoDevelop.Ide.TypeSystem.Ambience ambience, ModifierType modifierState) [0x0078a] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.2.3-branch/30c4afc3/source/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Tooltips/LanguageItemTooltipProvider.cs:333