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
Developer Community or GitHub 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 2248 [details]
Renamed the class from UpdatedSnipeMessage to SnipeUpdated
When I rename a file in MonoDevelop, the syntax highlight for the class is in red, leading me to believe that I have a compile error in my code when in fact I do not.
Steps to duplicate
1. Open a .CS file
2. Find a place where an object is being new'd up.
3. Use the Refactor...Rename to change the name of the class.
MonoDevelop will go ahead and perform the refactoring, however the class shows up in the text editor in Red, leading the developer to believe that there is an error. Hovering the cursor over the class also brings up a pop-up with an error.
See attached. In the screenshot I renamed my class from UpdatedSnipeMessage to SnipeUpdated. The project compiles and runs fine. Closing the window for the class RunSnipe.CS and then opening it up again does not fix the problem.
Created attachment 2249 [details]
The is not an error, the class does exist and the project does compile.
Already fixed in monodevelop master.
(btw. which exact version did you use 3.0.3 ?)
Was using 126.96.36.199. Thanks.