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