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