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