Bug 33487

Summary: 'CS1591' is not a valid warning number (CS1904)
Product: [Mono] Compilers Reporter: grokys
Component: C#Assignee: Marek Safar <masafa>
Severity: normal CC: jamie.lord, mono-bugs+mono
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Tags: Is this bug a regression?: ---
Last known good build:

Description grokys 2015-08-29 09:31:01 UTC
I'm using mono 4.2 from the alpha channel.

When compiling https://github.com/grokys/Perspex/ (commit 845b28a2c2ce858786bb11e1aa413916b2bb061d) in monodevelop I get the error:

    'CS1591' is not a valid warning number (CS1904)
Comment 1 Marek Safar 2015-08-31 08:17:07 UTC
Fixed in master and next 4.2 alpha
Comment 2 grokys 2016-02-18 18:47:33 UTC
This appears to still be a problem in 4.2.2:

targets (CoreCompile target) ->

    CSC: error CS1904: `CS1591' is not a valid warning number

     0 Warning(s)
     1 Error(s)
Comment 3 Marek Safar 2016-02-19 16:28:23 UTC
This fix is still only available in master and Mono 4.3.2 previews
Comment 4 Jamie Lord 2017-01-17 14:08:54 UTC
I'm currently experiencing the same thing with an up-to-date version of Xamarin and the latest version of Mono (4.6.2).

Is there any way to resolve this?