208 references to ReportSyntaxError
Microsoft.CodeAnalysis.VisualBasic (208)
Parser\BlockContexts\BlockContext.vb (7)
111beginStmt = Parser.ReportSyntaxError(beginStmt, errorId) 374node = Parser.ReportSyntaxError(node, ERRID.ERR_BogusWithinLineIf) 451Add(Parser.ReportSyntaxError(node, ERRID.ERR_ElseNoMatchingIf)) 460Add(Parser.ReportSyntaxError(node, ERRID.ERR_ElseIfNoMatchingIf)) 477Add(Parser.ReportSyntaxError(node, ERRID.ERR_CaseNoSelect)) 483Add(Parser.ReportSyntaxError(node, ERRID.ERR_CaseElseNoSelect)) 509Add(Parser.ReportSyntaxError(node, If(node.Kind = SyntaxKind.CatchStatement, ERRID.ERR_CatchNoMatchingTry, ERRID.ERR_FinallyNoMatchingTry)))
Parser\BlockContexts\CaseBlockContext.vb (1)
30node = Parser.ReportSyntaxError(node, ERRID.ERR_CaseAfterCaseElse)
Parser\BlockContexts\CompilationUnitContext.vb (3)
413rewritten = Parser.ReportSyntaxError(rewritten, ERRID.ERR_LbExpectedEndIf) 425rewritten = Parser.ReportSyntaxError(rewritten, ERRID.ERR_ExpectedEndRegion) 518rewritten = Parser.ReportSyntaxError(rewritten, ERRID.ERR_ExpectedEndExternalSource)
Parser\BlockContexts\DeclarationContext.vb (17)
50node = Parser.ReportSyntaxError(node, ERRID.ERR_NamespaceNotAtNamespace) 61node = Parser.ReportSyntaxError(node, ERRID.ERR_ModuleNotAtNamespace) 88node = Parser.ReportSyntaxError(node, ERRID.ERR_MethodMustBeFirstStatementOnLine) 100node = Parser.ReportSyntaxError(node, ERRID.ERR_MethodMustBeFirstStatementOnLine) 106node = Parser.ReportSyntaxError(node, ERRID.ERR_OperatorDeclaredInModule) 147node = Parser.ReportSyntaxError(node, ERRID.ERR_ExpectedDeclaration) 160node = Parser.ReportSyntaxError(eventDecl, ERRID.ERR_CustomEventRequiresAs) 168node = Parser.ReportSyntaxError(node, ERRID.ERR_AttributeStmtWrongOrder) 172node = Parser.ReportSyntaxError(node, ERRID.ERR_OptionStmtWrongOrder) 176node = Parser.ReportSyntaxError(node, ERRID.ERR_ImportsMustBeFirst) 183node = Parser.ReportSyntaxError(node, ERRID.ERR_BadInterfaceOrderOnInherits) 185node = Parser.ReportSyntaxError(node, ERRID.ERR_InheritsStmtWrongOrder) 191node = Parser.ReportSyntaxError(node, ERRID.ERR_ImplementsStmtWrongOrder) 225node = Parser.ReportSyntaxError(node, ERRID.ERR_InvOutsideProc) 239node = Parser.ReportSyntaxError(node, ERRID.ERR_ExecutableAsDeclaration) 348node = Parser.ReportSyntaxError(node, ERRID.ERR_ExecutableAsDeclaration) 461statement = Parser.ReportSyntaxError(statement, ErrorId)
Parser\BlockContexts\DoLoopBlockContext.vb (1)
39Dim keyword = Parser.ReportSyntaxError(whileUntilClause.WhileOrUntilKeyword, ERRID.ERR_LoopDoubleCondition)
Parser\BlockContexts\EnumDeclarationBlockContext.vb (2)
42Add(Parser.ReportSyntaxError(node, ERRID.ERR_InvInsideEnum)) 46Return outerContext.ProcessSyntax(Parser.ReportSyntaxError(node, ERRID.ERR_InvInsideEndsEnum))
Parser\BlockContexts\EventBlockContext.vb (1)
48Return context.ProcessSyntax(Parser.ReportSyntaxError(node, ERRID.ERR_InvInsideEndsEvent))
Parser\BlockContexts\ExecutableStatementContext.vb (2)
48Return context.ProcessSyntax(Parser.ReportSyntaxError(node, ERRID.ERR_InvInsideEndsProc)) 72node = Parser.ReportSyntaxError(node, ERRID.ERR_InvInsideProc)
Parser\BlockContexts\FinallyPartBlock.vb (2)
30Add(Parser.ReportSyntaxError(node, ERRID.ERR_CatchAfterFinally)) 36Add(Parser.ReportSyntaxError(node, ERRID.ERR_FinallyAfterFinally))
Parser\BlockContexts\IfBlockContext.vb (1)
78begin = Parser.ReportSyntaxError(begin, ERRID.ERR_ExpectedEndIf)
Parser\BlockContexts\InterfaceDeclarationBlockContext.vb (8)
70node = Parser.ReportSyntaxError(node, ERRID.ERR_InterfaceMemberSyntax) 80Add(Parser.ReportSyntaxError(node, ERRID.ERR_NewInInterface)) 86eventStatement = Parser.ReportSyntaxError(eventStatement, ERRID.ERR_CustomEventInvInInterface) 103Add(Parser.ReportSyntaxError(node, ERRID.ERR_InterfaceMemberSyntax)) 106node = Parser.ReportSyntaxError(node, ERRID.ERR_InvOutsideProc) 127Add(Parser.ReportSyntaxError(node, ERRID.ERR_InvInsideInterface)) 139Return outerContext.ProcessSyntax(Parser.ReportSyntaxError(node, ERRID.ERR_InvInsideEndsInterface)) 142Add(Parser.ReportSyntaxError(node, ERRID.ERR_InvInsideInterface))
Parser\BlockContexts\MethodBlockContext.vb (2)
34node = Parser.ReportSyntaxError(node, ERRID.ERR_MethodBodyNotAtLineStart) 47node = Parser.ReportSyntaxError(node, ERRID.ERR_ExitPropNot)
Parser\BlockContexts\PropertyBlockContext.vb (3)
75node = Parser.ReportSyntaxError(node, ERRID.ERR_InvInsideEndsProperty) 131Parser.ReportSyntaxError(beginBlockStmt.ParameterList, ERRID.ERR_AutoPropertyCantHaveParams), 152propertyStatement = Parser.ReportSyntaxError(propertyStatement, ERRID.ERR_InitializedExpandedProperty)
Parser\BlockContexts\SelectBlockContext.vb (1)
49node = Parser.ReportSyntaxError(node, ERRID.ERR_ExpectedCase)
Parser\BlockContexts\SingleLineElseContext.vb (1)
46Add(Parser.ReportSyntaxError(node, If(node.Kind = SyntaxKind.CatchStatement, ERRID.ERR_CatchNoMatchingTry, ERRID.ERR_FinallyNoMatchingTry)))
Parser\BlockContexts\SingleLineIfBlockContext.vb (2)
38Add(Parser.ReportSyntaxError(node, ERRID.ERR_ExpectedEOS)) 55Add(Parser.ReportSyntaxError(node, If(node.Kind = SyntaxKind.CatchStatement, ERRID.ERR_CatchNoMatchingTry, ERRID.ERR_FinallyNoMatchingTry)))
Parser\BlockContexts\SingleLineLambdaContext.vb (3)
48lambdaExpr = Parser.ReportSyntaxError(lambdaExpr, ERRID.ERR_SubRequiresSingleStatement) 50lambdaExpr = Parser.ReportSyntaxError(lambdaExpr, ERRID.ERR_BadIteratorExpressionLambda) 81_statements(0) = Parser.ReportSyntaxError(_statements(0), ERRID.ERR_SubRequiresSingleStatement)
Parser\BlockContexts\TryBlockContext.vb (1)
76beginStmt = Parser.ReportSyntaxError(beginStmt, ERRID.ERR_ExpectedEndTry)
Parser\ParseConditional.vb (3)
410errorCode = ReportSyntaxError(errorCode, ERRID.ERR_TypecharNotallowed) 420comma = ReportSyntaxError(comma, ERRID.ERR_ExpectedComma) 470badDirective = ReportSyntaxError(badDirective, ERRID.ERR_ExpectedConditionalDirective)
Parser\ParseExpression.vb (30)
142expression = ReportSyntaxError(expression, ERRID.ERR_BadCCExpression) 247term = ReportSyntaxError(term, ERRID.ERR_ExpectedDotAfterGlobalNameSpace) 257term = ReportSyntaxError(term, ERRID.ERR_ExpectedDotAfterMyBase) 267term = ReportSyntaxError(term, ERRID.ERR_ExpectedDotAfterMyClass) 429term = ReportSyntaxError(term, ERRID.ERR_ExpectedExpression) 462term = ReportSyntaxError(term, ERRID.ERR_SubRequiresParenthesesDot) 469term = ReportSyntaxError(term, ERRID.ERR_SubRequiresParenthesesBang) 476term = ReportSyntaxError(term, ERRID.ERR_SubRequiresParenthesesLParen) 492term = ReportSyntaxError(term, ERRID.ERR_SubRequiresParenthesesDot) 494term = ReportSyntaxError(term, ERRID.ERR_SubRequiresParenthesesBang) 496term = ReportSyntaxError(term, ERRID.ERR_SubRequiresParenthesesLParen) 703Return ReportSyntaxError(argument, ERRID.ERR_ExpressionDoesntHaveName) 722Return ReportSyntaxError(argument, If(isTopLevel, ERRID.ERR_ExpressionDoesntHaveName, ERRID.ERR_InvalidNameOfSubExpression)) 888objInit = ReportSyntaxError(objInit, ERRID.ERR_CantCombineInitializers) 902objInit = ReportSyntaxError(objInit, ERRID.ERR_CantCombineInitializers) 908objInit = ReportSyntaxError(objInit, ERRID.ERR_CantCombineInitializers) 1028Dim missingIdent = ReportSyntaxError(InternalSyntaxFactory.MissingIdentifier, ERRID.ERR_ExpectedIdentifier) 1055atToken = ReportSyntaxError(atToken, ERRID.ERR_ExpectedXmlName) 1071atToken = ReportSyntaxError(atToken, ERRID.ERR_ExpectedXmlName) 1127ReportSyntaxError(InternalSyntaxFactory.XmlName(Nothing, missingName), ERRID.ERR_ExpectedXmlName)) 1129result = SyntaxFactory.SimpleMemberAccessExpression(Term, DotOrBangToken, ReportSyntaxError(InternalSyntaxFactory.IdentifierName(InternalSyntaxFactory.MissingIdentifier), ERRID.ERR_ExpectedIdentifier)) 1219Return ReportSyntaxError(SyntaxFactory.XmlName(Nothing, SyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing)), ERRID.ERR_ExpectedXmlName) 1292missing = ReportSyntaxError(missing, ERRID.ERR_TupleTooFewElements) 1342closeParen = ReportSyntaxError(closeParen, ERRID.ERR_ExpectedRparen) 1452skipped = ReportSyntaxError(skipped, ERRID.ERR_ArgumentSyntax) 1511argumentName = ReportSyntaxError(argumentName, ERRID.ERR_ExpectedNamedArgumentInAttributeList) 1524namedArgument = ReportSyntaxError(namedArgument, ERRID.ERR_ArgumentSyntax) 1609comma = ReportSyntaxError(InternalSyntaxFactory.MissingPunctuation(SyntaxKind.CommaToken), 1764value = Parser.ReportSyntaxError(value, ERRID.ERR_BadIteratorExpressionLambda) 1803_context.Add(ReportSyntaxError(statement, ERRID.ERR_InvInsideEndsProc))
Parser\ParseInterpolatedString.vb (4)
114expression = ReportSyntaxError(InternalSyntaxFactory.MissingExpression(), ERRID.ERR_ExpectedExpression) 163widthToken = ReportSyntaxError(InternalSyntaxFactory.MissingIntegerLiteralToken(), ERRID.ERR_ExpectedIntLiteral) 212formatStringToken = ReportSyntaxError(formatStringToken, ERRID.ERR_Syntax) 215formatStringToken = ReportSyntaxError(formatStringToken, ERRID.ERR_InterpolationFormatWhitespace)
Parser\ParseQuery.vb (11)
93curIdent = ReportSyntaxError(curIdent, ERRID.ERR_InvalidUseOfKeyword) 150syntax = ReportSyntaxError(syntax, ERRID.ERR_ExpectedEndOfExpression) 161varName = varName.AddTrailingSyntax(ReportSyntaxError(unexpectedNullable, ERRID.ERR_NullableTypeInferenceNotSupported)) 200groupKw = ReportSyntaxError(groupKw, ERRID.ERR_UnexpectedGroup) 215missingIdent = ReportSyntaxError(missingIdent, ERRID.ERR_ExpectedIdentifierOrGroup) 217missingIdent = ReportSyntaxError(missingIdent, ERRID.ERR_ExpectedIdentifier) 317varName = varName.AddTrailingSyntax(ReportSyntaxError(unexpectedNullable, ERRID.ERR_NullableTypeInferenceNotSupported)) 361Equals = ReportSyntaxError(Equals, ERRID.ERR_ExpectedAssignmentOperator) 438varName = varName.AddTrailingSyntax(ReportSyntaxError(unexpectedNullable, ERRID.ERR_NullableTypeInferenceNotSupported)) 790varName = varName.AddTrailingSyntax(ReportSyntaxError(unexpectedNullable, ERRID.ERR_NullableTypeInferenceNotSupported)) 893element = ReportSyntaxError(element, ERRID.ERR_ExpectedExpression)
Parser\Parser.vb (58)
188result = ReportSyntaxError(result, ERRID.ERR_NoGlobalExpectedIdentifier) 224result = ReportSyntaxError(result, ERRID.ERR_ExpectedDot) 553Dim unexpectedEnd = ReportSyntaxError(method.End, ERRID.ERR_InvInsideEndsProc) 1448Dim genericParameters = ReportSyntaxError(ParseGenericParameters, ERRID.ERR_GenericParamsOnInvalidMember) 1616typeParameters = ReportSyntaxError(typeParameters, errid) 1725statement = ReportSyntaxError(ParseStopOrEndStatement(), ERRID.ERR_UnrecognizedEnd) 1993t = ReportSyntaxError(possibleKeyword, ERRID.ERR_InvalidUseOfCustomModifier) 2023keyword = ReportSyntaxError(keyword, err) 2098result = ReportSyntaxError(result, 2300withKeyword = ReportSyntaxError(withKeyword, ERRID.ERR_CantCombineInitializers) 2330withKeyword = ReportSyntaxError(withKeyword, ERRID.ERR_UnrecognizedTypeKeyword) 2441withKeyword = ReportSyntaxError(withKeyword, ERRID.ERR_UnrecognizedTypeKeyword) 2495openBrace = ReportSyntaxError(openBrace, If(anonymousTypeInitializer, ERRID.ERR_AnonymousTypeNeedField, ERRID.ERR_InitializerExpected)) 2569id = ReportSyntaxError(id, ERRID.ERR_NullableTypeInferenceNotSupported) 2579equals = ReportSyntaxError(equals, ERRID.ERR_ExpectedAssignmentOperatorInInit) 2604expression = ReportSyntaxError(expression, ERRID.ERR_AnonymousTypeExpectedIdentifier) 2610expression = ReportSyntaxError(expression, ERRID.ERR_AnonymousTypeNameWithoutPeriod) 2619expression = ReportSyntaxError(expression, ERRID.ERR_AnonTypeFieldXMLNameInference) 2621expression = ReportSyntaxError(expression, ERRID.ERR_AnonymousTypeFieldNameInference) 2637id = ReportSyntaxError(id, ERRID.ERR_ExpectedQualifiedNameInInit) 2705id = ReportSyntaxError(id, ERRID.ERR_ExpectedIdentifier) 2723id = ReportSyntaxError(id, ERRID.ERR_InvalidUseOfCustomModifier) 2807name = ReportSyntaxError(name, ERRID.ERR_ObsoleteObjectNotVariant) 2852typeName = ReportSyntaxError(SyntaxFactory.IdentifierName(InternalSyntaxFactory.MissingIdentifier()), errorID) 2952skipped = ReportSyntaxError(skipped, ERRID.ERR_ArgumentSyntax) 2979missing = ReportSyntaxError(missing, ERRID.ERR_TupleTooFewElements) 3020ReportSyntaxError(typeArgumentList.CloseParenToken, ERRID.ERR_UnrecognizedType)) 3067rankSpecifiers = New CoreInternalSyntax.SyntaxList(Of ArrayRankSpecifierSyntax)(ReportSyntaxError(rankSpecifiers.Node, ERRID.ERR_ArrayOfRawGenericInvalid)) 3135typeName = ReportSyntaxError(typeName, ERRID.ERR_TypeParamMissingCommaOrRParen) 3268optionalArrayBounds = ReportSyntaxError(optionalArrayBounds, ERRID.ERR_NoExplicitArraySizes) 3397methodKeyword = ReportSyntaxError(methodKeyword, ERRID.ERR_MethodMustBeFirstStatementOnLine) 3525eventContainer = ReportSyntaxError(eventContainer, ERRID.ERR_NoGlobalInHandles) 3720handlesClause = ReportSyntaxError(handlesClause, ERRID.ERR_DelegateCantHandleEvents) 3727implementsClause = ReportSyntaxError(implementsClause, ERRID.ERR_DelegateCantImplement) 3830ident = ReportSyntaxError(ident, ERRID.ERR_ConstructorFunction) 3878handlesClause = ReportSyntaxError(handlesClause, ERRID.ERR_DelegateCantHandleEvents) 3886implementsClause = ReportSyntaxError(implementsClause, ERRID.ERR_DelegateCantImplement) 3960operatorToken = ReportSyntaxError(validMissingOperator, ERRID.ERR_UnknownOperator) 3990openParen = ReportSyntaxError(openParen, ERRID.ERR_ExpectedLparen) 4107ident = ReportSyntaxError(ParseIdentifierAllowingKeyword(), ERRID.ERR_ObsoletePropertyGetLetSet) 4238methodKeyword = ReportSyntaxError(methodKeyword, ERRID.ERR_ExpectedSubOrFunction) 4394closeParen = ReportSyntaxError(closeParen, 4573keyword = ReportSyntaxError(keyword, ERRID.ERR_MultipleParameterSpecifiers) 4580keyword = ReportSyntaxError(keyword, ERRID.ERR_MultipleParameterSpecifiers) 4583keyword = ReportSyntaxError(keyword, ERRID.ERR_ParamArrayMustBeByVal) 4590keyword = ReportSyntaxError(keyword, ERRID.ERR_MultipleOptionalParameterSpecifiers) 4597keyword = ReportSyntaxError(keyword, ERRID.ERR_MultipleOptionalParameterSpecifiers) 4599keyword = ReportSyntaxError(keyword, ERRID.ERR_ParamArrayMustBeByVal) 4611keyword = ReportSyntaxError(keyword, ERRID.ERR_DuplicateParameterSpecifier) 4665equals = ReportSyntaxError(equals, ERRID.ERR_DefaultValueForNonOptionalParam) 4672equals = ReportSyntaxError(InternalSyntaxFactory.MissingPunctuation(SyntaxKind.EqualsToken), ERRID.ERR_ObsoleteOptionalWithoutValue) 4751xmlNamespace = ReportSyntaxError(CreateMissingXmlAttribute(), ERRID.ERR_ExpectedXmlns) 4788aliasIdentifier = ReportSyntaxError(aliasIdentifier, ERRID.ERR_NoTypecharInAlias) 5058methodKeyword = ReportSyntaxError(InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword), ERRID.ERR_ExpectedSubFunction) 5288asKeyword = ReportSyntaxError(asKeyword, ERRID.ERR_EventsCantBeFunctions) 5432Dim typeName = SyntaxFactory.IdentifierName(ReportSyntaxError(InternalSyntaxFactory.MissingIdentifier(), ERRID.ERR_ExpectedIdentifier)) 5480assemblyOrModuleKeyword = ReportSyntaxError(assemblyOrModuleKeyword, ERRID.ERR_FileAttributeNotAssemblyOrModule) 5523typeName = ReportSyntaxError(typeName, ERRID.ERR_GenericArgsOnAttributeSpecifier)
Parser\ParseReportError.vb (1)
80missingIdentifier = ReportSyntaxError(missingIdentifier, ErrorId)
Parser\ParseStatement.vb (12)
87blockKeyword = ReportSyntaxError(blockKeyword, ERRID.ERR_ExpectedContinueKind) 233blockKeyword = ReportSyntaxError(blockKeyword, ERRID.ERR_ExpectedExitKind) 288Dim relationalOperator = ReportSyntaxError(InternalSyntaxFactory.MissingPunctuation(SyntaxKind.EqualsToken), ERRID.ERR_ExpectedRelational) 737variable = ReportSyntaxError(variable, ERRID.ERR_ExtraNextVariable) 877label = ReportSyntaxError(label, ERRID.ERR_NoTypecharInLabel) 897intLiteral = ReportSyntaxError(intLiteral, ERRID.ERR_Syntax) 907label = ReportSyntaxError(label, ERRID.ERR_ExpectedIdentifier) 960errorKeyword = ReportSyntaxError(InternalSyntaxFactory.MissingKeyword(SyntaxKind.ErrorKeyword), ERRID.ERR_ObsoleteOnGotoGosub) 976missingGotoKeyword = ReportSyntaxError(missingGotoKeyword, ERRID.ERR_ExpectedResumeOrGoto) 1150target = SyntaxFactory.InvocationExpression(target, ReportSyntaxError(argumentList, ERRID.ERR_ObsoleteArgumentsNeedParens)) 1578Return ReportSyntaxError(SyntaxFactory.LabelStatement(labelName, InternalSyntaxFactory.MissingPunctuation(SyntaxKind.ColonToken)), ERRID.ERR_ObsoleteLineNumbersAreLabels) 1715optionalWhileOrUntilClause = ReportSyntaxError(ResyncAt(clause), ERRID.ERR_Syntax)
Parser\ParseTerminal.vb (4)
44identifier = ReportSyntaxError(identifier, ERRID.ERR_InvalidUseOfKeyword) 57identifier = ReportSyntaxError(identifier, ERRID.ERR_InvalidUseOfKeyword) 69identifier = ReportSyntaxError(identifier, ERRID.ERR_ExpectedIdentifier) 124identifier = ReportSyntaxError(identifier, ERRID.ERR_ExpectedIdentifier)
Parser\ParseVerify.vb (2)
23Return ReportSyntaxError(t, errorId) 29Return ReportSyntaxError(t, errorId)
Parser\ParseXml.vb (16)
242nodes(1) = ReportSyntaxError(version, ERRID.ERR_MissingVersionInXmlDecl) 275name = ReportSyntaxError(name, ERRID.ERR_ExpectedXmlWhiteSpace) 632xml = ReportSyntaxError(xml, ERRID.ERR_XmlEndElementNoMatchingStart) 649xml = ReportSyntaxError(xml, ERRID.ERR_EmbeddedExpression) 726ReportSyntaxError(InternalSyntaxFactory.XmlName(Nothing, SyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing)), ERRID.ERR_ExpectedXmlName), 815greaterThan = ReportSyntaxError(greaterThan, ERRID.ERR_ExpectedGreater) 1277operatorToken = ReportSyntaxError(InternalSyntaxFactory.MissingToken(SyntaxKind.PlusToken), ERRID.ERR_UnknownOperator) 1547localName = ReportSyntaxError(localName, ERRID.ERR_ExpectedXmlWhiteSpace) 1566localName = ReportSyntaxError(localName, ERRID.ERR_ExpectedXmlName) 1570localName = ReportSyntaxError(InternalSyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing), ERRID.ERR_ExpectedXmlName) 1637localName = ReportSyntaxError(InternalSyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing), ERRID.ERR_ExpectedXmlName) 1656name = ReportSyntaxError(name, ERRID.ERR_ExpectedXmlName) 1753xml = ReportSyntaxError(ParseXmlElementEndTag(ScannerState.Content), ERRID.ERR_XmlEndElementNoMatchingStart) 1859textToken = ReportSyntaxError(textToken, ERRID.ERR_ExpectedXmlWhiteSpace) 1924textToken = ReportSyntaxError(textToken, ERRID.ERR_IllegalXmlCommentChar) 1960startQuote = ReportSyntaxError(startQuote, ERRID.ERR_StartAttributeValue)
Scanner\Directives.vb (9)
360statement = Parser.ReportSyntaxError(statement, ERRID.ERR_NestedExternalSource) 369statement = Parser.ReportSyntaxError(statement, ERRID.ERR_EndExternalSource) 384statement = Parser.ReportSyntaxError(statement, ERRID.ERR_EndRegionNoRegion) 421statement = Parser.ReportSyntaxError(statement, ERRID.ERR_LbBadElseif) 428statement = Parser.ReportSyntaxError(statement, ERRID.ERR_LbElseifAfterElse) 465statement = Parser.ReportSyntaxError(statement, ERRID.ERR_LbElseNoMatchingIf) 473statement = Parser.ReportSyntaxError(statement, ERRID.ERR_LbElseNoMatchingIf) 492statement = Parser.ReportSyntaxError(statement, ERRID.ERR_LbNoMatchingIf) 648eof = Parser.ReportSyntaxError(eof, ERRID.ERR_LbExpectedEndIf)