[MonoDevelop] Problem with code complition - Intellisence

Dareenzo dareenzo at gmail.com
Sun Feb 19 12:14:15 UTC 2012


Hello folks.
I have a problem with MonoDevelop. The problem seems to happen when I'm
using the code completion.
For example: I might be typing something and then when I Hit <Ctrl>
+<space> in order to get the completion
an error windows pops up saying Unhandled Exception, followed by this text:

System.InvalidCastException: Cannot cast from source type to destination
type.
  at MonoDevelop.CSharp.CSharpAmbience.GetTypeReferenceString (IType
reference, MonoDevelop.TypeSystem.OutputSettings settings) [0x0001a] in
/tmp/txz/monodevelop/monodevelop-2.9.1/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpAmbience.cs:352
  at MonoDevelop.CSharp.CSharpAmbience.GetParameterString
(IParameterizedMember member, IParameter parameter,
MonoDevelop.TypeSystem.OutputSettings settings) [0x000f6] in
/tmp/txz/monodevelop/monodevelop-2.9.1/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpAmbience.cs:702
  at MonoDevelop.CSharp.CSharpAmbience.AppendParameter
(MonoDevelop.TypeSystem.OutputSettings settings, System.Text.StringBuilder
result, IParameter parameter) [0x0009e] in
/tmp/txz/monodevelop/monodevelop-2.9.1/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpAmbience.cs:745
  at MonoDevelop.CSharp.CSharpAmbience.AppendParameterList
(System.Text.StringBuilder result, MonoDevelop.TypeSystem.OutputSettings
settings, IEnumerable`1 parameterList) [0x00034] in
/tmp/txz/monodevelop/monodevelop-2.9.1/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpAmbience.cs:726
  at MonoDevelop.CSharp.CSharpAmbience.InternalGetMethodString (IMethod
method, MonoDevelop.TypeSystem.OutputSettings settings, System.String
methodName, Boolean getReturnType) [0x0017f] in
/tmp/txz/monodevelop/monodevelop-2.9.1/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpAmbience.cs:530
  at MonoDevelop.CSharp.CSharpAmbience.GetConstructorString (IMethod
method, MonoDevelop.TypeSystem.OutputSettings settings) [0x00000] in
/tmp/txz/monodevelop/monodevelop-2.9.1/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpAmbience.cs:551
  at MonoDevelop.TypeSystem.Ambience.GetString (IEntity entity,
MonoDevelop.TypeSystem.OutputSettings settings) [0x00081] in
/tmp/txz/monodevelop/monodevelop-2.9.1/src/core/MonoDevelop.Ide/MonoDevelop.TypeSystem/Ambience.cs:111
  at MonoDevelop.TypeSystem.Ambience.GetString (IEntity entity, OutputFlags
flags) [0x00000] in
/tmp/txz/monodevelop/monodevelop-2.9.1/src/core/MonoDevelop.Ide/MonoDevelop.TypeSystem/Ambience.cs:158
  at MonoDevelop.CSharp.PathedDocumentTextEditorExtension.UpdatePath
(System.Object sender, Mono.TextEditor.DocumentLocationEventArgs e)
[0x00160] in
/tmp/txz/monodevelop/monodevelop-2.9.1/src/addins/CSharpBinding/MonoDevelop.CSharp/PathedDocumentTextEditorExtension.cs:270
  at MonoDevelop.CSharp.PathedDocumentTextEditorExtension.<Initialize>m__72
(System.Object sender, System.EventArgs e) [0x00000] in
/tmp/txz/monodevelop/monodevelop-2.9.1/src/addins/CSharpBinding/MonoDevelop.CSharp/PathedDocumentTextEditorExtension.cs:47
  at (wrapper delegate-invoke)
<Module>:invoke_void__this___object_EventArgs (object,System.EventArgs)
  at (wrapper delegate-invoke)
<Module>:invoke_void__this___object_EventArgs (object,System.EventArgs)
  at (wrapper delegate-invoke)
<Module>:invoke_void__this___object_EventArgs (object,System.EventArgs)
  at MonoDevelop.Ide.Gui.Document.OnDocumentParsed (System.EventArgs e)
[0x0000d] in
/tmp/txz/monodevelop/monodevelop-2.9.1/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:684
  at
MonoDevelop.Ide.Gui.Document+<StartReparseThread>c__AnonStorey9A+<StartReparseThread>c__AnonStorey9B+<StartReparseThread>c__AnonStorey9C.<>m__126
(System.Object , System.EventArgs ) [0x0002c] in
/tmp/txz/monodevelop/monodevelop-2.9.1/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:657
  at Gtk.Application+InvokeCB.Invoke () [0x00000] in <filename unknown>:0
  at GLib.Timeout+TimeoutProxy.Handler () [0x00000] in <filename unknown>:0

Any suggestions?
Thanks In advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20120219/b6e29081/attachment.html>


More information about the Monodevelop-list mailing list