Share via


CSharpSymbol Constructors

Definition

Overloads

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.

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.

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.

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.

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 CSharpSymbol (System.Web.Razor.Text.SourceLocation start, string content, System.Web.Razor.Tokenizer.Symbols.CSharpSymbolType type);
new System.Web.Razor.Tokenizer.Symbols.CSharpSymbol : System.Web.Razor.Text.SourceLocation * string * System.Web.Razor.Tokenizer.Symbols.CSharpSymbolType -> System.Web.Razor.Tokenizer.Symbols.CSharpSymbol
Public Sub New (start As SourceLocation, content As String, type As CSharpSymbolType)

Parameters

start
SourceLocation

The location to start the symbol.

content
String

The content of the symbol.

type
CSharpSymbolType

The type of the symbol.

Applies to

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 CSharpSymbol (System.Web.Razor.Text.SourceLocation start, string content, System.Web.Razor.Tokenizer.Symbols.CSharpSymbolType type, System.Collections.Generic.IEnumerable<System.Web.Razor.Parser.SyntaxTree.RazorError> errors);
new System.Web.Razor.Tokenizer.Symbols.CSharpSymbol : System.Web.Razor.Text.SourceLocation * string * System.Web.Razor.Tokenizer.Symbols.CSharpSymbolType * seq<System.Web.Razor.Parser.SyntaxTree.RazorError> -> System.Web.Razor.Tokenizer.Symbols.CSharpSymbol
Public Sub New (start As SourceLocation, content As String, type As CSharpSymbolType, errors As IEnumerable(Of RazorError))

Parameters

start
SourceLocation

The location to start the symbol.

content
String

The content of the symbol.

type
CSharpSymbolType

The type of the symbol.

errors
IEnumerable<RazorError>

A list of errors.

Applies to

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 CSharpSymbol (int offset, int line, int column, string content, System.Web.Razor.Tokenizer.Symbols.CSharpSymbolType type);
new System.Web.Razor.Tokenizer.Symbols.CSharpSymbol : int * int * int * string * System.Web.Razor.Tokenizer.Symbols.CSharpSymbolType -> System.Web.Razor.Tokenizer.Symbols.CSharpSymbol
Public Sub New (offset As Integer, line As Integer, column As Integer, content As String, type As CSharpSymbolType)

Parameters

offset
Int32

The symbol’s offset.

line
Int32

The line.

column
Int32

The column

content
String

The content of the symbol.

type
CSharpSymbolType

The type of the symbol.

Applies to

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.

public CSharpSymbol (int offset, int line, int column, string content, System.Web.Razor.Tokenizer.Symbols.CSharpSymbolType type, System.Collections.Generic.IEnumerable<System.Web.Razor.Parser.SyntaxTree.RazorError> errors);
new System.Web.Razor.Tokenizer.Symbols.CSharpSymbol : int * int * int * string * System.Web.Razor.Tokenizer.Symbols.CSharpSymbolType * seq<System.Web.Razor.Parser.SyntaxTree.RazorError> -> System.Web.Razor.Tokenizer.Symbols.CSharpSymbol
Public Sub New (offset As Integer, line As Integer, column As Integer, content As String, type As CSharpSymbolType, errors As IEnumerable(Of RazorError))

Parameters

offset
Int32

The symbol’s offset.

line
Int32

The line.

column
Int32

The column

content
String

The content of the symbol.

type
CSharpSymbolType

The type of the symbol.

errors
IEnumerable<RazorError>

A list of errors.

Applies to