I am having 2 problems with the member list.
Problem 1:
In the code editor, when I add the "." after a class instance to access its member list, I will sometimes get the following unhandled exception:Problem 2:
I am using a partial class in the code editor. The rest of the partial class is contained in another file which I load initially using the DotNetProjectResolver.SourceProjectContent.LoadForFile() method. When I display the member list after "this." in the code editor, I sometimes ONLY see the members that exist in the external partial class file, and none of the additional members defined in the code editor show up.
Both of these problems seem to occur randomly. I would estimate that they occur 1 out of every 10-20 times the member list is displayed. On my computer they seem to occur when my computer is busy with another task, such as running a virus scan, but another user's computer here will do it consistently anytime. Do you have any ideas about what is going on?
Thanks,
Lisa
Problem 1:
In the code editor, when I add the "." after a class instance to access its member list, I will sometimes get the following unhandled exception:
System.InvalidOperationException was unhandled
Message="Collection was modified after the enumerator was instantiated."
Source="System"
StackTrace:
at System.Collections.Specialized.ListDictionary.NodeKeyValueCollection.NodeKeyValueEnumerator.MoveNext()
at d.w()
at ActiproSoftware.SyntaxEditor.Addons.DotNet.Dom.DotNetProjectResolver.a(IDomType A_0, String A_1)
at ActiproSoftware.SyntaxEditor.Addons.DotNet.Dom.DotNetProjectResolver.GetType(IDomType contextType, String[] importedNamespaces, String typeFullName, DomBindingFlags flags)
at ActiproSoftware.SyntaxEditor.Addons.DotNet.Dom.DotNetProjectResolver.GetType(DotNetContext context, String fullTypeName, DomBindingFlags flags)
at ActiproSoftware.SyntaxEditor.Addons.CSharp.CSharpContext.ResolveForCode(Document document, CompilationUnit compilationUnit, DotNetProjectResolver projectResolver)
at ActiproSoftware.SyntaxEditor.Addons.CSharp.CSharpContext.GetContextBeforeOffset(Document document, Int32 offset, CompilationUnit compilationUnit, DotNetProjectResolver projectResolver, Boolean forParameterInfo)
at ActiproSoftware.SyntaxEditor.Addons.CSharp.CSharpSyntaxLanguage.GetContext(SyntaxEditor syntaxEditor, Int32 offset, Boolean beforeOffset, Boolean forParameterInfo)
at ActiproSoftware.SyntaxEditor.Addons.DotNet.Dom.DotNetSyntaxLanguage.b(DotNetLanguage A_0, SyntaxEditor A_1, Boolean A_2)
at ActiproSoftware.SyntaxEditor.Addons.CSharp.CSharpSyntaxLanguage.ShowIntelliPromptMemberList(SyntaxEditor syntaxEditor)
at ActiproSoftware.SyntaxEditor.Addons.CSharp.CSharpSyntaxLanguage.OnSyntaxEditorKeyTyped(SyntaxEditor syntaxEditor, KeyTypedEventArgs e)
at ActiproSoftware.SyntaxEditor.SyntaxEditor.a(EditorView A_0, Keys A_1, Char A_2, Boolean A_3)
at ActiproSoftware.SyntaxEditor.SyntaxEditor.OnKeyPress(KeyPressEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at ActiproSoftware.SyntaxEditor.SyntaxEditor.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
I am using a partial class in the code editor. The rest of the partial class is contained in another file which I load initially using the DotNetProjectResolver.SourceProjectContent.LoadForFile() method. When I display the member list after "this." in the code editor, I sometimes ONLY see the members that exist in the external partial class file, and none of the additional members defined in the code editor show up.
Both of these problems seem to occur randomly. I would estimate that they occur 1 out of every 10-20 times the member list is displayed. On my computer they seem to occur when my computer is busy with another task, such as running a virus scan, but another user's computer here will do it consistently anytime. Do you have any ideas about what is going on?
Thanks,
Lisa