Skip to content

[DebuggerDisplay] attribute on Paragraph is broken #1476

@martincostello

Description

@martincostello

Information

  • OS: N/A
  • Version: 0.48.0
  • Terminal: N/A

Describe the bug

The [DebuggerDisplay] attribute on Paragraph references a field that no longer exists:

[DebuggerDisplay("{_text,nq}")]
public sealed class Paragraph : Renderable, IHasJustification, IOverflowable

This causes an error message to be rendered in a debugger if inspecting a Paragraph instance.

To Reproduce

View an instance of Paragraph in a debugger such as Visual Studio.

Expected behavior

No error is shown.

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageSomeone needs to take a look at this

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions