49 references to Element
Microsoft.CodeAnalysis.VisualBasic (49)
Parser\ParseExpression.vb (7)
740
ResetCurrentToken(ScannerState.
Element
)
742
VerifyExpectedToken(SyntaxKind.OpenParenToken, openParen, ScannerState.
Element
)
747
GetNextToken(ScannerState.
Element
)
1065
GetNextToken(ScannerState.
Element
)
1192
ResetCurrentToken(ScannerState.
Element
)
1193
Dim name = ParseXmlQualifiedName(False, False, ScannerState.
Element
, ScannerState.
Element
)
Parser\Parser.vb (5)
4736
ResetCurrentToken(ScannerState.
Element
)
4743
If VerifyExpectedToken(SyntaxKind.LessThanToken, lessToken, ScannerState.
Element
) Then
4755
Dim unexpected = ResyncAt(ScannerState.
Element
, {SyntaxKind.GreaterThanToken})
4763
Dim unexpected = ResyncAt(ScannerState.
Element
, {SyntaxKind.GreaterThanToken})
4769
VerifyExpectedToken(SyntaxKind.GreaterThanToken, greaterToken, ScannerState.
Element
)
Parser\ParseXml.vb (34)
52
Dim nextToken = PeekNextToken(ScannerState.
Element
)
104
PeekNextToken(ScannerState.
Element
).Kind = SyntaxKind.XmlNameToken AndAlso
105
DirectCast(PeekNextToken(ScannerState.
Element
), XmlNameTokenSyntax).PossibleKeywordKind = SyntaxKind.XmlKeyword, "ParseXmlDecl called on the wrong token.")
108
GetNextToken(ScannerState.
Element
)
111
VerifyExpectedToken(SyntaxKind.XmlNameToken, nameToken, ScannerState.
Element
)
222
unexpected = ResyncAt(ScannerState.
Element
, {SyntaxKind.EndOfXmlToken,
272
VerifyExpectedToken(SyntaxKind.XmlNameToken, name, ScannerState.
Element
)
280
Dim exp = ParseXmlEmbedded(ScannerState.
Element
)
285
If Not VerifyExpectedToken(SyntaxKind.EqualsToken, equals, ScannerState.
Element
) Then
286
skipped = ResyncAt(ScannerState.
Element
,
299
value = ParseXmlString(ScannerState.
Element
)
303
Dim exp = ParseXmlEmbedded(ScannerState.
Element
)
512
GetNextToken(ScannerState.
Element
)
515
Dim Name = ParseXmlQualifiedName(False, True, ScannerState.
Element
, ScannerState.
Element
)
541
If PeekNextToken(ScannerState.
Element
).Kind = SyntaxKind.GreaterThanToken Then
545
GetNextToken(ScannerState.
Element
)
599
Dim nextTokenIsSlash As Boolean = PeekNextToken(ScannerState.
Element
).Kind = SyntaxKind.SlashToken
676
Dim docTypeTrivia = ParseXmlDocType(ScannerState.
Element
)
776
Dim unexpectedSyntax = ResyncAt(ScannerState.
Element
,
975
Dim Name = ParseXmlQualifiedName(requireLeadingWhitespace, True, ScannerState.
Element
, ScannerState.
Element
)
981
GetNextToken(ScannerState.
Element
)
986
value = ParseXmlEmbedded(ScannerState.
Element
)
994
value = ParseXmlString(ScannerState.
Element
)
1014
value = ParseXmlString(ScannerState.
Element
)
1126
GetNextToken(ScannerState.
Element
)
1157
Me.ResetCurrentToken(ScannerState.
Element
)
1426
GetNextToken(ScannerState.
Element
)
1437
Me.ResetCurrentToken(ScannerState.
Element
)
1622
ResetCurrentToken(ScannerState.
Element
)
1624
GetNextToken(ScannerState.
Element
)
1795
Dim docTypeTrivia = ParseXmlDocType(ScannerState.
Element
)
1831
GetNextToken(ScannerState.
Element
)
Scanner\ScannerXml.vb (2)
56
Friend Function ScanXmlElement(Optional state As ScannerState = ScannerState.
Element
) As SyntaxToken
57
Debug.Assert(state = ScannerState.
Element
OrElse state = ScannerState.EndElement OrElse state = ScannerState.DocType)
Scanner\TokenStream.vb (1)
588
Case ScannerState.
Element
,