Bug 22337 - cs0103 for some types
Summary: cs0103 for some types
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: unspecified
Hardware: Macintosh Mac OS
: High normal
Target Milestone: master
Assignee: Mike Krüger
URL:
: 21921 22304 ()
Depends on:
Blocks:
 
Reported: 2014-08-25 10:35 UTC by Rustam Zaitov
Modified: 2014-08-27 09:45 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 Rustam Zaitov 2014-08-25 10:35:45 UTC
I am porting sample and update monotouch. And now some types are marked as red and warn CS0103 but they shoudn't
https://github.com/xamarin/private-samples/blob/df199a6e6bdc62d927e3126e2b825c221bf900e5/ios8/AVCamManual/AVCamManual/CameraViewController.cs#L713
Project compiles fine.

About XS: https://gist.github.com/rzaitov/5a529e91d298b3e56952
Comment 1 Mike Krüger 2014-08-26 06:46:13 UTC
How did you update monotouch ?
I suspect that the IDE takes the wrong version for the reference lookup.
Comment 2 Mike Krüger 2014-08-26 06:49:27 UTC
And can you still reproduce it ?
Comment 3 Rustam Zaitov 2014-08-26 09:35:25 UTC
Yes can reproduce it.
1. I downloaded monotouch installer from here https://wrench.internalx.com/Wrench/ViewLane.aspx?lane_id=990&host_id=98&revision_id=345654

2. took XS from here https://wrench.internalx.com/Wrench/ViewLane.aspx?lane_id=432&host_id=116&revision_id=345704

3. Close IDE
4. Install XS and monotouch
5. Open sample (https://github.com/xamarin/private-samples/blob/df199a6e6bdc62d927e3126e2b825c221bf900e5/ios8/AVCamManual/AVCamManual/CameraViewController.cs#L713)
6. Go to 713 line – NSObservedChange is not found

Project compiles, but there is no intellisence support for NSObservedChange type
Comment 4 Mike Krüger 2014-08-27 01:28:56 UTC
Fixed in 5.4.0.155
Comment 5 Mike Krüger 2014-08-27 01:30:47 UTC
*** Bug 22304 has been marked as a duplicate of this bug. ***
Comment 6 Mike Krüger 2014-08-27 01:31:33 UTC
*** Bug 21921 has been marked as a duplicate of this bug. ***
Comment 7 Rustam Zaitov 2014-08-27 09:45:10 UTC
Perfect! It works.
Change status to Verified Fixed