Bug 3253 - error CS0647: The reason is `Subtype '82' of type object not yet handled in decode_cattr_value'
Summary: error CS0647: The reason is `Subtype '82' of type object not yet handled in d...
Status: RESOLVED FIXED
Alias: None
Product: Compilers
Classification: Mono
Component: C# ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Marek Safar
URL:
Depends on:
Blocks:
 
Reported: 2012-02-07 12:22 UTC by ricetons
Modified: 2012-03-05 09:18 UTC (History)
1 user (show)

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


Attachments
The code to reproduce the bug (9.20 KB, application/x-bzip2)
2012-02-07 12:22 UTC, ricetons
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 ricetons 2012-02-07 12:22:00 UTC
Created attachment 1321 [details]
The code to reproduce the bug

I'm trying to compile Korlib (a minimal implementation of C#'s runtime), and I got this error:


error CS0647: Error during emitting `System.Runtime.InteropServices.DllImportAttribute' attribute. The reason is `Subtype '82' of type object not yet handled in decode_cattr_value'
Comment 1 Marek Safar 2012-02-07 17:57:39 UTC
The assembly can be compiled with mono master. The only trick is that the output library has to be called mscorlib.dll

Using following command line

mcs -recurse:*.cs -nostdlib -out:mscorlib.dll -unsafe -t:library
Comment 2 Marek Safar 2012-03-05 09:18:03 UTC
Fixed in master