Bug 51532 - Immediate Window cannot evaluate linq
Summary: Immediate Window cannot evaluate linq
Status: CONFIRMED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger (show other bugs)
Version: unspecified
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: David Karlaš
URL:
Depends on:
Blocks:
 
Reported: 2017-01-13 23:59 UTC by James Clancey
Modified: 2017-11-01 15:46 UTC (History)
8 users (show)

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


Attachments

Description James Clancey 2017-01-13 23:59:43 UTC
Inspector does not support the following things

>  items.FirstOrDefault(x=> x.Id.Contains("foo"))
>  items.Where(x=> x.Id.Contains("foo"))

You will always get:

Expression not supported.

Sometimes while debugging you want to search through a collection. And recompiling and hoping to get back into the same state is really not nice.
Comment 1 James Clancey 2017-01-14 00:07:16 UTC
Sorry immediate window, not inspector
Comment 2 Gregory Shields 2017-01-16 21:40:24 UTC
Same situation with Visual Studio.

Note You need to log in before you can comment on or make changes to this bug.