169 references to CloseParenToken
Microsoft.CodeAnalysis.VisualBasic (169)
Generated\Syntax.xml.Internal.Generated.vb (40)
35377Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 36095Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 37454Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 41536Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 41567Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 41598Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 41758Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 41858Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 42254Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 42283Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 42312Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 42337Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 43303Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 43344Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 43666Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 45152Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 45185Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 45550Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 45969Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 46003Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 47443Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 48161Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 49520Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 53602Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 53633Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 53664Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 53824Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 53924Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 54320Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 54349Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 54378Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 54403Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 55369Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 55410Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 55732Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 57218Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 57251Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 57616Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 58035Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 58069Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken)
Generated\Syntax.xml.Main.Generated.vb (49)
7932Case SyntaxKind.CloseParenToken 7948Return SyntaxFactory.TypeParameterList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.OfKeyword), parameters, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 7960Return SyntaxFactory.TypeParameterList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.OfKeyword), SyntaxFactory.SeparatedList(Of TypeParameterSyntax)().AddRange(parameters), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 9160Case SyntaxKind.CloseParenToken 9175Return SyntaxFactory.ParameterList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), parameters, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 9183Return SyntaxFactory.ParameterList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), Nothing, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 12346Case SyntaxKind.CloseParenToken 12359Return SyntaxFactory.ArrayRankSpecifier(SyntaxFactory.Token(SyntaxKind.OpenParenToken), Nothing, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 25202Case SyntaxKind.CloseParenToken 25217Return SyntaxFactory.ParenthesizedExpression(SyntaxFactory.Token(SyntaxKind.OpenParenToken), expression, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 25240Case SyntaxKind.CloseParenToken 25255Return SyntaxFactory.TupleExpression(SyntaxFactory.Token(SyntaxKind.OpenParenToken), arguments, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 25266Return SyntaxFactory.TupleExpression(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.SeparatedList(Of SimpleArgumentSyntax)().AddRange(arguments), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 25289Case SyntaxKind.CloseParenToken 25304Return SyntaxFactory.TupleType(SyntaxFactory.Token(SyntaxKind.OpenParenToken), elements, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 25315Return SyntaxFactory.TupleType(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.SeparatedList(Of TupleElementSyntax)().AddRange(elements), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 25509Case SyntaxKind.CloseParenToken 25524Return SyntaxFactory.GetTypeExpression(SyntaxFactory.Token(SyntaxKind.GetTypeKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), type, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 26097Case SyntaxKind.CloseParenToken 26109Return SyntaxFactory.GetXmlNamespaceExpression(SyntaxFactory.Token(SyntaxKind.GetXmlNamespaceKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), Nothing, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 27074Case SyntaxKind.CloseParenToken 27089Return SyntaxFactory.CTypeExpression(SyntaxFactory.Token(SyntaxKind.CTypeKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), expression, SyntaxFactory.Token(SyntaxKind.CommaToken), type, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 27257Case SyntaxKind.CloseParenToken 27272Return SyntaxFactory.DirectCastExpression(SyntaxFactory.Token(SyntaxKind.DirectCastKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), expression, SyntaxFactory.Token(SyntaxKind.CommaToken), type, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 27440Case SyntaxKind.CloseParenToken 27455Return SyntaxFactory.TryCastExpression(SyntaxFactory.Token(SyntaxKind.TryCastKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), expression, SyntaxFactory.Token(SyntaxKind.CommaToken), type, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 27614Case SyntaxKind.CloseParenToken 27633Return SyntaxFactory.PredefinedCastExpression(keyword, SyntaxFactory.Token(SyntaxKind.OpenParenToken), expression, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 35220Case SyntaxKind.CloseParenToken 35239Return SyntaxFactory.BinaryConditionalExpression(SyntaxFactory.Token(SyntaxKind.IfKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), firstExpression, SyntaxFactory.Token(SyntaxKind.CommaToken), secondExpression, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 35629Case SyntaxKind.CloseParenToken 35651Return SyntaxFactory.TernaryConditionalExpression(SyntaxFactory.Token(SyntaxKind.IfKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), condition, SyntaxFactory.Token(SyntaxKind.CommaToken), whenTrue, SyntaxFactory.Token(SyntaxKind.CommaToken), whenFalse, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 36944Case SyntaxKind.CloseParenToken 36960Return SyntaxFactory.ArgumentList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), arguments, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 36968Return SyntaxFactory.ArgumentList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), Nothing, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 41228Case SyntaxKind.CloseParenToken 41243Return SyntaxFactory.TypeArgumentList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.OfKeyword), arguments, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 41254Return SyntaxFactory.TypeArgumentList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.OfKeyword), SyntaxFactory.SeparatedList(Of TypeSyntax)().AddRange(arguments), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 41304Case SyntaxKind.CloseParenToken 41317Return SyntaxFactory.CrefSignature(SyntaxFactory.Token(SyntaxKind.OpenParenToken), argumentTypes, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 41326Return SyntaxFactory.CrefSignature(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.SeparatedList(Of CrefSignaturePartSyntax)().AddRange(argumentTypes), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 42330Case SyntaxKind.CloseParenToken 42345Return SyntaxFactory.NameOfExpression(SyntaxFactory.Token(SyntaxKind.NameOfKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), argument, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 43740Case SyntaxKind.CloseParenToken 43753Return SyntaxFactory.ExternalSourceDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.StringLiteralToken), SyntaxFactory.Token(SyntaxKind.CommaToken), SyntaxFactory.Token(SyntaxKind.IntegerLiteralToken), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 43839Case SyntaxKind.CloseParenToken 43851Return SyntaxFactory.ExternalChecksumDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.ExternalChecksumKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.StringLiteralToken), SyntaxFactory.Token(SyntaxKind.CommaToken), SyntaxFactory.Token(SyntaxKind.StringLiteralToken), SyntaxFactory.Token(SyntaxKind.CommaToken), SyntaxFactory.Token(SyntaxKind.StringLiteralToken), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 45209SyntaxKind.CloseParenToken, 45768Case SyntaxKind.CloseParenToken
Parser\ParseConditional.vb (2)
292VerifyExpectedToken(SyntaxKind.CloseParenToken, closeParen) 368VerifyExpectedToken(SyntaxKind.CloseParenToken, closeParen)
Parser\ParseExpression.vb (22)
630DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.CloseParenToken), PunctuationSyntax)) 660TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 685TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 751VerifyExpectedToken(SyntaxKind.CloseParenToken, closeParen) 760Dim closeParen = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.CloseParenToken) 783TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 1256TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 1288TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 1325If Not TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=False) Then 1330Dim clue As SyntaxKind = PeekAheadFor(SyntaxKind.OpenParenToken, SyntaxKind.CloseParenToken) 1332If clue = SyntaxKind.CloseParenToken Then 1337Dim trash = ResyncAt({SyntaxKind.CloseParenToken}) 1343closeParen = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.CloseParenToken) 1429ElseIf CurrentToken.Kind = SyntaxKind.CloseParenToken Then 1446ElseIf CurrentToken.Kind = SyntaxKind.CloseParenToken OrElse MustEndStatement(CurrentToken) Then 1452Dim skipped = ResyncAt({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}).Node 1519If CurrentToken.Kind = SyntaxKind.CloseParenToken OrElse MustEndStatement(CurrentToken) Then 1527namedArgument = ResyncAt(namedArgument, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken) 1555value = ResyncAt(value, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken) 1604exp = ResyncAt(exp, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken) 1619TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 1684closeParen = DirectCast(HandleUnexpectedToken(SyntaxKind.CloseParenToken), PunctuationSyntax)
Parser\ParseQuery.vb (2)
110If CurrentToken.Kind <> SyntaxKind.CloseParenToken Then 115If TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, rParen, createIfMissing:=True) Then
Parser\Parser.vb (28)
2945ElseIf CurrentToken.Kind = SyntaxKind.CloseParenToken OrElse MustEndStatement(CurrentToken) Then 2951Dim skipped = ResyncAt({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}).Node 2969TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 3116If CurrentToken.Kind = SyntaxKind.CommaToken OrElse CurrentToken.Kind = SyntaxKind.CloseParenToken Then 3144typeName = ResyncAt(typeName, SyntaxKind.CloseParenToken, SyntaxKind.CommaToken) 3160TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 3189ElseIf CurrentToken.Kind <> SyntaxKind.CloseParenToken Then 3197TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 3251ElseIf CurrentToken.Kind <> SyntaxKind.CloseParenToken Then 3257TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 3350upperBound = ResyncAt(upperBound, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken, SyntaxKind.AsKeyword) 3364upperBound = ResyncAt(upperBound, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken, SyntaxKind.AsKeyword) 3995closeParen = DirectCast(HandleUnexpectedToken(SyntaxKind.CloseParenToken), PunctuationSyntax) 4309TryEatNewLineIfFollowedBy(SyntaxKind.CloseParenToken) ' dev10_503122 Allow EOL before ')' 4313If CurrentToken.Kind = SyntaxKind.CloseParenToken OrElse CurrentToken.Kind = SyntaxKind.CommaToken OrElse CurrentToken.Kind = SyntaxKind.AsKeyword Then 4346constraint = ResyncAt(constraint, SyntaxKind.CommaToken, SyntaxKind.CloseBraceToken, SyntaxKind.CloseParenToken) 4371constraint = ResyncAt(constraint, SyntaxKind.CloseParenToken) 4392If Not TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=False) Then 4393closeParen = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.CloseParenToken) 4479If CurrentToken.Kind <> SyntaxKind.CloseParenToken Then 4497param = param.AddTrailingSyntax(ResyncAt({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken})) 4503If CurrentToken.Kind <> SyntaxKind.CloseParenToken AndAlso Not MustEndStatement(CurrentToken) Then 4507If PeekToken(1).Kind = SyntaxKind.CloseParenToken Then 4513param = param.AddTrailingSyntax(ResyncAt({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}), ERRID.ERR_InvalidParameterSyntax) 4535TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 4639If PeekAheadFor(SyntaxKind.AsKeyword, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken) = SyntaxKind.AsKeyword Then 4653optionalAsClause = ResyncAt(optionalAsClause, SyntaxKind.EqualsToken, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken) 4683value = ResyncAt(value, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken)
Parser\ParseScan.vb (1)
155Case SyntaxKind.CloseParenToken, SyntaxKind.CommaToken
Parser\ParseStatement.vb (4)
798PeekToken(i - 1).Kind = SyntaxKind.CloseParenToken Then 1143Dim closeParen = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.CloseParenToken) 1308InternalSyntaxFactory.MissingPunctuation(SyntaxKind.CloseParenToken))) 1649TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True)
Parser\ParseVerify.vb (1)
44Case SyntaxKind.CloseParenToken
Parser\ParseXml.vb (3)
1209If currToken.Kind <> SyntaxKind.CloseParenToken AndAlso currToken.Kind <> SyntaxKind.CommaToken AndAlso Not firstType Then 1212currToken = InternalSyntaxFactory.MissingToken(SyntaxKind.CloseParenToken) 1215If currToken.Kind = SyntaxKind.CloseParenToken Then
Scanner\KeywordTable.vb (1)
227SyntaxKind.CloseParenToken, CanFollowExpr,
Scanner\TokenFactories.vb (1)
401Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.CloseParenToken)
Scanner\XmlTokenFactories.vb (1)
36Return MakePunctuationToken(SyntaxKind.CloseParenToken, ")", precedingTrivia, followingTrivia)
SymbolDisplay\SymbolDisplayVisitor.Members.vb (4)
110AddPunctuation(SyntaxKind.CloseParenToken) 147AddPunctuation(SyntaxKind.CloseParenToken) 429AddPunctuation(SyntaxKind.CloseParenToken) 587AddPunctuation(SyntaxKind.CloseParenToken)
SymbolDisplay\SymbolDisplayVisitor.Types.vb (5)
69AddPunctuation(SyntaxKind.CloseParenToken) 182AddPunctuation(SyntaxKind.CloseParenToken) 295AddPunctuation(SyntaxKind.CloseParenToken) 405AddPunctuation(SyntaxKind.CloseParenToken) 515AddPunctuation(SyntaxKind.CloseParenToken)
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
366SyntaxKind.CloseParenToken,
Syntax\SyntaxFacts.vb (1)
1059Case SyntaxKind.CloseParenToken,
Syntax\SyntaxKindFacts.vb (1)
308SyntaxKind.CloseParenToken,
Syntax\SyntaxNodeFactories.vb (1)
665SyntaxKind.CloseParenToken,
Syntax\SyntaxNormalizer.vb (1)
451If nextToken.Kind = SyntaxKind.CloseParenToken Then