CSharpLanguageCharacteristics.CreateSymbol Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a symbol in the code.
protected override System.Web.Razor.Tokenizer.Symbols.CSharpSymbol CreateSymbol(System.Web.Razor.Text.SourceLocation location, 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 (location As SourceLocation, content As String, type As CSharpSymbolType, errors As IEnumerable(Of RazorError)) As CSharpSymbol
Parameters
- location
- SourceLocation
The source location.
- content
- String
The content value.
- type
- CSharpSymbolType
The html symbol type.
- errors
- IEnumerable<RazorError>
List of errors.
Returns
A symbol in the code.