404 references to SyntaxFacts
Microsoft.CodeAnalysis.VisualBasic (404)
Binding\AttributeSemanticModel.vb (1)
64If SyntaxFacts.IsAttributeName(node) Then
Binding\Binder_Delegates.vb (2)
313SyntaxFacts.GetText(SyntaxKind.AddressOfKeyword)) 950Return SyntaxFacts.GetText(keyword)
Binding\Binder_Expressions.vb (6)
623(((TypeOf node Is NameSyntax) OrElse node.Kind = SyntaxKind.ArrayType OrElse node.Kind = SyntaxKind.TupleType) AndAlso SyntaxFacts.IsInNamespaceOrTypeContext(node)) Then 653Return Me.BindExpression(node, isInvocationOrAddressOf:=SyntaxFacts.IsInvocationOrAddressOfOperand(node), diagnostics:=diagnostics, isOperandOfConditionalBranch:=False, eventContext:=False) 2340ReportDiagnostic(diagnostics, node, err, SyntaxFacts.GetText(node.Keyword.Kind)) 2363ReportDiagnostic(diagnostics, node, err, SyntaxFacts.GetText(node.Keyword.Kind)) 2375ReportDiagnostic(diagnostics, node, err, SyntaxFacts.GetText(node.Keyword.Kind)) 2807CaseInsensitiveComparison.Equals(identifier.ValueText, SyntaxFacts.GetText(SyntaxKind.NewKeyword)) Then
Binding\Binder_Lookup.vb (1)
449Dim aliasAsKeyword As SyntaxKind = SyntaxFacts.GetKeywordKind(possibleAlias)
Binding\Binder_Operators.vb (5)
692SyntaxFacts.GetText(If(opKind = BinaryOperatorKind.AndAlso, 722SyntaxFacts.GetText(If(opKind = BinaryOperatorKind.AndAlso, SyntaxKind.IsFalseKeyword, SyntaxKind.IsTrueKeyword)), 723SyntaxFacts.GetText(If(opKind = BinaryOperatorKind.AndAlso, SyntaxKind.AndAlsoKeyword, SyntaxKind.OrElseKeyword))) 737SyntaxFacts.GetText(If(opKind = BinaryOperatorKind.AndAlso, SyntaxKind.AndAlsoKeyword, SyntaxKind.OrElseKeyword)), 977Dim operatorTokenText = SyntaxFacts.GetText(operatorTokenKind)
Binding\Binder_SelectCase.vb (1)
208Debug.Assert(SyntaxFacts.IsRelationalOperator(node.OperatorToken.Kind) OrElse node.ContainsDiagnostics)
Binding\Binder_Statements.vb (4)
224If Not SyntaxFacts.IsDoLoopBlock(node.Parent.Kind) Then 3291ReportDiagnostic(diagnostics, syntax, ERRID.ERR_ForLoopOperatorRequired2, left.Type, SyntaxFacts.GetText(OverloadResolution.GetOperatorTokenKind(opCode))) 5013ReportDiagnostic(diagnostics, originalSyntax, ERRID.ERR_KeywordNotAllowedInScript, SyntaxFacts.GetText(SyntaxKind.ReturnKeyword)) 5140ReportDiagnostic(diagnostics, originalSyntax, ERRID.ERR_KeywordNotAllowedInScript, SyntaxFacts.GetText(SyntaxKind.YieldKeyword))
Binding\Binder_Symbols.vb (2)
854If SyntaxFacts.IsAttributeName(basicNameSyntax) Then 969If SyntaxFacts.IsAttributeName(rightIdentSyntax) Then
Binding\BinderFactory.BinderFactoryVisitor.vb (3)
100If SyntaxFacts.InBlockInterior(nsBlockSyntax, _position) Then 210If SyntaxFacts.InBlockInterior(methodBlockSyntax, _position) Then 256Return (nodeOpt IsNot Nothing) AndAlso SyntaxFacts.InSpanOrEffectiveTrailingOfNode(nodeOpt, position)
Binding\BinderFactory.vb (1)
48If SyntaxFacts.InSpanOrEffectiveTrailingOfNode(node, position) OrElse
Binding\DocumentationCommentCrefBinder.vb (3)
51If Not identifier.IsBracketed AndAlso IsIntrinsicTypeForDocumentationComment(SyntaxFacts.GetKeywordKind(identifier.ValueText)) Then 553If IdentifierComparison.Equals(identifier.Identifier.ValueText, SyntaxFacts.GetText(SyntaxKind.NewKeyword)) AndAlso Not token.IsBracketed Then 631If IdentifierComparison.Equals(identifier.Identifier.ValueText, SyntaxFacts.GetText(SyntaxKind.NewKeyword)) AndAlso Not token.IsBracketed Then
Binding\MemberSemanticModel.vb (13)
1276ElseIf SyntaxFacts.InBlockInterior(current, position, body) Then 1283ElseIf SyntaxFacts.InLambdaInterior(current, position) Then 1424If SyntaxFacts.InSpanOrEffectiveTrailingOfNode(aggregate, position) Then 1466If SyntaxFacts.InSpanOrEffectiveTrailingOfNode(join, position) Then 1495If Not join.OnKeyword.IsMissing AndAlso join.OnKeyword.SpanStart <= position AndAlso SyntaxFacts.InSpanOrEffectiveTrailingOfNode(join, position) Then 1514If SyntaxFacts.InSpanOrEffectiveTrailingOfNode(from, position) Then 1527If SyntaxFacts.InSpanOrEffectiveTrailingOfNode(item, position) OrElse position < item.SpanStart Then 1558If SyntaxFacts.InSpanOrEffectiveTrailingOfNode([let], position) Then 1561If SyntaxFacts.InSpanOrEffectiveTrailingOfNode(item, position) OrElse position < item.SpanStart Then 1584If SyntaxFacts.InSpanOrEffectiveTrailingOfNode(groupBy, position) Then 1621((func.CloseParenToken.IsMissing AndAlso SyntaxFacts.InSpanOrEffectiveTrailingOfNode(func, position)) OrElse position < func.CloseParenToken.SpanStart) Then 1641If operatorKeyWord.SpanStart <= position AndAlso SyntaxFacts.InSpanOrEffectiveTrailingOfNode(operatorSyntax, position) Then 1711If SyntaxFacts.InSpanOrEffectiveTrailingOfNode(initialization, position) Then
CommandLine\VisualBasicCommandLineParser.vb (1)
2126remainderErrorLine.Append(SyntaxFacts.GetText(SyntaxKind.ColonToken))
Compilation\SemanticModel.vb (5)
133(TypeOf (node) Is ExpressionSyntax AndAlso (allowNamedArgumentName OrElse Not SyntaxFacts.IsNamedArgumentName(node)) OrElse 166If SyntaxFacts.IsNamedArgumentName(expression) Then 295If SyntaxFacts.IsNamedArgumentName(expression) Then 2754Debug.Assert(SyntaxFacts.IsNamedArgumentName(identifierNameSyntax)) 2929If SyntaxFacts.IsWithinPreprocessorConditionalExpression(node) Then
Compilation\SpeculativeSyntaxTreeSemanticModel.vb (1)
84If SyntaxFacts.IsInNamespaceOrTypeContext(node) Then
Compilation\SyntaxTreeSemanticModel.vb (13)
217If result.IsEmpty AndAlso SyntaxFacts.IsInNamespaceOrTypeContext(node) Then 233If SyntaxFacts.IsImplementedMember(node) Then 235ElseIf SyntaxFacts.IsHandlesEvent(node) Then 237ElseIf SyntaxFacts.IsHandlesContainer(node) Then 244ElseIf SyntaxFacts.IsHandlesProperty(node) Then 248ElseIf SyntaxFacts.IsInNamespaceOrTypeContext(node) Then 304If SyntaxFacts.IsImplementedMember(node) Then 306ElseIf SyntaxFacts.IsHandlesEvent(node) Then 308ElseIf SyntaxFacts.IsHandlesContainer(node) Then 315ElseIf SyntaxFacts.IsHandlesProperty(node) Then 322ElseIf SyntaxFacts.IsInNamespaceOrTypeContext(node) Then 463If SyntaxFacts.IsInTypeOnlyContext(expression) Then 1719If expression.Kind = SyntaxKind.PredefinedType OrElse SyntaxFacts.IsInNamespaceOrTypeContext(expression) Then
Compilation\VisualBasicCompilation.vb (4)
2674Dim b As Integer = SyntaxFacts.IntegralLiteralCharacterValue(bytesText(i * 2)) * 16 + 2675SyntaxFacts.IntegralLiteralCharacterValue(bytesText(i * 2 + 1)) 2690Dim b As Byte = CByte(SyntaxFacts.IntegralLiteralCharacterValue(bytesText(i * 2)) * 16 + 2691SyntaxFacts.IntegralLiteralCharacterValue(bytesText(i * 2 + 1)))
Errors\ErrorFactories.vb (4)
71Return ErrorInfo(id, SyntaxFacts.GetText(syntaxToken.Kind)) 75Return ErrorInfo(id, SyntaxFacts.GetText(syntaxTokenKind)) 79Return ErrorInfo(id, SyntaxFacts.GetText(syntaxToken.Kind), type) 83Return ErrorInfo(id, SyntaxFacts.GetText(syntaxToken.Kind), type1, type2)
Generated\Syntax.xml.Internal.Generated.vb (168)
34773Debug.Assert(SyntaxFacts.IsEndBlockStatement(kind)) 34775Debug.Assert(blockKeyword IsNot Nothing AndAlso SyntaxFacts.IsEndBlockStatementBlockKeyword(blockKeyword.Kind)) 34836Debug.Assert(nameKeyword IsNot Nothing AndAlso SyntaxFacts.IsOptionStatementNameKeyword(nameKeyword.Kind)) 35480Debug.Assert(constraintKeyword IsNot Nothing AndAlso SyntaxFacts.IsSpecialConstraintConstraintKeyword(constraintKeyword.Kind)) 35507Debug.Assert(constraintKeyword IsNot Nothing AndAlso SyntaxFacts.IsSpecialConstraintConstraintKeyword(constraintKeyword.Kind)) 35534Debug.Assert(constraintKeyword IsNot Nothing AndAlso SyntaxFacts.IsSpecialConstraintConstraintKeyword(constraintKeyword.Kind)) 35566Debug.Assert(SyntaxFacts.IsSpecialConstraint(kind)) 35567Debug.Assert(constraintKeyword IsNot Nothing AndAlso SyntaxFacts.IsSpecialConstraintConstraintKeyword(constraintKeyword.Kind)) 35714Debug.Assert(SyntaxFacts.IsMethodBlock(kind)) 35994Debug.Assert(SyntaxFacts.IsAccessorBlock(kind)) 36254Debug.Assert(SyntaxFacts.IsMethodStatement(kind)) 36255Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso SyntaxFacts.IsMethodStatementSubOrFunctionKeyword(subOrFunctionKeyword.Kind)) 36456Debug.Assert(SyntaxFacts.IsDeclareStatement(kind)) 36458Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso SyntaxFacts.IsDeclareStatementSubOrFunctionKeyword(subOrFunctionKeyword.Kind)) 36590Debug.Assert(SyntaxFacts.IsDelegateStatement(kind)) 36592Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso SyntaxFacts.IsDelegateStatementSubOrFunctionKeyword(subOrFunctionKeyword.Kind)) 36673Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsOperatorStatementOperatorToken(operatorToken.Kind)) 36904Debug.Assert(SyntaxFacts.IsAccessorStatement(kind)) 36905Debug.Assert(accessorKeyword IsNot Nothing AndAlso SyntaxFacts.IsAccessorStatementAccessorKeyword(accessorKeyword.Kind)) 36975Debug.Assert(keyword IsNot Nothing AndAlso SyntaxFacts.IsKeywordEventContainerKeyword(keyword.Kind)) 37533Debug.Assert(attributeModifier IsNot Nothing AndAlso SyntaxFacts.IsAttributeTargetAttributeModifier(attributeModifier.Kind)) 37799Debug.Assert(labelToken IsNot Nothing AndAlso SyntaxFacts.IsLabelStatementLabelToken(labelToken.Kind)) 37937Debug.Assert(SyntaxFacts.IsLabel(kind)) 37938Debug.Assert(labelToken IsNot Nothing AndAlso SyntaxFacts.IsLabelLabelToken(labelToken.Kind)) 37963Debug.Assert(stopOrEndKeyword IsNot Nothing AndAlso SyntaxFacts.IsStopOrEndStatementStopOrEndKeyword(stopOrEndKeyword.Kind)) 37988Debug.Assert(stopOrEndKeyword IsNot Nothing AndAlso SyntaxFacts.IsStopOrEndStatementStopOrEndKeyword(stopOrEndKeyword.Kind)) 38017Debug.Assert(SyntaxFacts.IsStopOrEndStatement(kind)) 38018Debug.Assert(stopOrEndKeyword IsNot Nothing AndAlso SyntaxFacts.IsStopOrEndStatementStopOrEndKeyword(stopOrEndKeyword.Kind)) 38314Debug.Assert(SyntaxFacts.IsExitStatement(kind)) 38316Debug.Assert(blockKeyword IsNot Nothing AndAlso SyntaxFacts.IsExitStatementBlockKeyword(blockKeyword.Kind)) 38440Debug.Assert(SyntaxFacts.IsContinueStatement(kind)) 38442Debug.Assert(blockKeyword IsNot Nothing AndAlso SyntaxFacts.IsContinueStatementBlockKeyword(blockKeyword.Kind)) 39027Debug.Assert(SyntaxFacts.IsOnErrorGoToStatement(kind)) 39620Debug.Assert(SyntaxFacts.IsRelationalCaseClause(kind)) 39621Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsRelationalCaseClauseOperatorToken(operatorToken.Kind)) 39847Debug.Assert(SyntaxFacts.IsDoLoopBlock(kind)) 39965Debug.Assert(SyntaxFacts.IsDoStatement(kind)) 40083Debug.Assert(SyntaxFacts.IsLoopStatement(kind)) 40177Debug.Assert(SyntaxFacts.IsWhileOrUntilClause(kind)) 40178Debug.Assert(whileOrUntilKeyword IsNot Nothing AndAlso SyntaxFacts.IsWhileOrUntilClauseWhileOrUntilKeyword(whileOrUntilKeyword.Kind)) 40890Debug.Assert(SyntaxFacts.IsAssignmentStatement(kind)) 40892Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsAssignmentStatementOperatorToken(operatorToken.Kind)) 41039Debug.Assert(SyntaxFacts.IsAddRemoveHandlerStatement(kind)) 41040Debug.Assert(addHandlerOrRemoveHandlerKeyword IsNot Nothing AndAlso SyntaxFacts.IsAddRemoveHandlerStatementAddHandlerOrRemoveHandlerKeyword(addHandlerOrRemoveHandlerKeyword.Kind)) 41245Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 41281Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 41317Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 41353Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 41389Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 41425Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 41461Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 41503Debug.Assert(SyntaxFacts.IsLiteralExpression(kind)) 41504Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 41831Debug.Assert(SyntaxFacts.IsTypeOfExpression(kind)) 41834Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsTypeOfExpressionOperatorToken(operatorToken.Kind)) 41946Debug.Assert(SyntaxFacts.IsMemberAccessExpression(kind)) 41947Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsMemberAccessExpressionOperatorToken(operatorToken.Kind)) 42072Debug.Assert(SyntaxFacts.IsXmlMemberAccessExpression(kind)) 42334Debug.Assert(keyword IsNot Nothing AndAlso SyntaxFacts.IsPredefinedCastExpressionKeyword(keyword.Kind)) 43109Debug.Assert(SyntaxFacts.IsBinaryExpression(kind)) 43111Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsBinaryExpressionOperatorToken(operatorToken.Kind)) 43256Debug.Assert(SyntaxFacts.IsUnaryExpression(kind)) 43257Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsUnaryExpressionOperatorToken(operatorToken.Kind)) 43426Debug.Assert(SyntaxFacts.IsSingleLineLambdaExpression(kind)) 43537Debug.Assert(SyntaxFacts.IsMultiLineLambdaExpression(kind)) 43645Debug.Assert(SyntaxFacts.IsLambdaHeader(kind)) 43646Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso SyntaxFacts.IsLambdaHeaderSubOrFunctionKeyword(subOrFunctionKeyword.Kind)) 44204Debug.Assert(SyntaxFacts.IsPartitionWhileClause(kind)) 44205Debug.Assert(skipOrTakeKeyword IsNot Nothing AndAlso SyntaxFacts.IsPartitionWhileClauseSkipOrTakeKeyword(skipOrTakeKeyword.Kind)) 44294Debug.Assert(SyntaxFacts.IsPartitionClause(kind)) 44295Debug.Assert(skipOrTakeKeyword IsNot Nothing AndAlso SyntaxFacts.IsPartitionClauseSkipOrTakeKeyword(skipOrTakeKeyword.Kind)) 44540Debug.Assert(SyntaxFacts.IsOrdering(kind)) 44750Debug.Assert(startQuoteToken IsNot Nothing AndAlso SyntaxFacts.IsXmlStringStartQuoteToken(startQuoteToken.Kind)) 44751Debug.Assert(endQuoteToken IsNot Nothing AndAlso SyntaxFacts.IsXmlStringEndQuoteToken(endQuoteToken.Kind)) 45005Debug.Assert(keyword IsNot Nothing AndAlso SyntaxFacts.IsPredefinedTypeKeyword(keyword.Kind)) 45221Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsCrefOperatorReferenceOperatorToken(operatorToken.Kind)) 45383Debug.Assert(SyntaxFacts.IsXmlTextToken(kind)) 45477Debug.Assert(startQuoteToken IsNot Nothing AndAlso SyntaxFacts.IsXmlCrefAttributeStartQuoteToken(startQuoteToken.Kind)) 45479Debug.Assert(endQuoteToken IsNot Nothing AndAlso SyntaxFacts.IsXmlCrefAttributeEndQuoteToken(endQuoteToken.Kind)) 45492Debug.Assert(startQuoteToken IsNot Nothing AndAlso SyntaxFacts.IsXmlNameAttributeStartQuoteToken(startQuoteToken.Kind)) 45494Debug.Assert(endQuoteToken IsNot Nothing AndAlso SyntaxFacts.IsXmlNameAttributeEndQuoteToken(endQuoteToken.Kind)) 45824Debug.Assert(SyntaxFacts.IsSyntaxTrivia(kind)) 45867Debug.Assert(ifOrElseIfKeyword IsNot Nothing AndAlso SyntaxFacts.IsIfDirectiveTriviaIfOrElseIfKeyword(ifOrElseIfKeyword.Kind)) 45882Debug.Assert(ifOrElseIfKeyword IsNot Nothing AndAlso SyntaxFacts.IsIfDirectiveTriviaIfOrElseIfKeyword(ifOrElseIfKeyword.Kind)) 46839Debug.Assert(SyntaxFacts.IsEndBlockStatement(kind)) 46841Debug.Assert(blockKeyword IsNot Nothing AndAlso SyntaxFacts.IsEndBlockStatementBlockKeyword(blockKeyword.Kind)) 46902Debug.Assert(nameKeyword IsNot Nothing AndAlso SyntaxFacts.IsOptionStatementNameKeyword(nameKeyword.Kind)) 47546Debug.Assert(constraintKeyword IsNot Nothing AndAlso SyntaxFacts.IsSpecialConstraintConstraintKeyword(constraintKeyword.Kind)) 47573Debug.Assert(constraintKeyword IsNot Nothing AndAlso SyntaxFacts.IsSpecialConstraintConstraintKeyword(constraintKeyword.Kind)) 47600Debug.Assert(constraintKeyword IsNot Nothing AndAlso SyntaxFacts.IsSpecialConstraintConstraintKeyword(constraintKeyword.Kind)) 47632Debug.Assert(SyntaxFacts.IsSpecialConstraint(kind)) 47633Debug.Assert(constraintKeyword IsNot Nothing AndAlso SyntaxFacts.IsSpecialConstraintConstraintKeyword(constraintKeyword.Kind)) 47780Debug.Assert(SyntaxFacts.IsMethodBlock(kind)) 48060Debug.Assert(SyntaxFacts.IsAccessorBlock(kind)) 48320Debug.Assert(SyntaxFacts.IsMethodStatement(kind)) 48321Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso SyntaxFacts.IsMethodStatementSubOrFunctionKeyword(subOrFunctionKeyword.Kind)) 48522Debug.Assert(SyntaxFacts.IsDeclareStatement(kind)) 48524Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso SyntaxFacts.IsDeclareStatementSubOrFunctionKeyword(subOrFunctionKeyword.Kind)) 48656Debug.Assert(SyntaxFacts.IsDelegateStatement(kind)) 48658Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso SyntaxFacts.IsDelegateStatementSubOrFunctionKeyword(subOrFunctionKeyword.Kind)) 48739Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsOperatorStatementOperatorToken(operatorToken.Kind)) 48970Debug.Assert(SyntaxFacts.IsAccessorStatement(kind)) 48971Debug.Assert(accessorKeyword IsNot Nothing AndAlso SyntaxFacts.IsAccessorStatementAccessorKeyword(accessorKeyword.Kind)) 49041Debug.Assert(keyword IsNot Nothing AndAlso SyntaxFacts.IsKeywordEventContainerKeyword(keyword.Kind)) 49599Debug.Assert(attributeModifier IsNot Nothing AndAlso SyntaxFacts.IsAttributeTargetAttributeModifier(attributeModifier.Kind)) 49865Debug.Assert(labelToken IsNot Nothing AndAlso SyntaxFacts.IsLabelStatementLabelToken(labelToken.Kind)) 50003Debug.Assert(SyntaxFacts.IsLabel(kind)) 50004Debug.Assert(labelToken IsNot Nothing AndAlso SyntaxFacts.IsLabelLabelToken(labelToken.Kind)) 50029Debug.Assert(stopOrEndKeyword IsNot Nothing AndAlso SyntaxFacts.IsStopOrEndStatementStopOrEndKeyword(stopOrEndKeyword.Kind)) 50054Debug.Assert(stopOrEndKeyword IsNot Nothing AndAlso SyntaxFacts.IsStopOrEndStatementStopOrEndKeyword(stopOrEndKeyword.Kind)) 50083Debug.Assert(SyntaxFacts.IsStopOrEndStatement(kind)) 50084Debug.Assert(stopOrEndKeyword IsNot Nothing AndAlso SyntaxFacts.IsStopOrEndStatementStopOrEndKeyword(stopOrEndKeyword.Kind)) 50380Debug.Assert(SyntaxFacts.IsExitStatement(kind)) 50382Debug.Assert(blockKeyword IsNot Nothing AndAlso SyntaxFacts.IsExitStatementBlockKeyword(blockKeyword.Kind)) 50506Debug.Assert(SyntaxFacts.IsContinueStatement(kind)) 50508Debug.Assert(blockKeyword IsNot Nothing AndAlso SyntaxFacts.IsContinueStatementBlockKeyword(blockKeyword.Kind)) 51093Debug.Assert(SyntaxFacts.IsOnErrorGoToStatement(kind)) 51686Debug.Assert(SyntaxFacts.IsRelationalCaseClause(kind)) 51687Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsRelationalCaseClauseOperatorToken(operatorToken.Kind)) 51913Debug.Assert(SyntaxFacts.IsDoLoopBlock(kind)) 52031Debug.Assert(SyntaxFacts.IsDoStatement(kind)) 52149Debug.Assert(SyntaxFacts.IsLoopStatement(kind)) 52243Debug.Assert(SyntaxFacts.IsWhileOrUntilClause(kind)) 52244Debug.Assert(whileOrUntilKeyword IsNot Nothing AndAlso SyntaxFacts.IsWhileOrUntilClauseWhileOrUntilKeyword(whileOrUntilKeyword.Kind)) 52956Debug.Assert(SyntaxFacts.IsAssignmentStatement(kind)) 52958Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsAssignmentStatementOperatorToken(operatorToken.Kind)) 53105Debug.Assert(SyntaxFacts.IsAddRemoveHandlerStatement(kind)) 53106Debug.Assert(addHandlerOrRemoveHandlerKeyword IsNot Nothing AndAlso SyntaxFacts.IsAddRemoveHandlerStatementAddHandlerOrRemoveHandlerKeyword(addHandlerOrRemoveHandlerKeyword.Kind)) 53311Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 53347Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 53383Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 53419Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 53455Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 53491Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 53527Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 53569Debug.Assert(SyntaxFacts.IsLiteralExpression(kind)) 53570Debug.Assert(token IsNot Nothing AndAlso SyntaxFacts.IsLiteralExpressionToken(token.Kind)) 53897Debug.Assert(SyntaxFacts.IsTypeOfExpression(kind)) 53900Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsTypeOfExpressionOperatorToken(operatorToken.Kind)) 54012Debug.Assert(SyntaxFacts.IsMemberAccessExpression(kind)) 54013Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsMemberAccessExpressionOperatorToken(operatorToken.Kind)) 54138Debug.Assert(SyntaxFacts.IsXmlMemberAccessExpression(kind)) 54400Debug.Assert(keyword IsNot Nothing AndAlso SyntaxFacts.IsPredefinedCastExpressionKeyword(keyword.Kind)) 55175Debug.Assert(SyntaxFacts.IsBinaryExpression(kind)) 55177Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsBinaryExpressionOperatorToken(operatorToken.Kind)) 55322Debug.Assert(SyntaxFacts.IsUnaryExpression(kind)) 55323Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsUnaryExpressionOperatorToken(operatorToken.Kind)) 55492Debug.Assert(SyntaxFacts.IsSingleLineLambdaExpression(kind)) 55603Debug.Assert(SyntaxFacts.IsMultiLineLambdaExpression(kind)) 55711Debug.Assert(SyntaxFacts.IsLambdaHeader(kind)) 55712Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso SyntaxFacts.IsLambdaHeaderSubOrFunctionKeyword(subOrFunctionKeyword.Kind)) 56270Debug.Assert(SyntaxFacts.IsPartitionWhileClause(kind)) 56271Debug.Assert(skipOrTakeKeyword IsNot Nothing AndAlso SyntaxFacts.IsPartitionWhileClauseSkipOrTakeKeyword(skipOrTakeKeyword.Kind)) 56360Debug.Assert(SyntaxFacts.IsPartitionClause(kind)) 56361Debug.Assert(skipOrTakeKeyword IsNot Nothing AndAlso SyntaxFacts.IsPartitionClauseSkipOrTakeKeyword(skipOrTakeKeyword.Kind)) 56606Debug.Assert(SyntaxFacts.IsOrdering(kind)) 56816Debug.Assert(startQuoteToken IsNot Nothing AndAlso SyntaxFacts.IsXmlStringStartQuoteToken(startQuoteToken.Kind)) 56817Debug.Assert(endQuoteToken IsNot Nothing AndAlso SyntaxFacts.IsXmlStringEndQuoteToken(endQuoteToken.Kind)) 57071Debug.Assert(keyword IsNot Nothing AndAlso SyntaxFacts.IsPredefinedTypeKeyword(keyword.Kind)) 57287Debug.Assert(operatorToken IsNot Nothing AndAlso SyntaxFacts.IsCrefOperatorReferenceOperatorToken(operatorToken.Kind)) 57449Debug.Assert(SyntaxFacts.IsXmlTextToken(kind)) 57543Debug.Assert(startQuoteToken IsNot Nothing AndAlso SyntaxFacts.IsXmlCrefAttributeStartQuoteToken(startQuoteToken.Kind)) 57545Debug.Assert(endQuoteToken IsNot Nothing AndAlso SyntaxFacts.IsXmlCrefAttributeEndQuoteToken(endQuoteToken.Kind)) 57558Debug.Assert(startQuoteToken IsNot Nothing AndAlso SyntaxFacts.IsXmlNameAttributeStartQuoteToken(startQuoteToken.Kind)) 57560Debug.Assert(endQuoteToken IsNot Nothing AndAlso SyntaxFacts.IsXmlNameAttributeEndQuoteToken(endQuoteToken.Kind)) 57890Debug.Assert(SyntaxFacts.IsSyntaxTrivia(kind)) 57933Debug.Assert(ifOrElseIfKeyword IsNot Nothing AndAlso SyntaxFacts.IsIfDirectiveTriviaIfOrElseIfKeyword(ifOrElseIfKeyword.Kind)) 57948Debug.Assert(ifOrElseIfKeyword IsNot Nothing AndAlso SyntaxFacts.IsIfDirectiveTriviaIfOrElseIfKeyword(ifOrElseIfKeyword.Kind))
Generated\Syntax.xml.Main.Generated.vb (40)
6561If Not SyntaxFacts.IsEndBlockStatement(kind) Then 8197If Not SyntaxFacts.IsSpecialConstraint(kind) Then 8413If Not SyntaxFacts.IsMethodBlock(kind) Then 8963If Not SyntaxFacts.IsAccessorBlock(kind) Then 9488If Not SyntaxFacts.IsMethodStatement(kind) Then 9985If Not SyntaxFacts.IsDeclareStatement(kind) Then 10381If Not SyntaxFacts.IsDelegateStatement(kind) Then 11222If Not SyntaxFacts.IsAccessorStatement(kind) Then 13238If Not SyntaxFacts.IsLabel(kind) Then 13325If Not SyntaxFacts.IsStopOrEndStatement(kind) Then 13670If Not SyntaxFacts.IsExitStatement(kind) Then 13852If Not SyntaxFacts.IsContinueStatement(kind) Then 15351If Not SyntaxFacts.IsOnErrorGoToStatement(kind) Then 15601If Not SyntaxFacts.IsResumeStatement(kind) Then 15936If Not SyntaxFacts.IsCaseBlock(kind) Then 16084If Not SyntaxFacts.IsCaseStatement(kind) Then 17440If Not SyntaxFacts.IsRelationalCaseClause(kind) Then 18013If Not SyntaxFacts.IsDoLoopBlock(kind) Then 18219If Not SyntaxFacts.IsDoStatement(kind) Then 18405If Not SyntaxFacts.IsLoopStatement(kind) Then 18765If Not SyntaxFacts.IsWhileOrUntilClause(kind) Then 23069If Not SyntaxFacts.IsAssignmentStatement(kind) Then 23976If Not SyntaxFacts.IsAddRemoveHandlerStatement(kind) Then 24557If Not SyntaxFacts.IsReDimStatement(kind) Then 25051If Not SyntaxFacts.IsLiteralExpression(kind) Then 25895If Not SyntaxFacts.IsTypeOfExpression(kind) Then 26251If Not SyntaxFacts.IsMemberAccessExpression(kind) Then 26539If Not SyntaxFacts.IsXmlMemberAccessExpression(kind) Then 33947If Not SyntaxFacts.IsBinaryExpression(kind) Then 34821If Not SyntaxFacts.IsUnaryExpression(kind) Then 36260If Not SyntaxFacts.IsSingleLineLambdaExpression(kind) Then 36677If Not SyntaxFacts.IsMultiLineLambdaExpression(kind) Then 36889If Not SyntaxFacts.IsLambdaHeader(kind) Then 38615If Not SyntaxFacts.IsPartitionWhileClause(kind) Then 39070If Not SyntaxFacts.IsPartitionClause(kind) Then 40037If Not SyntaxFacts.IsOrdering(kind) Then 41832If Not SyntaxFacts.IsXmlTextToken(kind) Then 42922If Not SyntaxFacts.IsSyntaxTrivia(kind) Then 43415If Not SyntaxFacts.IsIfDirectiveTrivia(kind) Then 45875Return SyntaxFacts.GetText(kind)
OptionsValidator.vb (8)
108If allowEscaping AndAlso SyntaxFacts.ReturnFullWidthOrSelf(name(start)) = SyntaxFacts.FULLWIDTH_LEFT_SQUARE_BRACKET Then 109If SyntaxFacts.ReturnFullWidthOrSelf(name(lastIdentifierCharacterIndex)) <> SyntaxFacts.FULLWIDTH_RIGHT_SQUARE_BRACKET Then 116If Not SyntaxFacts.IsIdentifierStartCharacter(name(start)) Then 121If ([end] - start) = 1 AndAlso SyntaxFacts.ReturnFullWidthOrSelf(name(start)) = SyntaxFacts.FULLWIDTH_LOW_LINE Then 126If Not SyntaxFacts.IsIdentifierPartCharacter(name(i)) Then
Parser\BlockContexts\BlockContext.vb (4)
45_isWithinSingleLineLambda = SyntaxFacts.IsSingleLineLambdaExpression(_kind) 49_isWithinMultiLineLambda = SyntaxFacts.IsMultiLineLambdaExpression(_kind) 388ElseIf SyntaxFacts.IsEndBlockLoopOrNextStatement(kind) Then 439If ifStmt.ThenKeyword IsNot Nothing AndAlso Not SyntaxFacts.IsTerminator(Parser.CurrentToken.Kind) Then
Parser\BlockContexts\DeclarationContext.vb (1)
237If Not SyntaxFacts.IsEndBlockLoopOrNextStatement(node.Kind) Then
Parser\BlockContexts\ExecutableStatementContext.vb (8)
40Dim declarationContext = FindNearest(Function(s) SyntaxFacts.IsMethodBlock(s) OrElse 43SyntaxFacts.IsAccessorBlock(s)) 51node = Parser.ReportSyntaxError(node, ERRID.ERR_InvInsideBlock, SyntaxFacts.GetBlockName(BlockKind)) 63Dim declarationContext = FindNearest(Function(s) SyntaxFacts.IsMethodBlock(s) OrElse 66SyntaxFacts.IsAccessorBlock(s) OrElse 67SyntaxFacts.IsMultiLineLambdaExpression(s) OrElse 68SyntaxFacts.IsSingleLineLambdaExpression(s)) 75node = Parser.ReportSyntaxError(node, ERRID.ERR_InvInsideBlock, SyntaxFacts.GetBlockName(BlockKind))
Parser\BlockContexts\IfPartContext.vb (1)
78If Not SyntaxFacts.IsTerminator(Parser.CurrentToken.Kind) Then
Parser\BlockContexts\LambdaContext.vb (1)
19Debug.Assert(SyntaxFacts.IsMultiLineLambdaExpression(BlockKind))
Parser\BlockContexts\MethodBlockContext.vb (4)
20Debug.Assert(SyntaxFacts.IsMethodBlock(contextKind) OrElse 23SyntaxFacts.IsAccessorBlock(contextKind) OrElse 24SyntaxFacts.IsSingleLineLambdaExpression(contextKind) OrElse 25SyntaxFacts.IsMultiLineLambdaExpression(contextKind))
Parser\BlockContexts\SingleLineElseContext.vb (1)
32If ifStmt.ThenKeyword IsNot Nothing AndAlso Not SyntaxFacts.IsTerminator(Parser.CurrentToken.Kind) Then
Parser\BlockContexts\SingleLineIfBlockContext.vb (1)
32If ifStmt.ThenKeyword IsNot Nothing AndAlso Not SyntaxFacts.IsTerminator(Parser.CurrentToken.Kind) Then
Parser\BlockContexts\SingleLineLambdaContext.vb (1)
20Debug.Assert(SyntaxFacts.IsSingleLineLambdaExpression(BlockKind))
Parser\ParseConditional.vb (3)
360If Not SyntaxFacts.IsHexDigit(ch) Then 403If Not SyntaxFacts.IsTerminator(CurrentToken.Kind) Then 416If SyntaxFacts.IsTerminator(CurrentToken.Kind) Then
Parser\ParseExpression.vb (2)
519If SyntaxFacts.IsFullWidth(ch) Then 772Debug.Assert(SyntaxFacts.IsPredefinedCastExpressionKeyword(CurrentToken.Kind), "ParseCastExpression called with the wrong token.")
Parser\Parser.vb (21)
843If SyntaxFacts.CanStartSpecifierDeclaration(possibleDeclarationStart) OrElse 844SyntaxFacts.IsSpecifier(possibleDeclarationStart) Then 1111If SyntaxFacts.IsSpecifier(nextToken.Kind) OrElse SyntaxFacts.CanStartSpecifierDeclaration(nextToken.Kind) Then 1993If SyntaxFacts.IsSpecifier(nextToken.Kind) OrElse SyntaxFacts.CanStartSpecifierDeclaration(nextToken.Kind) Then 2002If SyntaxFacts.IsSpecifier(nextToken.Kind) OrElse 2003SyntaxFacts.CanStartSpecifierDeclaration(nextToken.Kind) Then 2690customModifierError = SyntaxFacts.IsSpecifier(nextToken.Kind) OrElse SyntaxFacts.CanStartSpecifierDeclaration(nextToken.Kind) 2698If SyntaxFacts.IsSpecifier(identifierStart.Kind) Then 2756If SyntaxFacts.IsPredefinedTypeOrVariant(Token.Kind) Then 2801If SyntaxFacts.IsPredefinedTypeKeyword(Start.Kind) Then 3037If _evaluatingConditionCompilationExpression AndAlso Not SyntaxFacts.IsPredefinedTypeOrVariant(start.Kind) Then 3947If SyntaxFacts.IsOperatorStatementOperatorToken(operatorKind) Then 3954If SyntaxFacts.IsOperator(operatorKind) Then 5414Debug.Assert(lessThanText = "<" OrElse lessThanText = SyntaxFacts.FULLWIDTH_LESS_THAN_SIGN_STRING) 5415Debug.Assert(greaterThanText = ">" OrElse greaterThanText = SyntaxFacts.FULLWIDTH_GREATER_THAN_SIGN_STRING) 5588Return SyntaxFacts.GetBinaryExpression(t.Kind) 5779Debug.Assert(SyntaxFacts.IsTerminator(CurrentToken.Kind) OrElse CurrentToken.Kind = SyntaxKind.EmptyToken) 5807Debug.Assert(SyntaxFacts.IsTerminator(CurrentToken.Kind))
Parser\ParseScan.vb (3)
68Return SyntaxFacts.IsTerminator(t.Kind) 153If SyntaxFacts.IsPredefinedTypeOrVariant(t.Kind) Then 425Return Not SyntaxFacts.IsTerminator(kind) AndAlso kind <> SyntaxKind.EmptyToken
Parser\ParseStatement.vb (5)
57Dim loopContext = Context.FindNearest(AddressOf SyntaxFacts.SupportsContinueStatement) 157Dim loopContext = Context.FindNearest(AddressOf SyntaxFacts.SupportsExitStatement) 265If StartCase = SyntaxKind.IsKeyword OrElse SyntaxFacts.IsRelationalOperator(StartCase) Then 271If SyntaxFacts.IsRelationalOperator(CurrentToken.Kind) Then 1096If SyntaxFacts.IsAssignmentStatementOperatorToken(CurrentToken.Kind) Then
Parser\ParseXml.vb (3)
1099If SyntaxFacts.IsPredefinedTypeKeyword(Me.CurrentToken.Kind) Then 1275If SyntaxFacts.IsOperatorStatementOperatorToken(operatorKind) Then 1318Debug.Assert(Not SyntaxFacts.IsPredefinedTypeKeyword(CurrentToken.Kind))
Scanner\KeywordTable.vb (3)
314If SyntaxFacts.IsFullWidth(ch) Then 315ch = SyntaxFacts.MakeHalfWidth(ch) 376Dim Name = SyntaxFacts.GetText(Token)
Scanner\Scanner.vb (6)
724If position = 0 OrElse SyntaxFacts.IsNewLine(text(position - 1)) Then 790While CanGet() AndAlso SyntaxFacts.IsNewLine(Peek()) 805If SyntaxFacts.IsNewLine(ch) Then 1482If SyntaxFacts.IsIdentifierStartCharacter(c) Then 1591If SyntaxFacts.IsContextualKeyword(tokenType) Then 2683Return (_isScanningForExpressionCompiler AndAlso c = "$"c) OrElse SyntaxFacts.IsIdentifierStartCharacter(c)
Scanner\TokenStream.vb (1)
366If tk.Width = 0 AndAlso SyntaxFacts.IsTerminator(tk.Kind) Then
Semantics\Operators.vb (3)
336diagnosticsOpt.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OperatorRequiresBoolReturnType1, SyntaxFacts.GetText(SyntaxKind.IsTrueKeyword)), method.Locations(0)) 343diagnosticsOpt.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OperatorRequiresBoolReturnType1, SyntaxFacts.GetText(SyntaxKind.IsFalseKeyword)), method.Locations(0)) 362SyntaxFacts.GetText(If(opInfo.BinaryOperatorKind = BinaryOperatorKind.LeftShift,
SourceGeneration\VisualBasicSyntaxHelper.vb (1)
20Return SyntaxFacts.IsValidIdentifier(name)
SymbolDisplay\SymbolDisplayVisitor.Members.vb (1)
351ElseIf SyntaxFacts.IsKeywordKind(tokenKind) Then
SymbolDisplay\SymbolDisplayVisitor.vb (9)
99If CaseInsensitiveComparison.Equals(SyntaxFacts.GetText(SyntaxKind.REMKeyword), text) OrElse 100CaseInsensitiveComparison.Equals(SyntaxFacts.GetText(SyntaxKind.NewKeyword), text) Then 137If SyntaxFacts.GetKeywordKind(identifier) <> SyntaxKind.None Then 145Dim contextualKeywordKind As SyntaxKind = SyntaxFacts.GetContextualKeywordKind(identifier) 263Builder.Add(CreatePart(SymbolDisplayPartKind.Keyword, symbol, SyntaxFacts.GetText(SyntaxKind.GlobalKeyword), True)) 266Builder.Add(CreatePart(SymbolDisplayPartKind.Keyword, symbol, SyntaxFacts.GetText(SyntaxKind.GlobalKeyword), True)) 328Builder.Add(CreatePart(SymbolDisplayPartKind.Operator, Nothing, SyntaxFacts.GetText(operatorKind), False)) 332Builder.Add(CreatePart(SymbolDisplayPartKind.Punctuation, Nothing, SyntaxFacts.GetText(punctuationKind), False)) 340Builder.Add(CreatePart(SymbolDisplayPartKind.Keyword, Nothing, SyntaxFacts.GetText(keywordKind), False))
SymbolDisplay\SymbolDisplayVisitor_Minimal.vb (1)
15Return SyntaxFacts.IsInNamespaceOrTypeContext(TryCast(startNode, ExpressionSyntax)) OrElse Me.InNamespaceOrType
Symbols\MethodKindExtensions.vb (5)
17Return SyntaxFacts.GetText(SyntaxKind.AddHandlerKeyword) 20Return SyntaxFacts.GetText(SyntaxKind.RaiseEventKeyword) 23Return SyntaxFacts.GetText(SyntaxKind.RemoveHandlerKeyword) 26Return SyntaxFacts.GetText(SyntaxKind.GetKeyword) 29Return SyntaxFacts.GetText(SyntaxKind.SetKeyword)
Symbols\Source\OverrideHidingHelper.vb (1)
461SyntaxFacts.GetText(OverloadResolution.GetOperatorTokenKind(associatedSymbol.Name)),
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
3718SyntaxFacts.GetText(OverloadResolution.GetOperatorTokenKind(nameOfThePair)),
Symbols\Source\SourceMethodSymbol.vb (2)
165SyntaxFacts.GetText(token.Kind)) 366binder.ReportDiagnostic(diagBag, syntax.OperatorToken, paramCountMismatchERRID, SyntaxFacts.GetText(syntax.OperatorToken.Kind))
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (4)
331SyntaxFacts.GetText(SyntaxKind.InterfaceKeyword) & " " & interfaceName, 333SyntaxFacts.GetText(SyntaxKind.ClassKeyword), 346SyntaxFacts.GetText(SyntaxKind.InterfaceKeyword), 348SyntaxFacts.GetText(SyntaxKind.ClassKeyword),
Symbols\Source\SynthesizedMyGroupCollectionPropertyAccessorSymbol.vb (1)
47If SyntaxFacts.GetKeywordKind(name) <> SyntaxKind.None Then
Symbols\Symbol.vb (2)
641Return Not String.IsNullOrEmpty(Me.Name) AndAlso SyntaxFacts.IsIdentifierStartCharacter(Me.Name(0)) 643Return SyntaxFacts.IsValidIdentifier(Me.Name)
Symbols\Symbol_Attributes.vb (1)
208If Not SyntaxFacts.IsValidIdentifier(DirectCast(arguments.Attribute.CommonConstructorArguments(0).ValueInternal, String)) Then
Symbols\SymbolExtensions.vb (2)
90Return SyntaxFacts.GetText(SyntaxKind.WriteOnlyKeyword) 92Return SyntaxFacts.GetText(SyntaxKind.ReadOnlyKeyword)
Symbols\TypeParameterConstraint.vb (1)
65Return SyntaxFacts.GetText(ToSyntaxKind(Kind))
Syntax\BeginOfBlockSyntaxReference.vb (1)
20Return SyntaxFacts.BeginOfBlockStatementIfAny(reference.GetSyntax(cancellationToken))
Syntax\InternalSyntax\SyntaxFactory.vb (1)
63Return SyntaxToken.Create(kind, leading, trailing, If(text Is Nothing, SyntaxFacts.GetText(kind), text))
Syntax\InternalSyntax\SyntaxToken.vb (1)
396Dim tokenText = If(text Is Nothing, SyntaxFacts.GetText(kind), text)
Syntax\SyntaxNormalizer.vb (5)
246trivia = SyntaxFactory.DocumentationCommentExteriorTrivia(SyntaxFacts.GetText(SyntaxKind.DocumentationCommentExteriorTrivia)) 331If SyntaxFacts.IsPreprocessorDirective(trivia.Kind) Then 355Return Not SyntaxFacts.IsPreprocessorDirective(trivia.Kind) 498If SyntaxFacts.IsRelationalCaseClause(token.Parent.Kind()) OrElse 499SyntaxFacts.IsRelationalCaseClause(nextToken.Parent.Kind()) Then
Syntax\VisualBasicSyntaxTree.vb (1)
387If Not SyntaxFacts.IsXmlSyntax(node.Kind()) Then
VisualBasicExtensions.vb (4)
347Return SyntaxFacts.IsKeywordKind(token.Kind()) 357Return SyntaxFacts.IsReservedKeyword(token.Kind()) 366Return SyntaxFacts.IsContextualKeyword(token.Kind()) 376Return SyntaxFacts.IsPreprocessorKeyword(token.Kind())
VisualBasicParseOptions.vb (1)
255If Not IsValidIdentifier(symbol.Key) OrElse SyntaxFacts.GetKeywordKind(symbol.Key) <> SyntaxKind.None Then