Bug 1260 - [2.8] Immediate window returns incorrect LVALUE
Summary: [2.8] Immediate window returns incorrect LVALUE
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: unspecified
Hardware: PC Windows
: High normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-05 13:53 UTC by Mike Christensen
Modified: 2011-11-18 17:40 UTC (History)
2 users (show)

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


Attachments
Sample code (338 bytes, text/plain)
2011-10-05 13:53 UTC, Mike Christensen
Details


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:
RESOLVED FIXED

Description Mike Christensen 2011-10-05 13:53:05 UTC
Created attachment 599 [details]
Sample code

Repro steps:

1) Create a type which has a Height property, and instantiate this type.  I've attached a program for this.

2) In the immediate window, run the following:

> f.Height
6
> f.Height = 7;
6
> f.Height
7

Results:

Code is evaluated, but "f.Height = 7" has an LVALUE of 7, not 7.

Expected:

Second line should return a 7.
Comment 1 Jeffrey Stedfast 2011-11-18 17:40:47 UTC
This also works fine.