Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 2255 [details]
Test class with long string which causes this error
If I want to use a very long literal string in a code file code parsing stops to work. The symptoms are:
1. In the line above the text editor, instead of
[classname] > [methodname]
[classname] > No selection
2. Code completion runs amoc (local variables are no longer found, not even basic keywords and variable types). For instance, if I want to write a foreach-loop "in" gets expanded to "indexer"
I wasn't able to find out the actual length of the string when this starts to happen, it also appears to depend on the other content of the file. But the file attached includes an example. Removing one character in the string makes everything work again.
My setup is: Linux, openSuse 12.1, 32 bit, monodevelop 184.108.40.206, mono 2.10.9
@Marek: It's the consume_string method in the tokenizer. It throws a not implemented exception.
Why not solving that issue simply by storing the original string into a string builder in full ast mode ?
Fixed in master
Is that a fix in mono or in monodevelop?
it's fixed in master monodevelop
just verified fixed with master of today.