LineParser.MarkupDiagnostic
Represents a diagnostic message produced during markup parsing.
public struct MarkupDiagnostic : IEquatable<MarkupDiagnostic>Inherits from System.ValueType
Implements System.IEquatable{Yarn.Markup.LineParser.MarkupDiagnostic}
#Constructors
#MarkupDiagnostic(string, int)
Initialises a new instance of the MarkupDiagnostic
struct.
public MarkupDiagnostic(string message, int column = -1)Parameters
messagestringThe diagnostic text.columnintThe zero-based first column of the diagnostic's range.
#Properties
#Column
Gets the zero-based column index of the start of the range at
which this diagnostic appears.
public int Column { get; }Type Int32
#Message
Gets the text of the diagnostic.
public string Message { get; }Type String
#Methods
#Equals(MarkupDiagnostic)
public readonly bool Equals(MarkupDiagnostic other)Parameters
Returns Boolean
#Equals(object)
public override readonly bool Equals(object obj)Parameters
objobject
Returns Boolean
#GetHashCode()
public override readonly int GetHashCode()Returns Int32
#Operators
#op_Equality(MarkupDiagnostic, MarkupDiagnostic)
(no declaration available)Returns Boolean
#op_Inequality(MarkupDiagnostic, MarkupDiagnostic)
(no declaration available)Returns Boolean
Generated from Yarn Spinner for Unity 3.3.