SharpDevelop Version : 5.1.0.5134-RC-d5052dc5
.NET Version : 4.6.00081
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Chinese (Simplified, PRC) (zh-CN)
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 214276kb
GC Heap Memory : 60643kb
Unhandled WPF exception
Exception thrown:
System.ArgumentOutOfRangeException: Value must be between 1 and 49
Parameter name: line
Actual value was 2147483647.
at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(Int32 line, Int32 column)
at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(TextLocation location)
at ICSharpCode.NRefactory.CSharp.Refactoring.DocumentScript.GetCurrentOffset(TextLocation originalDocumentLocation)
at ICSharpCode.NRefactory.CSharp.Refactoring.Script.InsertAfter(AstNode node, AstNode newNode)
at CSharpBinding.Refactoring.CSharpCodeGenerator.InsertEventHandler(ITypeDefinition target, String name, IEvent eventDefinition, Boolean jumpTo, InsertEventHandlerBodyKind bodyKind)
at CSharpBinding.FormsDesigner.CSharpEventBindingService.InsertEventHandlerInternal(String methodName, IEvent evt)
at CSharpBinding.FormsDesigner.CSharpEventBindingService.<>c__DisplayClass10_1.<ShowCode>b__0()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
---- Recent log messages:
21:48:08.872 [1] DEBUG - Forms designer: DesignerLoader loaded, HasSucceeded=True
21:48:08.872 [1] DEBUG - FormsDesigner loaded, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface
21:48:08.879 [1] DEBUG - IDEContainer: Connecting property grid to service provider
21:48:08.935 [1] INFO - Form Designer: END INITIALIZE
21:48:08.936 [1] DEBUG - FormsDesigner view content activated, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface
21:48:08.938 [1] DEBUG - ActiveContentChanged to ICSharpCode.FormsDesigner.FormsDesignerViewContent
21:48:08.959 [1] DEBUG - ParseInformationUpdated E:\c#\test0\test0\MainForm.cs (updated)
21:48:08.959 [1] DEBUG - ParseInformationUpdated E:\c#\test0\test0\MainForm.cs (updated)
21:48:08.960 [1] DEBUG - ParseInformationUpdated E:\c#\test0\test0\MainForm.Designer.cs (updated)
21:48:09.161 [1] DEBUG - Folding update ignored; parse information is outdated version
21:48:10.128 [1] DEBUG - Forms designer: ComponentChanged: button1 [System.Windows.Forms.Button], Text: button1, Member=Click, OldValue=<null>, NewValue=<null>; Loading=False; Unloading=False
21:48:10.131 [1] DEBUG - Forms designer: ComponentChanged: button1 [System.Windows.Forms.Button], Text: button1, Member=Click, OldValue=<null>, NewValue=Button1Click; Loading=False; Unloading=False
21:48:10.171 [1] DEBUG - NavigationService
ActiveViewContent: MainForm.cs
Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}
21:48:10.171 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent E:\c#\test0\test0\MainForm.cs]
21:48:10.176 [1] DEBUG - Forms designer: Save E:\c#\test0\test0\MainForm.cs
21:48:10.177 [1] INFO - Merging form changes...
21:48:10.179 [1] DEBUG - ResourceWriter requested for culture:
21:48:10.257 [1] INFO - DesignerLoader.Write called
21:48:10.316 [1] INFO - Finished merging form changes
21:48:10.320 [1] DEBUG - FormsDesigner view content deactivated, setting ActiveDesignSurface to null
21:48:10.325 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent E:\c#\test0\test0\MainForm.cs]
21:48:10.326 [1] DEBUG - IDEContainer: Disconnecting property grid from service provider
21:48:10.332 [1] DEBUG - ParseInformationUpdated E:\c#\test0\test0\MainForm.Designer.cs (updated)
21:48:10.343 [1] INFO - Open file E:\c#\test0\test0\MainForm.cs
21:48:10.356 [1] ERROR - Unhandled WPF exception
--> Exception:
System.ArgumentOutOfRangeException: Value must be between 1 and 49
Parameter name: line
Actual value was 2147483647.
at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(Int32 line, Int32 column)
at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(TextLocation location)
at ICSharpCode.NRefactory.CSharp.Refactoring.DocumentScript.GetCurrentOffset(TextLocation originalDocumentLocation)
at ICSharpCode.NRefactory.CSharp.Refactoring.Script.InsertAfter(AstNode node, AstNode newNode)
at CSharpBinding.Refactoring.CSharpCodeGenerator.InsertEventHandler(ITypeDefinition target, String name, IEvent eventDefinition, Boolean jumpTo, InsertEventHandlerBodyKind bodyKind)
at CSharpBinding.FormsDesigner.CSharpEventBindingService.InsertEventHandlerInternal(String methodName, IEvent evt)
at CSharpBinding.FormsDesigner.CSharpEventBindingService.<>c__DisplayClass10_1.<ShowCode>b__0()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
---- Post-error application state information:
Installed 3rd party AddIns:
ProjectService.CurrentSolution: [Solution E:\c#\test0\test0.sln with 1 projects]
ProjectService.CurrentProject: [CSharpProject: test0]
Workbench.ActiveContent: [AvalonEditViewContent E:\c#\test0\test0\MainForm.cs]