Share via


CSharpTokenizer.CreateSymbol Method

Definition

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

protected override System.Web.Razor.Tokenizer.Symbols.CSharpSymbol CreateSymbol(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);
override this.CreateSymbol : 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
Protected Overrides Function CreateSymbol (start As SourceLocation, content As String, type As CSharpSymbolType, errors As IEnumerable(Of RazorError)) As CSharpSymbol

Parameters

start
SourceLocation

The beginning of the source ___location.

content
String

The contents.

type
CSharpSymbolType

The CSharp symbol type.

errors
IEnumerable<RazorError>

A collection of razor errors.

Returns

A CSharp tokenizer symbol.

Applies to