dotnet/roslyn

Hovering over cast evaluates property value in debugger

开放

#33,252 创建于 2019年2月8日

 (0 条评论) (0 个反应) (0 位负责人)C# (4,257 个派生)batch import
Area-InteractiveBugInteractive-Debugginghelp wanted

仓库指标

星标
 (20,414 个星标)
PR 合并指标
 (平均合并 6天 17小时) (30 天内合并 256 个 PR)

描述

Version Used: Visual Studio 2019 Preview 2

🔗 Originally filed as https://devdiv.visualstudio.com/DevDiv/_workitems/edit/233955

Steps to Reproduce:

  1. Create a new WPF application

  2. In the main window constructor, add the following:

    BooleanToVisibilityConverter converter = new BooleanToVisibilityConverter();
    Visibility x = (Visibility)converter.Convert(true, null, null, null);
    
  3. Set a breakpoint on one of the lines above

  4. When the breakpoint is hit, hover over the (Visibility) type cast

Expected Behavior:

Quick Info is not shown (default behavior for hovering over a type while debugging).

Actual Behavior:

Quick Info shows the value of this.Visibility (default behavior for hovering over a property while debugging).

贡献者指南