CSharpSymbol Class

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

Represents a C sharp symbol for the razor tokenizer.

Inheritance Hierarchy

System.Object
  System.Web.Razor.Tokenizer.Symbols.SymbolBase<CSharpSymbolType>
    System.Web.Razor.Tokenizer.Symbols.CSharpSymbol

Namespace:  System.Web.Razor.Tokenizer.Symbols
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Class CSharpSymbol _
    Inherits SymbolBase(Of CSharpSymbolType)
'Usage
Dim instance As CSharpSymbol
public class CSharpSymbol : SymbolBase<CSharpSymbolType>
public ref class CSharpSymbol : public SymbolBase<CSharpSymbolType>
type CSharpSymbol =  
    class 
        inherit SymbolBase<CSharpSymbolType>
    end
public class CSharpSymbol extends SymbolBase<CSharpSymbolType>

The CSharpSymbol type exposes the following members.

Constructors

  Name Description
Public method CSharpSymbol(SourceLocation, String, CSharpSymbolType) 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 CSharpSymbol class.
Public method CSharpSymbol(SourceLocation, String, CSharpSymbolType, IEnumerable<RazorError>) 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 CSharpSymbol class.
Public method CSharpSymbol(Int32, Int32, Int32, String, CSharpSymbolType) 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 CSharpSymbol class.
Public method CSharpSymbol(Int32, Int32, Int32, String, CSharpSymbolType, IEnumerable<RazorError>) 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 CSharpSymbol class.

Top

Properties

  Name Description
Public property Content This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the content of a SymbolBase<TType>. (Inherited from SymbolBase<TType>.)
Public property Errors This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the razor error. (Inherited from SymbolBase<TType>.)
Public property EscapedIdentifier This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value that indicates whether the symbol has an escaped identifier.
Public property Keyword This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the language keyword.
Public property Start This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the starting point of the source location. (Inherited from SymbolBase<TType>.)
Public property Type This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a Type that inherits from the base Type. (Inherited from SymbolBase<TType>.)

Top

Methods

  Name Description
Public method ChangeStart This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Changes the start of the machine. (Inherited from SymbolBase<TType>.)
Public method Equals 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 the current object. (Overrides SymbolBase<TType>.Equals(Object).)
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 this current instance. (Overrides SymbolBase<TType>.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method OffsetStart This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Starts the time’s offset for the source location. (Inherited from SymbolBase<TType>.)
Public method ToString This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Generates a string representation of the current SymbolBase<TType> object. (Inherited from SymbolBase<TType>.)

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.Tokenizer.Symbols Namespace