8 references to AddTrailingSyntax
Microsoft.CodeAnalysis.VisualBasic (8)
Parser\ParseExpression.vb (2)
1708asKeyword = asKeyword.AddTrailingSyntax(returnTypeAttributes.Node, ERRID.ERR_AttributeOnLambdaReturnType) 1723closeParen = closeParen.AddTrailingSyntax(asClause, ERRID.ERR_ExpectedEOS)
Parser\ParseQuery.vb (1)
917Exprs(Exprs.Count - 1) = Exprs(Exprs.Count - 1).AddTrailingSyntax(CurrentToken, ERRID.ERR_ExpectedAnd)
Parser\Parser.vb (1)
116id = id.AddTrailingSyntax(typeArguments, ERRID.ERR_TypeArgsUnexpected)
Parser\ParseXml.vb (3)
281name = name.AddTrailingSyntax(exp, ERRID.ERR_EmbeddedExpression) 337Content(count - 1) = Content(count - 1).AddTrailingSyntax(skipped, ERRID.ERR_DTDNotSupported) 339outerNode = outerNode.AddTrailingSyntax(skipped, ERRID.ERR_DTDNotSupported)
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (1)
232Return node.AddTrailingSyntax(DirectCast(unexpected, VisualBasicSyntaxNode), errorId)