Table of Contents

Struct Diagnostic

Namespace
Icy.Design.Syntax
Assembly
IcyUI.Design.dll

Describes a problem in markup text, or a reason an edit couldn't be made.

public readonly record struct Diagnostic : IEquatable<Diagnostic>
Implements
Inherited Members
Extension Methods

Constructors

Diagnostic(TextSpan, string)

Describes a problem in markup text, or a reason an edit couldn't be made.

public Diagnostic(TextSpan Span, string Message)

Parameters

Span TextSpan

The range of text the problem is about.

Message string

A human-readable description of the problem.

Properties

Message

A human-readable description of the problem.

public string Message { get; init; }

Property Value

string

Span

The range of text the problem is about.

public TextSpan Span { get; init; }

Property Value

TextSpan

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.