Share via


RazorError Class

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.

Inheritance Hierarchy

System.Object
  System.Web.Razor.Parser.SyntaxTree.RazorError

Namespace:  System.Web.Razor.Parser.SyntaxTree
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Class RazorError _
    Implements IEquatable(Of RazorError)
'Usage
Dim instance As RazorError
public class RazorError : IEquatable<RazorError>
public ref class RazorError : IEquatable<RazorError^>
type RazorError =  
    class 
        interface IEquatable<RazorError>
    end
public class RazorError implements IEquatable<RazorError>

The RazorError type exposes the following members.

Constructors

  Name Description
Public method 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.
Public method 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.
Public method 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.
Public method 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.

Top

Properties

  Name Description
Public property 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.
Public property 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.
Public property 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.

Top

Methods

  Name Description
Public method 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. (Overrides Object.Equals(Object).)
Public method 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.
Protected method Finalize (Inherited from Object.)
Public method 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. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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. (Overrides Object.ToString().)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Razor.Parser.SyntaxTree Namespace