Bug 2517 - Not implemented exception
Summary: Not implemented exception
Alias: None
Product: Compilers
Classification: Mono
Component: C# ()
Version: unspecified
Hardware: PC Linux
: Normal normal
Target Milestone: ---
Assignee: Marek Safar
Depends on:
Reported: 2011-12-15 06:34 UTC by Elmar Haneke
Modified: 2012-08-09 03:56 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Source-File (with patch applied) (7.56 KB, text/plain)
2012-04-11 08:42 UTC, Elmar Haneke

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Elmar Haneke 2011-12-15 06:34:21 UTC
Generating files in gtk-gui sometime gives an "NotImplementedException" from the ReadChars method in file ./contrib/ICSharpCode.NRefactory/CSharp/Parser/mcs/support.cs

The Problem does vanish by changing

			const int default_read_ahead = 2048;


			const int default_read_ahead = 40960;
Comment 1 Marek Safar 2012-04-11 06:17:34 UTC
Could you attach the original source file?
Comment 2 Elmar Haneke 2012-04-11 08:42:04 UTC
Created attachment 1653 [details]
Source-File (with patch applied)
Comment 3 Marek Safar 2012-04-11 08:48:04 UTC
I did mean the source code which triggers the NotImplementedException exception.

Increasing the buffer does not fix it, it just makes the problem less likely.
Comment 4 Marek Safar 2012-08-09 03:52:09 UTC
no response
Comment 5 Mike Krüger 2012-08-09 03:56:18 UTC
Is fixed in master anyways.