Bug 18198 - error CS0584: Internal compiler error: Argument is out of range
Summary: error CS0584: Internal compiler error: Argument is out of range
Alias: None
Product: Compilers
Classification: Mono
Component: C# ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Marek Safar
Depends on:
Reported: 2014-03-05 14:06 UTC by Alain
Modified: 2014-03-11 13:22 UTC (History)
3 users (show)

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

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 Alain 2014-03-05 14:06:10 UTC

I compile my DLL and I get errors like: 

error CS0584: Internal compiler error: Argument is out of range of structures that I use in methods just before and then I have no error. 

Can you tell me what should I do?

Comment 1 Sebastien Pouliot 2014-03-05 14:23:39 UTC
The mcs (C#) compiler is part of Mono. We'll need to know which version you're using* and likely a test case (if it's not a known issue).

* The easiest way to get exact version information is to use the "Xamarin Studio" menu, "About Xamarin Studio" item, "Show Details" button and copy/paste the version informations (you can use the "Copy Information" button).
Comment 2 Alain 2014-03-05 14:38:09 UTC
=== Xamarin Studio ===

Version 4.2.3 (build 59)
Installation UUID: 3363639e-cfcb-437b-ade7-72fcbb862f16
	Mono 3.2.6 ((no/9b58377)
	GTK+ 2.24.23 theme: Raleigh
	GTK# (
	Package version: 302060000

=== Apple Developer Tools ===

Xcode 5.0.2 (3335.32)
Build 5A3005

=== Xamarin.iOS ===

Version: (Business Edition)
Hash: fb4bc7b
Build date: 2014-17-02 17:43:23-0500

=== Xamarin.Android ===

Not Installed

=== Xamarin.Mac ===

Xamarin.Mac: Not Installed

=== Build Information ===

Release ID: 402030059
Git revision: 828c2a91b515daaac7e57bc69fcfda6178d4ec01
Build date: 2014-02-18 18:05:23+0000
Xamarin addins: 3bdcc713bdc4b0c04973f3a31b6d47ad3e205962

=== Operating System ===

Mac OS X 10.9.1
Darwin rogistermac.appl-lan.be 13.0.0 Darwin Kernel Version 13.0.0
    Thu Sep 19 22:22:27 PDT 2013
    root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
Comment 3 Marek Safar 2014-03-05 14:49:53 UTC
You may try mono 3.2.8 which has fixes for same exception. Or you can attach the project, so I can test it with the latest version myself.
Comment 4 Alain 2014-03-06 02:11:50 UTC
On Alpha Channel, There is only mon 3.2.7.

Is it also fixed it ? 

where can I find my 3.2.8 ?
Comment 5 Alain 2014-03-08 13:11:38 UTC
I installed the 3.2.7 version and I no longer have the problem.

Comment 6 Rolf Bjarne Kvinge [MSFT] 2014-03-11 13:22:32 UTC
Closing as per comment #5.