3 instantiations of Result
Microsoft.CodeAnalysis.CSharp (3)
Syntax\SyntaxTokenParser.cs (3)
56return new Result(new SyntaxToken(parent: null, token, startingPosition, index: 0), startingDirectiveStack); 71return new Result(new SyntaxToken(parent: null, containingToken, startingPosition, index: 0), startingDirectiveStack); 86return new Result(new SyntaxToken(parent: null, containingToken, startingPosition, index: 0), startingDirectiveStack);
16 references to Result
Microsoft.CodeAnalysis.CSharp (5)
Syntax\SyntaxTokenParser.cs (5)
15/// can be used to skip forward in the file to a specific position, and <see cref="ResetTo(Result)"/> can be used to reset the parser 51public Result ParseNextToken() 65public Result ParseLeadingTrivia() 80public Result ParseTrailingTrivia() 106public void ResetTo(Result result)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (11)
LexicalAndXml\SyntaxTokenParserTests.cs (11)
77var result = parser.ParseNextToken(); 228SyntaxTokenParser.Result cTokenResult = parser.ParseNextToken(); 275var result = parser.ParseLeadingTrivia(); 294var result = parser.ParseLeadingTrivia(); 301var intermediateResult = parser.ParseLeadingTrivia(); 327var result = parser.ParseLeadingTrivia(); 335var intermediateResult = parser.ParseLeadingTrivia(); 357var result = parser.ParseTrailingTrivia(); 371var result = parser.ParseTrailingTrivia(); 394var result = parser.ParseTrailingTrivia(); 407private static void AssertToken(SyntaxKind expectedKind, SyntaxKind expectedContextualKind, TextSpan expectedFullSpan, string expectedText, SyntaxTokenParser.Result result)