Bug 24018 - For all the enumeration types, show the enum string and enum int value instead of just int value
Summary: For all the enumeration types, show the enum string and enum int value instea...
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Sketches ()
Version: Trunk
Hardware: All All
: --- normal
Target Milestone: 5.7
Assignee: Sketches Dev List
URL:
Depends on:
Blocks:
 
Reported: 2014-10-23 13:54 UTC by Manish Sinha
Modified: 2014-12-02 09:32 UTC (History)
4 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:
VERIFIED FIXED

Description Manish Sinha 2014-10-23 13:54:33 UTC
If I type

    CGImageColorModel.CMYK;

it shows "2" which is the enum numerical value. It should show something like "CGImageColorModel.CMYK (2)" so that we can know the value of an enum type when inspecting the enum typed properties of other types
Comment 1 Shruti 2014-12-02 09:32:38 UTC
I have checked with typo CGImageColorModel.CMYK and its giving result for CGImageColorModel.CMYK=2, CGImageColorModel.Gray=1 for CGImageColorModel.Gray, CGImageColorModel.Lab=3 for CGImageColorModel.Lab, CGImageColorModel.RGB=0 for CGImageColorModel.RGB.

Here is the screencast regarding same :
http://www.screencast.com/t/Ukw82Nc1OhH

Environment Info :
=== Xamarin Studio ===

Version 5.7 (build 612)
Installation UUID: 67eaf3b4-f8a7-4ab4-a9df-3197350ca5dc
Runtime:
	Mono 3.12.0 ((detached/b75fa2b)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000046

=== Apple Developer Tools ===

Xcode 6.1 (6604)
Build 6A1052d

=== Xamarin.iOS ===

Version: 8.6.0.12 (Business Edition)
Hash: d7f166d
Branch: 
Build date: 2014-11-26 16:26:26-0500

=== Xamarin.Android ===

Version: 5.0.0.4 (Business Edition)
Android SDK: /Users/ixamarin78/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_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

=== Xamarin.Mac ===

Version: 1.10.0.18 (Business Edition)

=== Build Information ===

Release ID: 507000612
Git revision: eac2e66a14cd80fb6fa9552ee4a6bbdff6f22fe9
Build date: 2014-11-28 12:39:07-05
Xamarin addins: dfcd31a0b45bc27aa9e2091dee6192483c92a1e1

=== Operating System ===

Mac OS X 10.10.0
Darwin XamnewiMac.local 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64

Hence, closing this issue.