SyntaxTokenParser.ResetTo(SyntaxTokenParser+Result) 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.
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
- result
- SyntaxTokenParser.Result
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.