Created attachment 11769 [details]
While debugging and stopped at a breakpoint, the example below shows that method does not exist, while it's declared as extension method:
var str = new NSAttributedString ("My Text Here");
nfloat size = str.GetSize().Height;
Hovering over Height will show you that no method exists, while GetSize() is correctly evaluated with the Editor resolver (not the debugger one)
Created attachment 11789 [details]
I have checked this issue and able to reproduce this. To reproduce this issue I have followed the steps and instruction provided in bug description. I have attached the test sample.
Steps I followed:
1. Open attached test sample in XS.
2. Verify that breakpoint is set in line no: 22 in AppDelegate.cs.
3. Run the application, breakpoint will hit.
4. Hovering over Height will show you that no method exists.
Ide Logs: https://gist.github.com/Rajneesh360Logica/d63f2ccbacb3fa90fd20
=== Xamarin Studio ===
Version 5.9.4 (build 5)
Installation UUID: 011d70a5-dede-428b-ab04-ef451c2e539d
Mono 4.0.2 ((detached/c99aa0c)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400020005
=== Xamarin.Android ===
Version: 188.8.131.52 (Business Edition)
Android SDK: /Users/MM/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.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
=== Xamarin Android Player ===
Version: Unknown version
Location: /Applications/Xamarin Android Player.app
=== Apple Developer Tools ===
Xcode 6.2 (6776)
=== Xamarin.iOS ===
Version: 184.108.40.206 (Business Edition)
Build date: 2015-06-29 11:03:42-0400
=== Xamarin.Mac ===
Version: 220.127.116.11 (Business Edition)
=== Build Information ===
Release ID: 509040005
Git revision: 8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b
Build date: 2015-06-08 16:52:06-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8
=== Operating System ===
Mac OS X 10.9.5
Darwin MacMini.local 13.4.0 Darwin Kernel Version 13.4.0
Sun Aug 17 19:50:11 PDT 2014
Right now we only support LINQ extension methods because supporting other extension methods is tricky.