Partilhar via


SyntaxTokenParser.ResetTo(SyntaxTokenParser+Result) Method

Definition

Resets the token parser to an earlier position in the input. The parser is reset to the start of the token that was previously parsed, before any leading trivia, with the directive state that existed at the start of the token.

public void ResetTo (Microsoft.CodeAnalysis.CSharp.SyntaxTokenParser.Result result);
member this.ResetTo : Microsoft.CodeAnalysis.CSharp.SyntaxTokenParser.Result -> unit
Public Sub ResetTo (result As SyntaxTokenParser.Result)

Parameters

Applies to