[MonoDevelop] Problem with local variable completion

Lluis Sanchez lluis at ximian.com
Fri Nov 17 06:02:05 EST 2006


It looks like a problem in Mono. Which Mono version are you using?

El dv 17 de 11 del 2006 a les 08:53 +0100, en/na Hubert FONGARNAND va
escriure:
> A more precise stacktrace...
> 
> System.Runtime.Serialization.SerializationException: No element named
> KeyComparer could be found.
>   at System.Runtime.Serialization.SerializationInfo.GetValue
> (System.String name, System.Type type) [0x0009b]
> in /home/hubert/mono/mcs/class/corlib/System.Runtime.Serialization/SerializationInfo.cs:152 
>   at System.Collections.Hashtable.OnDeserialization (System.Object
> sender) [0x00059]
> in /home/hubert/mono/mcs/class/corlib/System.Collections/Hashtable.cs:578 
>   at
> System.Runtime.Serialization.ObjectManager.RaiseDeserializationEvent
> () [0x00076]
> in /home/hubert/mono/mcs/class/corlib/System.Runtime.Serialization/ObjectManager.cs:169 
>   at
> System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (System.IO.BinaryReader reader) [0x0001a] in /home/hubert/mono/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ObjectReader.cs:117 
>   at
> System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result, System.Runtime.Remoting.Messaging.Header[]& headers) [0x00044] in /home/hubert/mono/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ObjectReader.cs:105 
>   at
> System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00079] in /home/hubert/mono/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:172 
>   at
> System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000] in /home/hubert/mono/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:129 
>   at MonoDevelop.Projects.Parser.CodeCompletionDatabase.ReadHeaders
> (System.String baseDir, System.String name) [0x00022]
> in /home/hubert/mono/monodevelop/Core/src/MonoDevelop.Projects/MonoDevelop.Projects.Parser/CodeCompletionDatabase.cs:191 
>   at
> MonoDevelop.Projects.Parser.AssemblyCodeCompletionDatabase.CleanDatabase (System.String baseDir, System.String name) [0x00000] in /home/hubert/mono/monodevelop/Core/src/MonoDevelop.Projects/MonoDevelop.Projects.Parser/AssemblyCodeCompletionDatabase.cs:212 
>   at
> MonoDevelop.Projects.Parser.ParserDatabase.DeleteObsoleteDatabases ()
> [0x00033]
> in /home/hubert/mono/monodevelop/Core/src/MonoDevelop.Projects/MonoDevelop.Projects.Parser/DefaultParserService.cs:919 
>   at MonoDevelop.Projects.Parser.ParserDatabase.Initialize ()
> [0x00006]
> in /home/hubert/mono/monodevelop/Core/src/MonoDevelop.Projects/MonoDevelop.Projects.Parser/DefaultParserService.cs:568 
>   at
> MonoDevelop.Projects.Parser.DefaultParserService.CreateParserDatabase
> () [0x00007]
> in /home/hubert/mono/monodevelop/Core/src/MonoDevelop.Projects/MonoDevelop.Projects.Parser/DefaultParserService.cs:42 
>   at MonoDevelop.Ide.Gui.ProjectOperations..ctor () [0x0016e]
> in /home/hubert/mono/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ProjectOperations.cs:98 
>   at MonoDevelop.Ide.Gui.IdeApp.Initialize (IProgressMonitor monitor)
> [0x0000a]
> in /home/hubert/mono/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Ide.cs:93 
>   at MonoDevelop.Ide.Gui.IdeStartup.Run (System.String[] args)
> [0x0033d]
> in /home/hubert/mono/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IdeStartup.cs:162 
> 
> 
> 
> 
> Le jeudi 16 novembre 2006 à 08:58 +0100, Hubert FONGARNAND a écrit :
> > Hello,
> > 
> > Since two days, I experienced problems with monodevelop (updated
> > each morning from svn) and Code Completion, with local variables...
> > 
> > Example :
> > 
> > void function()
> > {
> >     string a;
> >     a. (type ctrl-space does nothing)
> > }
> > 
> > it works well for fields in the class and I've autocompletion for
> > classes in the current namespaces...
> > 
> > Thanks
> > 
> > 
> > 
> > -- 
> > Hubert FONGARNAND <informatique.internet at fiducial.fr>
> > Fiducial
> > _______________________________________________
> > Ce message et les ventuels documents joints peuvent contenir des
> > informations confidentielles.
> > Au cas o‭ il ne vous serait pas destin, nous vous remercions de bien
> > vouloir le supprimer et en aviser imm灳diatement l'expditeur. Toute
> > utilisation de ce message non conforme 䘠 sa destination, toute
> > diffusion ou publication, totale ou partielle et quel qu'en soit le
> > moyen est formellement interdite.
> > Les communications sur internet n'tant pas s≭curises, l'int⼼grit de
> > ce message n'est pas assur灳e et la socit䥄 mettrice ne peut ฆtre
> > tenue pour responsable de son contenu.  
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> _______________________________________________
> Ce message et les ventuels documents joints peuvent contenir des
> informations confidentielles.
> Au cas o il ne vous serait pas destin, nous vous remercions de bien
> vouloir le supprimer et en aviser immdiatement l'expditeur. Toute
> utilisation de ce message non conforme sa destination, toute diffusion
> ou publication, totale ou partielle et quel qu'en soit le moyen est
> formellement interdite.
> Les communications sur internet n'tant pas scurises, l'intgrit de ce
> message n'est pas assure et la socit mettrice ne peut tre tenue pour
> responsable de son contenu. 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



More information about the Monodevelop-list mailing list