Bug 30231 - [Roslyn Migration] XS doesn't show warning if method hides method defined in parent class
Summary: [Roslyn Migration] XS doesn't show warning if method hides method defined in ...
Status: RESOLVED INVALID
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-05-19 12:45 UTC by Oleg Demchenko
Modified: 2015-05-22 19:10 UTC (History)
2 users (show)

Tags:
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 Developer Community or GitHub 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 INVALID

Description Oleg Demchenko 2015-05-19 12:45:04 UTC
Steps to reproduce:
1) Create iOS single view project
2) Open ViewController.cs file
3) Define *public void ViewWillAppear (bool animated) {}* method
4) Text editor should highlight ViewWillAppear and show parsing error message
5) Rebuild project

Actual result: project rebuilds successfully without showing any warnings
Expected result: warning should be shown to the user(add *new* or *override* keyword)

XS: XamarinStudio-6.0.0.2238
Full env. details: https://gist.github.com/olegoid/6ab9a29c34164e7c6d26
Comment 1 Parmendra Kumar 2015-05-22 07:24:22 UTC
I have checked this issue and not able to reproduce this issue.

Screencast:http://www.screencast.com/t/9Jk9dPoqvwPV

Please check the screencast and let me know if I have missed anything.

IdeLog: https://gist.github.com/Parmendrak/ac54a31aa27d34723805

Environment info:

=== Xamarin Studio ===

Version 6.0 (build 2307)
Installation UUID: 1a096c6f-0678-402e-89b2-a2c10f7e80e4
Runtime:
	Mono 4.0.1 ((detached/11b5830)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400010043

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.iOS ===

Version: 8.10.1.59 (Enterprise Edition)
Hash: 13d1cdc
Branch: master
Build date: 2015-05-18 22:54:57-0400

=== Xamarin.Android ===

Version: 5.1.2.0 (Enterprise Edition)
Android SDK: /Users/360_macmini/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.0.1.59 (Enterprise Edition)

=== Build Information ===

Release ID: 600002307
Git revision: 69979663f787746aaca7ca45dd6a7ee29268ec7d
Build date: 2015-05-21 13:21:00-04
Xamarin addins: 0b7e970a67627c5653788b6594b3256cc545ee5c
Build lane: monodevelop-lion-roslyn

=== Operating System ===

Mac OS X 10.9.4
Darwin ShrutiMac.local 13.3.0 Darwin Kernel Version 13.3.0
    Tue Jun  3 21:27:35 PDT 2014
    root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
Comment 2 Oleg Demchenko 2015-05-22 19:10:53 UTC
Thanks @Parmendra, as it turned out I was using XI with broken build functionality. Resolving this as invalid.