79 references to XmlNameToken
Microsoft.CodeAnalysis.VisualBasic (79)
Binding\Binder_XmlLiterals.vb (1)
1300Case SyntaxKind.XmlNameToken
Generated\Syntax.xml.Internal.Generated.vb (12)
44613Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 44772Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 44795Debug.Assert(localName IsNot Nothing AndAlso localName.Kind = SyntaxKind.XmlNameToken) 44841Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 44888Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 45322Return New XmlNameTokenSyntax(SyntaxKind.XmlNameToken, text, leadingTrivia, trailingTrivia, possibleKeywordKind) 56679Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 56838Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 56861Debug.Assert(localName IsNot Nothing AndAlso localName.Kind = SyntaxKind.XmlNameToken) 56907Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 56954Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 57388Return New XmlNameTokenSyntax(SyntaxKind.XmlNameToken, text, leadingTrivia, trailingTrivia, possibleKeywordKind, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (11)
40313Case SyntaxKind.XmlNameToken 40339Return SyntaxFactory.XmlDeclarationOption(SyntaxFactory.Token(SyntaxKind.XmlNameToken), SyntaxFactory.Token(SyntaxKind.EqualsToken), value) 40589Case SyntaxKind.XmlNameToken 40601Return SyntaxFactory.XmlPrefixName(SyntaxFactory.Token(SyntaxKind.XmlNameToken)) 40612Case SyntaxKind.XmlNameToken 40626Return SyntaxFactory.XmlName(Nothing, SyntaxFactory.Token(SyntaxKind.XmlNameToken)) 40673Case SyntaxKind.XmlNameToken 40690Return SyntaxFactory.XmlPrefix(SyntaxFactory.Token(SyntaxKind.XmlNameToken), SyntaxFactory.Token(SyntaxKind.ColonToken)) 40733Case SyntaxKind.XmlNameToken 40751Return SyntaxFactory.XmlProcessingInstruction(SyntaxFactory.Token(SyntaxKind.LessThanQuestionToken), SyntaxFactory.Token(SyntaxKind.XmlNameToken), SyntaxTokenList.Create(SyntaxFactory.Token(SyntaxKind.XmlTextLiteralToken)), SyntaxFactory.Token(SyntaxKind.QuestionGreaterThanToken)) 41713Return New SyntaxToken(Nothing, New InternalSyntax.XmlNameTokenSyntax(SyntaxKind.XmlNameToken, Nothing, Nothing, text, leadingTrivia.Node, trailingTrivia.Node, possibleKeywordKind), 0, 0)
Parser\ParseExpression.vb (5)
745If CurrentToken.Kind = SyntaxKind.XmlNameToken Then 1059name = SyntaxFactory.XmlName(Nothing, DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlNameToken), XmlNameTokenSyntax)) 1076name = SyntaxFactory.XmlName(Nothing, DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlNameToken), XmlNameTokenSyntax)) 1125Dim missingName = DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlNameToken), XmlNameTokenSyntax) 1221Return ReportSyntaxError(SyntaxFactory.XmlName(Nothing, SyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing)), ERRID.ERR_ExpectedXmlName)
Parser\Parser.vb (2)
4744If CurrentToken.Kind = SyntaxKind.XmlNameToken AndAlso 4830Dim missingXmlName = DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlNameToken), XmlNameTokenSyntax)
Parser\ParseVerify.vb (1)
135Case SyntaxKind.XmlNameToken
Parser\ParseXml.vb (23)
54If nextToken.Kind = SyntaxKind.XmlNameToken AndAlso DirectCast(nextToken, XmlNameTokenSyntax).PossibleKeywordKind = SyntaxKind.XmlKeyword Then 79SyntaxFactory.XmlName(Nothing, DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlNameToken), XmlNameTokenSyntax)), 104PeekNextToken(ScannerState.Element).Kind = SyntaxKind.XmlNameToken AndAlso 111VerifyExpectedToken(SyntaxKind.XmlNameToken, nameToken, ScannerState.Element) 128Case SyntaxKind.XmlNameToken 239Dim version = SyntaxFactory.XmlDeclarationOption(DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlNameToken), XmlNameTokenSyntax), 258SyntaxKind.XmlNameToken, 272VerifyExpectedToken(SyntaxKind.XmlNameToken, name, ScannerState.Element) 377VerifyExpectedToken(SyntaxKind.XmlNameToken, name, ScannerState.DocType) 393If CurrentToken.Kind = SyntaxKind.XmlNameToken Then 626Dim missingXmlNameToken = DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlNameToken), XmlNameTokenSyntax) 727ReportSyntaxError(InternalSyntaxFactory.XmlName(Nothing, SyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing)), ERRID.ERR_ExpectedXmlName), 910If CurrentToken.Kind = SyntaxKind.XmlNameToken Then 931Case SyntaxKind.XmlNameToken, 959SyntaxKind.XmlNameToken, 968If CurrentToken.Kind = SyntaxKind.XmlNameToken OrElse 1524Case SyntaxKind.XmlNameToken 1559If CurrentToken.Kind = SyntaxKind.XmlNameToken Then 1571localName = ReportSyntaxError(InternalSyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing), ERRID.ERR_ExpectedXmlName) 1638localName = ReportSyntaxError(InternalSyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing), ERRID.ERR_ExpectedXmlName) 1839If Not VerifyExpectedToken(SyntaxKind.XmlNameToken, name, ScannerState.StartProcessingInstruction) Then 2360Case SyntaxKind.XmlNameToken, 2390Case SyntaxKind.XmlNameToken
Scanner\ScannerXml.vb (5)
240If name.PossibleKeywordKind <> SyntaxKind.XmlNameToken Then 263possibleStatement = token.Kind = SyntaxKind.XmlNameToken OrElse 264LastToken.Kind = SyntaxKind.XmlNameToken 275If name.PossibleKeywordKind = SyntaxKind.XmlNameToken Then 1130Return MakeMissingToken(precedingTrivia, SyntaxKind.XmlNameToken)
Scanner\TokenFactories.vb (1)
328Debug.Assert(xmlName.PossibleKeywordKind <> SyntaxKind.XmlNameToken)
Scanner\XmlTokenFactories.vb (3)
155Dim contextualKind As SyntaxKind = SyntaxKind.XmlNameToken 164If contextualKind = SyntaxKind.XmlNameToken Then 167contextualKind = SyntaxKind.XmlNameToken
Syntax\InternalSyntax\SyntaxNodeFactories.vb (2)
409Case SyntaxKind.XmlNameToken 410t = SyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing)
Syntax\SyntaxEquivalence.vb (1)
57SyntaxKind.XmlNameToken
Syntax\SyntaxFactory.vb (8)
536Return XmlEmptyElement(XmlName(Nothing, XmlNameToken(DocumentationCommentXmlNames.ThreadSafetyElementName, SyntaxKind.XmlNameToken)).WithTrailingTrivia(ElasticSpace)).AddAttributes( 538XmlName(Nothing, XmlNameToken(DocumentationCommentXmlNames.StaticAttributeName, SyntaxKind.XmlNameToken)), 544XmlName(Nothing, XmlNameToken(DocumentationCommentXmlNames.InstanceAttributeName, SyntaxKind.XmlNameToken)), 556Return XmlNameAttribute(XmlName(Nothing, XmlNameToken(DocumentationCommentXmlNames.NameAttributeName, SyntaxKind.XmlNameToken)), Token(SyntaxKind.DoubleQuoteToken), IdentifierName(parameterName), Token(SyntaxKind.DoubleQuoteToken)).WithLeadingTrivia(Whitespace(" ")) 581Return XmlCrefAttribute(XmlName(Nothing, XmlNameToken(DocumentationCommentXmlNames.CrefAttributeName, SyntaxKind.XmlNameToken)), Token(quoteKind), cref, Token(quoteKind)).WithLeadingTrivia(Whitespace(" ")) 783Return XmlEmptyElement(XmlName(Nothing, XmlNameToken(localName, SyntaxKind.XmlNameToken))) 792Return XmlElement(XmlName(Nothing, XmlNameToken(localName, SyntaxKind.XmlNameToken)), content) 810Return XmlMultiLineElement(XmlName(Nothing, XmlNameToken(localName, SyntaxKind.XmlNameToken)), content)
Syntax\SyntaxFacts.vb (1)
960SyntaxKind.XmlNameToken,
Syntax\SyntaxNodeFactories.vb (3)
299Nothing, InternalSyntax.SyntaxFactory.XmlNameToken(parentElementName, SyntaxKind.XmlNameToken, Nothing, Nothing)) 708Case SyntaxKind.XmlNameToken 709t = SyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken)