Bug 51532 (vs-549713) - Immediate Window cannot evaluate linq
Summary: Immediate Window cannot evaluate linq
Alias: vs-549713
Product: Xamarin Studio
Classification: Desktop
Component: Debugger (show other bugs)
Version: unspecified
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: David Karlaš
Depends on:
Reported: 2017-01-13 23:59 UTC by James Clancey
Modified: 2018-02-07 09:22 UTC (History)
8 users (show)

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


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.