Bug 15731 - public enum has "Unknown resolve error"
Summary: public enum has "Unknown resolve error"
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Mike Krüger
Depends on:
Reported: 2013-10-27 03:43 UTC by jimmywen7
Modified: 2013-10-29 01:47 UTC (History)
3 users (show)

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

Print screen of error message (144.47 KB, image/png)
2013-10-27 03:43 UTC, jimmywen7

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 jimmywen7 2013-10-27 03:43:07 UTC
I try to generate binding using Objective Sharpie. The ApiDefinition.cs file has 
	public enum WacomStylusEventType 
		EStylusEventType_PressureChange = 0,
		EStylusEventType_ButtonPressed = 1,
		EStylusEventType_ButtonReleased = 2,
		EStylusEventType_BatteryLevelChanged = 3

But when I hover my cursor on "WacomStylusEventType", I see error message on the tooltip "Unknown resolve error".

The "public partial interface WacomStylusEvent" that has "WacomStylusEventType GetType { get; }" will show error "The name WacomStylusEventType does not exist in the current context".

Please refer to the print screen of my error in the attachment.
Comment 1 jimmywen7 2013-10-27 03:43:49 UTC
Created attachment 5246 [details]
Print screen of error message
Comment 2 Mike Krüger 2013-10-28 01:03:12 UTC
Is that file part of the project ?
If yes, is the build action 'compile' for this file ?
Comment 3 Mike Krüger 2013-10-29 01:47:33 UTC
The file seemed not to be part of the project (it hadn't no semantic highlighting)