Bug 10171 - /home/konrad/eksperymenty/Test721/Test721/Main.cs(4,4): Error CS0584: Internal compiler error: Object reference not set to an instance of an object (CS0584) with user defined conversion operators
Summary: /home/konrad/eksperymenty/Test721/Test721/Main.cs(4,4): Error CS0584: Interna...
Status: RESOLVED FIXED
Alias: None
Product: Compilers
Classification: Mono
Component: C# ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Marek Safar
URL:
Depends on:
Blocks:
 
Reported: 2013-02-08 11:54 UTC by Konrad Kruczyński
Modified: 2013-02-09 09:22 UTC (History)
1 user (show)

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


Attachments
Program to reproduce bug (405 bytes, application/octet-stream)
2013-02-08 11:54 UTC, Konrad Kruczyński
Details


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:
Status:
RESOLVED FIXED

Description Konrad Kruczyński 2013-02-08 11:54:09 UTC
Description of Problem:
In the summary.

Steps to reproduce the problem:
1. Compile attached program


Actual Results:
Main.cs(4,4): Error CS0584: Internal compiler error: Object reference not set to an instance of an object (CS0584) (Test721)
Main.cs(4,4): Error CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement (CS0201) (Test721)


Expected Results:
Fine compilation (that prints values in comments).


How often does this happen? 
Always.

Additional Information:
Mono JIT compiler version 3.0.4 (master/f6093bb czw, 24 sty 2013, 15:30:00 CET)
Comment 1 Konrad Kruczyński 2013-02-08 11:54:38 UTC
Created attachment 3348 [details]
Program to reproduce bug
Comment 2 Marek Safar 2013-02-09 09:22:48 UTC
Fixed in master