Quantcast
Channel: SharpDevelop Community
Viewing all 1764 articles
Browse latest View live

Build problems

$
0
0

I have downloaded the latest code but the complication fails due to missing projects only 10 of the required projects are present. Please can you point me towards how the code is meant to be built from scratch. where is are the code for missng projects. I did attempt to link to the mising librarys that I downloaded from the binries release, but this had other problems.

I have also found a bug and have a fix but want ot completly test before I realease the fix. It's based around anti-decompilers for whcih I have found a solution.


ILSPY tools equivalent C# methods

$
0
0

Hi,

I need to pass dll and save the dcomiped code in my local system by using methods of ILSPY.

I have added ILSPY from nuget. But I am unable to generate project code.

Pls help me how to proceed using .Net. 

[SD4b2.6443] Most build event macros returns empty string

$
0
0

All file system related macros (with exception of all solution related) returns empty string. For example if I use this command:

copy "$(TargetPath)" "$(SolutionDir)"

I will receive information that command:

copy "" "C:\Solution\" exited with code 1.

All macros with "Target" and "Project" words return empty string.

Adding File Extensions to the XML Editor

$
0
0

Hi all,

In my quest to extend SharpDevelop to support a non-.NET language (you probably heard me rumble enough already :D ), I also wanted to make the great built-in XML editor open my file type, which has a unique extension (.dscanvas).

(The question is at the end of the post, this is some background. ;-)  ) 

I tried searching for the method to do this, but it seemed too hard-coded into the editor, so what I eventually did was create a primary display binding for my filetype and use the XmlView to display the file.
I supplied the XmlView with my custom schema for code-completion using some hacking:

//Get schema from embedded resource.
Stream schemaResourceStream = Assembly.GetExecutingAssembly().GetManifestResourceStream(GetType(), "dscanvas.xsd");
//Setup an XML reader for the schema document and pass that to the editor.
XmlTextReader xmlReader = new XmlTextReader(schemaResourceStream);
canvasSchema = new XmlSchemaCompletionData(xmlReader);
canvasSchemas = new XmlSchemaCompletionDataCollection(new XmlSchemaCompletionData[] { canvasSchema });
//Add the schema to the collection and make it the default.
xmlEditor.SchemaCompletionDataItems = canvasSchemas;
xmlEditor.DefaultSchemaCompletionData = canvasSchema;

I ran into two problems:

  1. Code completion would not work after save. I found out this is because the Save method sets the FileName property which resets the DefaultSchemaCompletionData property. To solve this I hooked an event handler for XmlView.Saved that set the default schema to my schema again.
  2. There is no syntax highlighting. I've tried:
    xmlEditor.Document.HighlightingStrategy = HighlightingStrategyFactory.CreateHighlightingStrategy(XmlView.Language);
    But it doesn't help. Any ideas, Matt or anyone?

Thanks in advance,

    GoMa
 

 

 

Opening sharpdevelop at a certain line

$
0
0

how can i run sharpdevelop from command prompt (cmd) at a certain line?

is there any command line option for that? something like "SharpDevelop.exe myfile -n 20"

 

thanks.

New decomplier branch

$
0
0

I have been looking at the various branches and noted a new decomplier version.

What's the difference between the current and the new branch?

When and if is the new verson expected on the main branch

Other than the 2 blog postings, are thaere any docs on ILSpy?

 

 

 

 

 

conversion of breckets

$
0
0

when convert datatable row index its not convert() to [

for example

vb.net

 If ViewState("grvTitleDt_Del") IsNot Nothing Then dtDel = CType(ViewState("grvTitleDt_Del"), DataTable)

c#.net:-

if (ViewState("grvTitleDt_Del") != null)
    dtDel = (DataTable)ViewState("grvTitleDt_Del");

it should be:-

if (ViewState["grvTitleDt_Del"] != null)
    dtDel = (DataTable)ViewState["grvTitleDt_Del"];

WPF Avalon Edit Make text upper case

$
0
0

I am using C# WPF with Avalon Edit Text Box.

I am trying to make all of the text in the text box uppercase and I get an error with additional message 'No undo group should be open at this point'.

 

I am using the following code:

a.Text = a.Text.ToUpper();

where "a" is the AvalonEdit.TextEditor.

The code is inside the 'TextChanged' Event handler.

 

I have also tried this answer on Stack Overflow to end the undo group, but this didn't work for me. I also tried putting this code into try ... catch blocks in various ways but got nowhere.

 

All I am trying to achieve is making the TextEditor.Text property completely uppercase whether the user inputs uppercase characters or not. If there is a fix or a better way to achieve this please let me know.

 

Thank you.

 


SharpDevelop Version : 5.1.0.5134-RC-d5052dc5 error

$
0
0

SharpDevelop Version : 5.1.0.5134-RC-d5052dc5

.NET Version         : 4.6.01038

OS Version           : Microsoft Windows NT 6.3.9600.0

Current culture      : English (United States) (en-US)

Running under WOW6432, processor architecture: x86-64

Working Set Memory   : 207744kb

GC Heap Memory       : 45390kb

 

Exception thrown:

System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)

   at System.IO.Path.GetDirectoryName(String path)

   at ICSharpCode.Svn.Commands.RegisterEventsCommand.TreeNodeCreated(Object sender, TreeViewEventArgs e)

   at System.Windows.Forms.TreeViewEventHandler.Invoke(Object sender, TreeViewEventArgs e)

   at ICSharpCode.SharpDevelop.Project.AbstractProjectBrowserTreeNode.Refresh()

   at ICSharpCode.SharpDevelop.Gui.ExtTreeNode.Insert(Int32 index, TreeNode parentNode)

   at ICSharpCode.SharpDevelop.Gui.ExtTreeNode.InsertSorted(TreeNode parentNode)

   at ICSharpCode.SharpDevelop.Project.DirectoryNode.Initialize()

   at ICSharpCode.SharpDevelop.Project.AbstractProjectBrowserTreeNode.Expanding()

   at ICSharpCode.SharpDevelop.Project.DirectoryNode.Expanding()

   at ICSharpCode.SharpDevelop.Gui.ExtTreeView.OnBeforeExpand(TreeViewCancelEventArgs e)

 

---- Recent log messages:

11:50:22.168 [1] DEBUG - NavigationService

ActiveViewContent: Microsoft.Common.CurrentVersion.targets

         Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}

11:50:22.168 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets]

11:50:44.750 [1] INFO - Open file http://www.csharphelp.com

11:50:45.297 [1] DEBUG - OpenedFileClosed: http://www.csharphelp.com

11:50:45.297 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.BrowserDisplayBinding.BrowserPane

11:50:45.297 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Browser]

11:50:45.297 [1] DEBUG - NavigationService

ActiveViewContent: Browser

         Subview: TabPageText

11:50:45.297 [1] DEBUG - ActiveViewContentChanged to ICSharpCode.SharpDevelop.BrowserDisplayBinding.BrowserPane

11:51:07.214 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.ErrorListPad

11:51:09.527 [1] INFO - Initialize DirectoryNode C:\Users\Mohamed\Downloads\Compressed\Devexpress_Universal_16.1.4_Source_Code_Downloadly.ir\Devexpress Universal 16.1.4 Source Code\Components\Sources\DevExpress.Office\DevExpress.Office.Core\DocumentFormats

11:51:09.527 [27] DEBUG - Git: OverlayIconManager Thread started

11:51:09.542 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad

11:51:09.636 [27] DEBUG - Git: OverlayIconManager Thread finished

11:51:18.264 [1] INFO - Initialize DirectoryNode C:\Users\Mohamed\Downloads\Compressed\Devexpress_Universal_16.1.4_Source_Code_Downloadly.ir\Devexpress Universal 16.1.4 Source Code\Components\Sources\DevExpress.Office\DevExpress.Office.Core\DocumentFormats\OpenXml

11:51:18.264 [27] DEBUG - Git: OverlayIconManager Thread started

11:51:18.389 [27] DEBUG - Git: OverlayIconManager Thread finished

11:51:26.587 [1] INFO - Initialize DirectoryNode C:\Users\Mohamed\Downloads\Compressed\Devexpress_Universal_16.1.4_Source_Code_Downloadly.ir\Devexpress Universal 16.1.4 Source Code\Components\Sources\DevExpress.Office\DevExpress.Office.Core\DocumentFormats\OpenXml\Import

11:51:26.587 [31] DEBUG - Git: OverlayIconManager Thread started

11:51:26.696 [31] DEBUG - Git: OverlayIconManager Thread finished

11:51:28.008 [1] INFO - Initialize DirectoryNode C:\Users\Mohamed\Downloads\Compressed\Devexpress_Universal_16.1.4_Source_Code_Downloadly.ir\Devexpress Universal 16.1.4 Source Code\Components\Sources\DevExpress.Office\DevExpress.Office.Core\DocumentFormats\OpenXml\Import\Drawing

11:51:28.008 [30] DEBUG - Git: OverlayIconManager Thread started

11:51:28.008 [1] ERROR - 

--> Exception:

System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)

   at System.IO.Path.GetDirectoryName(String path)

   at ICSharpCode.Svn.Commands.RegisterEventsCommand.TreeNodeCreated(Object sender, TreeViewEventArgs e)

   at System.Windows.Forms.TreeViewEventHandler.Invoke(Object sender, TreeViewEventArgs e)

   at ICSharpCode.SharpDevelop.Project.AbstractProjectBrowserTreeNode.Refresh()

   at ICSharpCode.SharpDevelop.Gui.ExtTreeNode.Insert(Int32 index, TreeNode parentNode)

   at ICSharpCode.SharpDevelop.Gui.ExtTreeNode.InsertSorted(TreeNode parentNode)

   at ICSharpCode.SharpDevelop.Project.DirectoryNode.Initialize()

   at ICSharpCode.SharpDevelop.Project.AbstractProjectBrowserTreeNode.Expanding()

   at ICSharpCode.SharpDevelop.Project.DirectoryNode.Expanding()

   at ICSharpCode.SharpDevelop.Gui.ExtTreeView.OnBeforeExpand(TreeViewCancelEventArgs e)

11:51:28.133 [30] ERROR - 

--> Exception:

System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)

   at System.IO.Path.GetDirectoryName(String path)

   at ICSharpCode.GitAddIn.Git.FindWorkingCopyRoot(String fileName)

   at ICSharpCode.GitAddIn.GitStatusCache.GetFileStatus(String fileName)

   at ICSharpCode.GitAddIn.OverlayIconManager.RunStep(AbstractProjectBrowserTreeNode node)

   at ICSharpCode.GitAddIn.OverlayIconManager.Run(Object state)

11:51:28.149 [30] WARN - Stack trace of last exception log:

   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)

   at System.Environment.get_StackTrace()

   at ICSharpCode.SharpDevelop.Logging.SDMessageService.ShowException(Exception ex, String message)

   at ICSharpCode.Core.MessageService.ShowException(Exception ex, String message)

   at ICSharpCode.GitAddIn.OverlayIconManager.Run(Object state)

   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

   at System.Threading.ThreadPoolWorkQueue.Dispatch()

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

11:51:28.305 [1] WARN - Stack trace of last exception log:

   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)

   at System.Environment.get_StackTrace()

   at ICSharpCode.SharpDevelop.Logging.SDMessageService.ShowException(Exception ex, String message)

   at ICSharpCode.SharpDevelop.Gui.ExtTreeView.OnBeforeExpand(TreeViewCancelEventArgs e)

   at System.Windows.Forms.TreeView.TvnExpanding(NMTREEVIEW* nmtv)

   at System.Windows.Forms.TreeView.WmNotify(Message& m)

   at System.Windows.Forms.TreeView.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

   at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)

   at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)

   at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)

   at System.Windows.Forms.Control.WmNotify(Message& m)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

   at System.Windows.Forms.ContainerControl.WndProc(Message& m)

   at System.Windows.Forms.UserControl.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

   at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)

   at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)

   at System.Windows.Forms.Control.DefWndProc(Message& m)

   at System.Windows.Forms.TreeView.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.TreeView.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)

   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)

   at System.Windows.Application.RunDispatcher(Object ignore)

   at System.Windows.Application.RunInternal(Window window)

   at System.Windows.Application.Run(Window window)

   at ICSharpCode.SharpDevelop.Workbench.WorkbenchStartup.Run(IList`1 fileList)

   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)

   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbench(WorkbenchSettings settings)

   at ICSharpCode.SharpDevelop.Sda.SharpDevelopHost.RunWorkbench(WorkbenchSettings settings)

   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.RunApplication()

   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Run()

   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Main(String[ args)

 

---- Post-error application state information:

Installed 3rd party AddIns: 

ProjectService.CurrentSolution: [Solution C:\Users\Mohamed\Downloads\Compressed\Devexpress_Universal_16.1.4_Source_Code_Downloadly.ir\Devexpress Universal 16.1.4 Source Code\Components\Sources\DevExpress.Office\DevExpress.Office.Core\DevExpress.Office.Core.sln with 1 projects]

ProjectService.CurrentProject: [CSharpProject: DevExpress.Office.Core]

Workbench.ActiveContent: ICSharpCode.SharpDevelop.Project.ProjectBrowserPad

Auto-capatalizing abbreviated toolbox control names bug?

$
0
0

When ever I drop a button from the Toolbox into a Form, and change the name to btnName, then double click it, when it adds the event method in the editor, it adds it as voidBtnDownloadClick(object sender, EventArgs e) instead of btnName. How do I prevent the ide from auto-capatalizing the first letter, and actually use the exact name from the property menu, which is still in lower case format, btnName?

 

Question about MSZIP

$
0
0

Hello.

I am trying to extract files from a Microsoft .CAB file. I read the file format specifications (https://msdn.microsoft.com/en-us/library/bb417343.aspx#cabinet_format) and now I have a byte array for each file in the CAB.

The data, however, is compressed with MSZIP (and indeed adheres to the specifications at http://download.microsoft.com/download/5/D/D/5DD33FDF-91F5-496D-9884-0A0B0EE698BB/%5BMS-MCI%5D.pdf).

I already use SharpZipLib in my project for dealing with ZIP files. My question is can I use it to decompress the data I got from the CAB file.

Thanks!

Inflate deflated data with no header and using setDictionary

$
0
0

I have a block of deflated data with no header from an MSZIP file format and I need to inflate it using the last inflated block as a dictionary. The problem is I can't use SetDictionary on an Inflater with nowrap = true. 

Is there no way around this?

Don't want to remove dead stores

$
0
0

Hi there,

I'd like the decompiled C# code emitted by ILSpy to be as close to the original one as possible. In particular, I don't want any code to be deleted. For example, I want the code like

internal sealed class Abc
{
        public static void Main()
        {
                var abc = "string1";
        }
}

to be fully restored. As it said in the Architecture Overview, all the optimization is encoded in ILAstOptimization.cs so is performed over the IL AST. I tried to disable it (just commented out the following code):

            // ILAstOptimizer bodyGraph = new ILAstOptimizer();
            // bodyGraph.Optimize(context, ilMethod);
            // context.CancellationToken.ThrowIfCancellationRequested();

in ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(), but unfortunately ended up with invalid C#:

    public static void Main()
    {
         arg_06_0 = "string1";
        string abc = arg_06_0;
        return;
    }

I also found in the Overview mentioned above something about restriction of optimization which might be helpful:

"Dead store removal. If a variable is stored and nobody is there to read it, then was it really written?
Originally we removed all such dead stores; but after some users complained about 'missing code', we restricted this optimization to apply only to stack locations. Dead stores to stack locations occur mainly after the removal of 'pop' instructions."

So could that restriction be unapplied, making the unused automatic variables also appearing in the emitted C# code?

Thank you!

C# 5.0 and .NET 4.6

$
0
0

Is there a build of SharpDevelop yet that supports .NET 4.6 projects and C# 5.0 yet? I tried searching through the forum, but I didn't see anything in my search results that looked to be related to that.

GetVersionInfo

$
0
0

FileVersionInfo.GetVersionInfo("D:/Notepad.exe").FileVersion act in different way when the file is Open or not.

If the file is Open the version returned is empty

Don't know if a bug of Sharpdevelop or .NET framework. In any case all other file properties are returned correctly (length, creation date, modification date, etc.).

In order to reproduce the issue, try this:

        voidButton2Click(object sender, EventArgs e)
        {
            string versionFile = FileVersionInfo.GetVersionInfo("D:/Notepad.exe").FileVersion;
            using (var fs1 = newBinaryReader (File.Open ("D:/Notepad.exe", FileMode.Open)))
            {            
                MessageBox.Show  ("Version:   " + versionFile);                      //      returns correct fileversion
                MessageBox.Show ("Version:    " + FileVersionInfo.GetVersionInfo("D:/Notepad.exe").FileVersion);  // returns null
            }

 

Pc Configuration:

Windows 7

SharpDevelop Version : 5.1.0.5216-0e58df71
.NET Version         : 4.6.01055

 


Extra Line When Clearing Options> Coding> Edit Standard Headers In C#

$
0
0

There is a bug where a blank line is left when you remove the default header from the Optios> Coding> Edit Standard Headers dialogue. It results in a blank line, followed by the default using namespace; declarations.

C # 6.0

$
0
0

Will support the new syntax C # 6.0 ?

https://msdn.microsoft.com/en-us/magazine/dn802602.aspx?f=255&MSPPError=-2147217396

Working with Stored Procedure within the SharpDevelop Report

$
0
0

Hi everybody,

I am trying to design or develop a report that will be generated by a filter, for instance: by a gender (SELECT * FROM Customer WHERE gender = 'M') and this is using the stored procedure as indicated below:

 

-------------------------->>>

  1. set ANSI_NULLS ON
  2. set  QUOTED_INDENTIFIER ON
  3. go
  4. ALTER PROCEDURE [dbo].[_FilterByGender]
  5.               @gen nchar(1)
  6. AS
  7.   BEGIN
  8.       SET NOCOUNT ON;
  9.             select firstname, lastname, gender, race from customer where gender = @gen;
  10.   END 

------------------------------------>>>>

 

Below is my source code which gives me an error message that "Procedure or Function '_FilterByGender' expects parameter '@gen', which was not supplied."

 

----------------------->>>>>

  1. void Button11Click(object sender, EventArgs e) //Report Generator
  2.         {
  3.             ReportEngine engine = new ReportEngine ();
  4.             
  5.             ReportParameters repParam = ReportEngine.LoadParameters (reportPath);
  6.             
  7.             DbProviderFactory factory = DbProviderFactories.GetFactory 
  8.                 (css.ProviderName);
  9.             DbConnection conn = factory.CreateConnection ();
  10.             
  11. //            ReportModel reportModel = ReportEngine.LoadReportModel (reportPath);
  12.             
  13. //            repParam.SqlParameters[0].DataType = DbType.String;
  14. //            repParam.SqlParameters[0].ParameterDirection = ParameterDirection.Input;
  15. //            repParam.SqlParameters[0].ParameterName = "@gen";
  16. //            repParam.SqlParameters[0].ParameterValue = comboBox1.Text;
  17.             
  18.             repParam.SqlParameters.Add (new ICSharpCode.Reports.Core.SqlParameter ("@gen",
  19.                                                           DbType.String, comboBox1.Text)); //comboBox1 contains gender values 'M' & 'F'
  20.             
  21.             BasePager pageBuilder = engine.CreatePageBuilder
  22.                 (reportPath, repParam);

  23.             pageBuilder.BuildExportList ();
  24.             
  25.             engine.PreviewStandardReport (reportPath, repParam);            
  26.         }

----------------------------->>>>>

 

Kindly note that I have also tried commenting the following code:

 

repParam.SqlParameters.Add (new ICSharpCode.Reports.Core.SqlParameter ("@gen",
                                                          DbType.String, comboBox1.Text));

 

and uncommenting the following one:

 

//            repParam.SqlParameters[0].DataType = DbType.String;
//            repParam.SqlParameters[0].ParameterDirection = ParameterDirection.Input;
//            repParam.SqlParameters[0].ParameterName = "@gen";
//            repParam.SqlParameters[0].ParameterValue = comboBox1.Text;

 

and when the above code is uncommented, the following error is obtained:

"Index was out of range. Must be non-negative and less than the size of the collection."

 

Values for ReportProperties on the Report2.srd are as follow

 

  1. FileName: C:\Users\Pee-Jay\Documents\SharpDevelop Projects\TestApp\TestApp\Report2.srd
  2. ReportName: Report2
  3. ReportType: DataReport
  4. CommandText: _FilterByGender
  5. CommandType: StoredProcedure
  6. ConnectionString: Provider=SQLNCLI10.1;Data Source=;User Id=XXXXXX;Password=XXXXXX;Initial Catalog=TestDB
  7. DataModel: PullData
  8. ParameterCollection: <nothing specified>
  9. SqlParameters: <nothing specified>

 

--------------------------->>>

 

I have tried getting this right on my own for more than a month now wiithout any luck. Please help fellows.

 

Thanks

appending files to AES Encrypted ZIP

$
0
0

Hi All,

I have been working on our Zipping library. My primary target is to zip the files in an Zip file with AES encryption Applied on it. and my secondary target is to append more files to the already created zip. At this part, I can able to append the file but while extracting i get an error that the Unknown Method in / No Files to extract

The Following is the code i have used for AES encryption and adding the file.

 

if (!File.Exists(strFilePath + "\\" + strZipFile + ".zip"))
            {
                using (ZipOutputStream zip = new ZipOutputStream(File.Open(strFilePath + strZipFile + ".zip", FileMode.OpenOrCreate)))
                {
                    zip.UseZip64 = UseZip64.Off;
                    zip.SetLevel(9);

                    if (strPassReq.ToString().Trim().Equals("Y"))
                    {
                        zip.Password = strPasswd.Trim();
                    }

                    ICSharpCode.SharpZipLib.Zip.ZipEntry entry = new ICSharpCode.SharpZipLib.Zip.ZipEntry(strFileName.Substring(strFileName.LastIndexOf("\\") + 1));
                    if (strPassReq.ToString().Trim().Equals("Y"))
                        entry.AESKeySize = 256;
                    entry.DateTime = DateTime.Now;
                    zip.PutNextEntry(entry);


                    using (FileStream fs = File.OpenRead(strFilePath + strFileName))
                    {
                        byte[ buffer = new byte[4096];
                        int bytes = 1;
                        while (bytes > 0)
                        {
                            bytes = fs.Read(buffer, 0, buffer.Length);
                            zip.Write(buffer, 0, bytes);
                        }
                    }

                    zip.Finish();
                    zip.Close();
                    //File.Delete(strFilePath + strFileName);
                    ZFname = strZipFile + ".zip";
                }

            }
            else
            {

                ZipFile zfile = new ZipFile(strFilePath + "\\" + strZipFile + ".zip");
                zfile.UseZip64 = UseZip64.Off;
                if (strPassReq.ToString().Trim().Equals("Y"))
                {
                    zfile.Password = strPasswd;
                }
                zfile.BeginUpdate();
                zfile.Add(strFilePath + strFileName, strFileName);
                if (strPassReq.ToString().Trim().Equals("Y"))
                {
                    zfile.Password = strPasswd.Trim();
                }
                zfile.CommitUpdate();
                zfile.Close();
                //File.Delete(strFilePath + "\\" + strFileName);
                ZFname = strZipFile + ".zip";
            }

There are no errors in the above code.

 

Reproducible Error when incidentaly leaving a stray quotation mark in a Procedure call

$
0
0

I was cutting a string and pasting a variable name into a procedure call (messagebox), but accidentally left the trailing quotation mark too long.

I am able to click continue and quickly delete teh offending quote mark, but if I delay too much the error recurrs.

I am running the Xcopyable version in "portable mode" but have not altered anything from "out of the box"

Details below:

This is my Exact Code:

        voidDebugStringBox(string tmpString)
        {
            if (MessageBox.Show(tmpString, tmpString, MessageBoxButtons.YesNo)==DialogResult.No)
            {
                 //some interesting behaviour here
            }
        }

 

If I add a quotation mark like this:

        voidDebugStringBox(string tmpString)
        {
            if (MessageBox.Show(tmpString, tmpString", MessageBoxButtons.YesNo)==DialogResult.No)
            {
                 //some interesting behaviour here
            }
        }

 

Then I get the following Error:

SharpDevelop Version : 5.1.0.5216-0e58df71

.NET Version         : 4.5.51209

OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1

Current culture      : English (United States) (en-US)

Running under WOW6432, processor architecture: x86-64

Working Set Memory   : 272088kb

GC Heap Memory       : 43900kb

 

Unhandled WPF exception

Exception thrown:

System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<GetSyntaxTreeAsync>d__2.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.MoveTypeToFileContextAction.<IsAvailableAsync>d__0.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Refactoring.ContextAction.<ICSharpCode-SharpDevelop-Refactoring-IContextActionProvider-GetAvailableActionsAsync>d__15.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.AvalonEdit.AddIn.ContextActions.EditorActionsProvider.<GetActionsAsync>d__12.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.AvalonEdit.AddIn.ContextActions.ContextActionsBulbViewModel.<LoadActionsAsync>d__14.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.AvalonEdit.AddIn.ContextActions.ContextActionsRenderer.<TimerMoveTick>d__15.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__4(Object state)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

 

---- Recent log messages:

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.414 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.415 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.415 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.415 [47] WARN - CSharpContextActionProviderWrapper crashed: System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<>c.<<GetAstResolverAsync>b__3_0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.CSharpCodeActionProviderDoozer.CSharpContextActionProviderWrapper.<>c__DisplayClass17_0.<<GetAvailableActionsAsync>b__0>d.MoveNext()

14:11:09.415 [1] ERROR - Unhandled WPF exception

--> Exception:

System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.AvalonEdit.Utils.CharRope.ToString(Rope`1 rope, Int32 startIndex, Int32 length)

   at ICSharpCode.AvalonEdit.Document.RopeTextSource.GetText(Int32 offset, Int32 length)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)

   at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)

   at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<>c__DisplayClass28_0.<DoParseAsync>b__0()

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.<ParseAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.ExtensionMethods.<GetSyntaxTreeAsync>d__2.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at CSharpBinding.Refactoring.MoveTypeToFileContextAction.<IsAvailableAsync>d__0.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Refactoring.ContextAction.<ICSharpCode-SharpDevelop-Refactoring-IContextActionProvider-GetAvailableActionsAsync>d__15.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.AvalonEdit.AddIn.ContextActions.EditorActionsProvider.<GetActionsAsync>d__12.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.AvalonEdit.AddIn.ContextActions.ContextActionsBulbViewModel.<LoadActionsAsync>d__14.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.AvalonEdit.AddIn.ContextActions.ContextActionsRenderer.<TimerMoveTick>d__15.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__4(Object state)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

 

---- Post-error application state information:

Installed 3rd party AddIns:

ProjectService.CurrentSolution: [Solution C:\Users\Lawrence.Sproul\Documents\SharpDevelop Projects\ScotWhat\ScotWhat.sln with 1 projects]

ProjectService.CurrentProject: [CSharpProject: ScotWhat]

Workbench.ActiveContent: [AvalonEditViewContent C:\Users\Lawrence.Sproul\Documents\SharpDevelop Projects\ScotWhat\ScotWhat\MainForm.cs]

 

Viewing all 1764 articles
Browse latest View live