Bug 40195 - Local variable hides message does not show the variable names
Summary: Local variable hides message does not show the variable names
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: 6.0.0 (C7)
Hardware: PC Mac OS
: Normal normal
Target Milestone: (C7)
Assignee: Mike Krüger
Depends on:
Reported: 2016-04-07 14:13 UTC by John Miller [MSFT]
Modified: 2016-04-08 13:40 UTC (History)
2 users (show)

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

Screenshot (45.61 KB, image/png)
2016-04-07 14:13 UTC, John Miller [MSFT]

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:

Description John Miller [MSFT] 2016-04-07 14:13:07 UTC
Created attachment 15642 [details]


   When a variable would hide a base class implementation, the analysis message does not show the variable names, intsead it shows placeholders. {0} {1} {2} for the string format.

**Steps to Reproduce:**

   Create a variable that would hide another variable.

**Actual Results:**

   See attached image. 

   Local variable '{0}' hides {1} '{2}'

**Expected Results:**

   The placeholders should have the variable names.

**Build Date & Platform:**

=== Xamarin Studio ===

Version 6.0 (build 4801)
Installation UUID: 90d4731c-1027-4a31-b240-bf694af26f46
Mono 4.4.0 (mono-4.4.0-branch/f8474c4) (64-bit)
GTK+ 2.24.23 (Raleigh theme)

Package version: 404000040

=== Xamarin.Profiler ===

Location: /Applications/XamarinProfiler.Mac.app/Contents/MacOS/XamarinProfiler.Mac

=== Apple Developer Tools ===

Xcode 7.3 (10183.3)
Build 7D175

=== Xamarin.iOS ===

Version: (Enterprise Edition)
Hash: f51047c
Branch: cycle7
Build date: 2016-03-25 02:13:42-0400

=== Xamarin.Android ===

Version: (Starter Edition)
Android SDK: /Users/mike/Library/Developer/Xamarin/android-sdk-mac_x86
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)

SDK Tools Version: 22.2.1
SDK Platform Tools Version: 18.0.1
SDK Build Tools Version: 17.0.0

Java SDK: /usr
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

Android Designer EPL code available here:

=== Xamarin Android Player ===

Not Installed

=== Xamarin.Mac ===

Not Installed

=== Build Information ===

Release ID: 600004801
Git revision: f73f730c738baf8701a5892b7af64fd468d1dc0c
Build date: 2016-03-14 14:28:06-04
Xamarin addins: 3af7be6c701eb0137645a03e38b82f23b65738c3
Build lane: monodevelop-lion-cycle7

=== Operating System ===

Mac OS X 10.11.4
Comment 1 Kyle White 2016-04-08 13:25:15 UTC
@John I am not able to reproduce this issue in newer builds of C7 hence closing the issue. Please reopen it if you can still reproduce.


Xamarin Studio Enterprise
Version 6.0 (build 4966)
Installation UUID: 2c508f76-5ebf-43ed-a8ad-707d3c9fd4b3
	Mono 4.4.0 (mono-4.4.0-branch/001a568) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 404000111
Comment 2 Mike Krüger 2016-04-08 13:40:48 UTC
@Kyle: You're right that this got fixed in RE already.