22 references to DocType
Microsoft.CodeAnalysis.VisualBasic (22)
Parser\ParseXml.vb (17)
376GetNextToken(ScannerState.DocType) 377VerifyExpectedToken(SyntaxKind.XmlNameToken, name, ScannerState.DocType) 400GetNextToken(ScannerState.DocType) 401Dim systemLiteral = ParseXmlString(ScannerState.DocType) 406GetNextToken(ScannerState.DocType) 407Dim publicLiteral = ParseXmlString(ScannerState.DocType) 409Dim systemLiteral = ParseXmlString(ScannerState.DocType) 420unexpected = ResyncAt(ScannerState.DocType, {SyntaxKind.BadToken, 439GetNextToken(ScannerState.DocType) 443GetNextToken(ScannerState.DocType) 448unexpected = ResyncAt(ScannerState.DocType, {SyntaxKind.BadToken, 462GetNextToken(ScannerState.DocType) 475GetNextToken(ScannerState.DocType) 481Dim xmlPI = ParseXmlProcessingInstruction(ScannerState.DocType, Nothing) 485Dim xmlComment = ParseXmlComment(ScannerState.DocType) 490GetNextToken(ScannerState.DocType) 499GetNextToken(ScannerState.DocType)
Scanner\ScannerXml.vb (1)
57Debug.Assert(state = ScannerState.Element OrElse state = ScannerState.EndElement OrElse state = ScannerState.DocType)
Scanner\TokenStream.vb (1)
590ScannerState.DocType
Scanner\XmlTokenFactories.vb (3)
349Return XmlMakeBadToken(SyntaxSubKind.LessThanExclamationToken, precedingTrivia, 2, If(state = ScannerState.DocType, ERRID.ERR_DTDNotSupported, ERRID.ERR_Syntax)) 354Return XmlMakeBadToken(SyntaxSubKind.OpenBracketToken, precedingTrivia, 1, If(state = ScannerState.DocType, ERRID.ERR_DTDNotSupported, ERRID.ERR_IllegalXmlNameChar)) 360Return XmlMakeBadToken(SyntaxSubKind.CloseBracketToken, precedingTrivia, 1, If(state = ScannerState.DocType, ERRID.ERR_DTDNotSupported, ERRID.ERR_IllegalXmlNameChar))