Bug 19095

Summary: Inconsistent warning behaviour
Product: [Mono] Compilers Reporter: Allie Miller <allie.miller>
Component: C#Assignee: Marek Safar <masafa>
Status: RESOLVED FIXED    
Severity: normal CC: mono-bugs+monodevelop, mono-bugs+mono
Priority: ---    
Version: 3.2.x   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS   
Tags: Is this bug a regression?: ---
Last known good build:

Description Allie Miller 2014-04-16 16:00:20 UTC
*Reported on behalf of a user*

With a project set to Warning Level 4 and 'Treat All Warnings as Errors', a public event that is never called results in different behaviors in Visual Studio vs. Xamarin Studio (on Mac). With Visual Studio, the unused event triggers a warning that's treated as an error. In Xamarin Studio on Windows, the used event is triggered as a warning that's treated as an error.  However, Xamarin Studio on Mac OSX (4.2.3) produces no warning. 

Versioning information along with a test case to reproduce the issue attached.
Comment 2 Marek Safar 2014-04-29 12:45:44 UTC
Fixed in master