RazorError Class

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Represents a parsing error in Razor.

public class RazorError : IEquatable<System.Web.Razor.Parser.SyntaxTree.RazorError>
type RazorError = class
    interface IEquatable<RazorError>
Public Class RazorError
Implements IEquatable(Of RazorError)
Inheritance
RazorError
Implements

Constructors

RazorError(String, Int32, Int32, Int32)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the RazorError class.

RazorError(String, Int32, Int32, Int32, Int32)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the RazorError class.

RazorError(String, SourceLocation)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the RazorError class.

RazorError(String, SourceLocation, Int32)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the RazorError class.

Properties

Length

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the length for the error.

Location

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the source location of the error.

Message

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the error message.

Methods

Equals(Object)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified object is equal to this instance.

Equals(RazorError)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified object is equal to this instance.

GetHashCode()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Returns the hash code for the current instance.

ToString()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Returns the string representation of this error instance.

Applies to