4306 references to ERRID
Microsoft.CodeAnalysis.VisualBasic (4306)
Analysis\FlowAnalysis\ControlFlowPass.vb (4)
141Me.diagnostics.Add(ERRID.ERR_BadYieldInTryHandler, branch.Branch.Syntax.GetLocation) 160Dim errId As ERRID 163errId = errId.ERR_BadYieldInTryHandler 167errId = errId.ERR_BranchOutOfFinally
Analysis\FlowAnalysis\DataFlowPass.vb (17)
200Me.diagnostics.Add(ERRID.WRN_UnusedLocalConst, local.Locations(0), If(local.Name, "dummy")) 203Me.diagnostics.Add(ERRID.WRN_UnusedLocal, local.Locations(0), If(local.Name, "dummy")) 1188Dim warning As ERRID = Nothing 1203warning = If(rwContext = ReadWriteContext.ByRefArgument, ERRID.WRN_DefAsgUseNullRefByRef, ERRID.WRN_DefAsgUseNullRef) 1207warning = If(rwContext = ReadWriteContext.ByRefArgument, ERRID.WRN_DefAsgUseNullRefByRefStr, ERRID.WRN_DefAsgUseNullRefStr) 1248Dim warning As ERRID = Nothing 1259warning = ERRID.WRN_DefAsgNoRetValOpVal1 1261warning = ERRID.WRN_DefAsgNoRetValPropVal1 1264warning = ERRID.WRN_DefAsgNoRetValFuncVal1 1271warning = ERRID.WRN_DefAsgNoRetValOpRef1 1273warning = ERRID.WRN_DefAsgNoRetValPropRef1 1276warning = ERRID.WRN_DefAsgNoRetValFuncRef1 1289warning = ERRID.WRN_DefAsgNoRetValPropRef1 1301warning = ERRID.WRN_DefAsgNoRetValWinRtEventVal1 1304warning = ERRID.WRN_DefAsgNoRetValFuncRef1
Analysis\ForLoopVerification.vb (2)
80_diagnostics.Add(ERRID.ERR_ForIndexInUse1, 114_diagnostics.Add(ERRID.ERR_NextForMismatch1,
Analysis\IteratorAndAsyncAnalysis\IteratorAndAsyncCaptureWalker.vb (1)
72diagnostics.Add(ERRID.ERR_CannotLiftRestrictedTypeResumable1, node.GetLocation(), type)
Binding\Binder.vb (13)
458info = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UndefinedType1, MetadataHelpers.BuildQualifiedName(missing.NamespaceName, missing.Name))) 569useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_MissingRuntimeHelper, memberDescriptor.DeclaringTypeMetadataName & "." & memberDescriptor.Name)) 868Public Shared Sub ReportDiagnostic(diagBag As DiagnosticBag, syntax As SyntaxNodeOrToken, id As ERRID) 872Public Shared Sub ReportDiagnostic(diagBag As DiagnosticBag, syntax As SyntaxNodeOrToken, id As ERRID, ParamArray args As Object()) 881Public Shared Sub ReportDiagnostic(diagBag As DiagnosticBag, location As Location, id As ERRID) 885Public Shared Sub ReportDiagnostic(diagBag As DiagnosticBag, location As Location, id As ERRID, ParamArray args As Object()) 898Public Shared Sub ReportDiagnostic(diagBag As BindingDiagnosticBag, syntax As SyntaxNodeOrToken, id As ERRID) 902Public Shared Sub ReportDiagnostic(diagBag As BindingDiagnosticBag, syntax As SyntaxNodeOrToken, id As ERRID, ParamArray args As Object()) 911Public Shared Sub ReportDiagnostic(diagBag As BindingDiagnosticBag, location As Location, id As ERRID) 915Public Shared Sub ReportDiagnostic(diagBag As BindingDiagnosticBag, location As Location, id As ERRID, ParamArray args As Object()) 961ReportDiagnostic(diagnostics, node, ERRID.ERR_BadAbstractStaticMemberAccess) 967ReportDiagnostic(diagnostics, node, ERRID.ERR_RuntimeDoesNotSupportDefaultInterfaceImplementation) 974ReportDiagnostic(diagnostics, node, ERRID.ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember)
Binding\Binder_AnonymousTypes.vb (9)
33ReportDiagnostic(diagnostics, field.Location, ERRID.ERR_RestrictedType1, restrictedType) 184ReportDiagnostic(diagnostics, fieldSyntax, ERRID.ERR_AnonymousTypeDisallowsTypeChar) 195ReportDiagnostic(diagnostics, fieldSyntax, ErrorFactory.ErrorInfo(ERRID.ERR_DuplicateAnonTypeMemberName1, fieldName)) 253ReportDiagnostic(diagnostics, initExpression, ERRID.ERR_RestrictedType1, restrictedType) 410ERRID.ERR_TypeOrMemberNotGeneric1, 425ReportDiagnostic(diagnostics, node, ERRID.ERR_AnonymousTypePropertyOutOfOrder1, name) 433ReportDiagnostic(diagnostics, node, ERRID.ERR_CannotLiftAnonymousType1, node.Name.Identifier.ValueText) 461ReportDiagnostic(diagnostics, node, ERRID.ERR_NameNotMemberOfAnonymousType2, name, StringConstants.AnonymousTypeName) 468ReportDiagnostic(diagnostics, node, ERRID.ERR_NoDefaultNotExtend1, StringConstants.AnonymousTypeName)
Binding\Binder_Attributes.vb (28)
175Dim errorId As ERRID 179errorId = ERRID.ERR_UnrecognizedType 182errorId = ERRID.ERR_AttrCannotBeGenerics 185errorId = ERRID.ERR_UnrecognizedType 194errorId = ERRID.ERR_AttrCannotBeGenerics 198errorId = ERRID.ERR_AttributeMustBeClassNotStruct1 202errorId = ERRID.ERR_AttributeMustInheritSysAttr 210errorId = ERRID.ERR_AttributeCannotBeAbstract 277ReportDiagnostic(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.ERR_NoViableOverloadCandidates1, "New")) 327ReportDiagnostic(diagnostics, node.Name, ERRID.ERR_BadAttributeConstructor1, param.Type) 330ReportDiagnostic(diagnostics, node.Name, ERRID.ERR_BadAttributeConstructor2, param.Type) 336ReportDiagnostic(diagnostics, node.Name, ERRID.ERR_BadAttributeNonPublicType1, param.Type) 343ReportDiagnostic(diagnostics, node.Name, ERRID.ERR_BadAttributeNonPublicContType2, param.Type, container) 361ReportDiagnostic(diagnostics, node.Name, ERRID.ERR_BadAttributeNonPublicConstructor) 479ReportDiagnostic(diagnostics, identifierName, ERRID.ERR_NoNonIndexProperty1, sym.Name) 485ERRID.ERR_InaccessibleMember3, 502ReportDiagnostic(diagnostics, identifierName, ERRID.ERR_AttrAssignmentNotFieldOrProp1, identifierName.Identifier.ValueText) 507ReportDiagnostic(diagnostics, identifierName, ERRID.ERR_BadAttributeNonPublicProperty1, sym.Name) 513ReportDiagnostic(diagnostics, identifierName, ERRID.ERR_BadAttributeSharedProperty1, sym.Name) 518ReportDiagnostic(diagnostics, identifierName, ERRID.ERR_BadAttributeReadOnlyProperty1, sym.Name) 524ReportDiagnostic(diagnostics, identifierName, ERRID.ERR_BadAttributePropertyType1, sym.Name) 548ReportDiagnostic(diagnostics, identifierName, ERRID.ERR_PropertyOrFieldNotDefined1, identifierName.Identifier.ValueText) 769ReportDiagnostic(diagBag, conv.Operand.Syntax, ERRID.ERR_RequiredAttributeConstConversion2, conv.Operand.Type, conv.Type) 783ReportDiagnostic(diagBag, conv.Operand.Syntax, ERRID.ERR_RequiredAttributeConstConversion2, conv.Operand.Type, conv.Type) 798ReportDiagnostic(diagBag, conv.Operand.Syntax, ERRID.ERR_RequiredAttributeConstConversion2, If(conv.Operand.Type, _binder.Compilation.GetSpecialType(SpecialType.System_Object)), conv.Type) 822ReportDiagnostic(diagBag, node.Syntax, ERRID.ERR_RequiredConstExpr) 842Dim diagInfo = New BadSymbolDiagnostic(getTypeArgument, ERRID.ERR_OpenTypeDisallowed) 867ReportDiagnostic(diag, initializerOpt.Syntax, ERRID.ERR_MissingValuesForArraysInApplAttrs)
Binding\Binder_ConditionalAccess.vb (2)
37boundExpression = ReportDiagnosticAndProduceBadExpression(diagnostics, node, ERRID.ERR_BadConditionalWithRef).MakeCompilerGenerated() 58ReportDiagnostic(diagnostics, node.QuestionMarkToken, ERRID.ERR_UnaryOperand2, node.QuestionMarkToken.ValueText, type)
Binding\Binder_Constraints.vb (8)
53ReportDiagnostic(diagnostics, syntax, ERRID.ERR_MultipleNewConstraints) 55ReportDiagnostic(diagnostics, syntax, ERRID.ERR_NewAndValueConstraintsCombined) 63ReportDiagnostic(diagnostics, syntax, ERRID.ERR_MultipleReferenceConstraints) 65ReportDiagnostic(diagnostics, syntax, ERRID.ERR_RefAndValueConstraintsCombined) 73ReportDiagnostic(diagnostics, syntax, ERRID.ERR_MultipleValueConstraints) 75ReportDiagnostic(diagnostics, syntax, ERRID.ERR_NewAndValueConstraintsCombined) 77ReportDiagnostic(diagnostics, syntax, ERRID.ERR_RefAndValueConstraintsCombined) 88ReportDiagnostic(diagnostics, syntax, ERRID.ERR_UnrecognizedType)
Binding\Binder_Conversions.vb (63)
123ReportDiagnostic(diagnostics, argument.Syntax, ERRID.ERR_RestrictedConversion1, sourceType) 137ReportDiagnostic(diagnostics, argument.Syntax, ERRID.ERR_IdentityDirectCastForFloat) 140ReportDiagnostic(diagnostics, argument.Syntax, ERRID.WRN_ObsoleteIdentityDirectCastForValueType) 240ReportDiagnostic(diagnostics, If(castSyntax IsNot Nothing, castSyntax.Type, node), ERRID.ERR_TryCastOfValueType1, targetType) 245ReportDiagnostic(diagnostics, If(castSyntax IsNot Nothing, castSyntax.Type, node), ERRID.ERR_TryCastOfUnconstrainedTypeParam1, targetType) 250ReportDiagnostic(diagnostics, argument.Syntax, ERRID.ERR_RestrictedConversion1, sourceType) 510ReportDiagnostic(diagnostics, argument.Syntax, ERRID.ERR_RestrictedConversion1, sourceType) 523ReportDiagnostic(diagnostics, argument.Syntax, ERRID.ERR_StrictArgumentCopyBackNarrowing3, 526ReportDiagnostic(diagnostics, argument.Syntax, ERRID.WRN_ImplicitConversionCopyBack, 543Dim err As ERRID = ERRID.ERR_NarrowingConversionDisallowed2 547err = ERRID.ERR_AmbiguousCastConversion2 551err = ERRID.ERR_NarrowingConversionCollection2 565Dim wrnId1 As ERRID = ERRID.WRN_ImplicitConversionSubst1 566Dim wrnId2 As ERRID = ERRID.WRN_ImplicitConversion2 569wrnId2 = ERRID.WRN_AmbiguousCastConversion2 589ReportDiagnostic(diagnostics, argument.Syntax, ERRID.ERR_ExpressionOverflow1, errorTargetType) 751ReportDiagnostic(diagnostics, location, ERRID.WRN_ImplicitConversionSubst1, 752ErrorFactory.ErrorInfo(ERRID.WRN_VarianceIEnumerableSuggestion3, sourceType, targetType, suggestion)) 754ReportDiagnostic(diagnostics, location, ERRID.ERR_VarianceIEnumerableSuggestion3, sourceType, targetType, suggestion) 907ReportDiagnostic(diagnostics, location, ERRID.WRN_ImplicitConversionSubst1, 909ERRID.WRN_VarianceConversionFailedOut6, 910ERRID.WRN_VarianceConversionFailedIn6), 919ERRID.ERR_VarianceConversionFailedOut6, 920ERRID.ERR_VarianceConversionFailedIn6), 953ReportDiagnostic(diagnostics, location, ERRID.WRN_ImplicitConversionSubst1, 955ERRID.WRN_VarianceConversionFailedTryOut4, 956ERRID.WRN_VarianceConversionFailedTryIn4), 963ERRID.ERR_VarianceConversionFailedTryOut4, 964ERRID.ERR_VarianceConversionFailedTryIn4), 1055ReportDiagnostic(diagnostics, argument.Syntax, ERRID.WRN_ConvertingLock) 1147ReportDiagnostic(diagnostics, argumentSyntax, ERRID.WRN_RecursiveOperatorCall, convKind.Value) 1233ReportDiagnostic(diagnostics, addressOfExpression.Syntax, ERRID.ERR_AddressOfNotDelegate1, targetType) 1346ReportDiagnostic(diagnostics, unboundLambda.Syntax, ERRID.ERR_LambdaNotDelegate1, targetType) 1352ReportDiagnostic(diagnostics, unboundLambda.Syntax, ERRID.ERR_LambdaNotDelegate1, targetDelegateType) 1382If(unboundLambda.IsFunctionLambda, ERRID.ERR_LambdaBindingMismatch1, ERRID.ERR_LambdaBindingMismatch2), 1424Dim err As ERRID 1427err = ERRID.ERR_LambdaBindingMismatch1 1429err = ERRID.ERR_LambdaBindingMismatch2 1520ReportDiagnostic(diagnostics, lambda.Syntax, ERRID.ERR_LambdaNotCreatableDelegate1, targetType) 1523ReportDiagnostic(diagnostics, lambda.Syntax, ERRID.ERR_LambdaNotDelegate1, targetType) 1528ReportDiagnostic(diagnostics, lambda.Syntax, ERRID.ERR_LambdaNotDelegate1, targetDelegateType) 1549ReportDiagnostic(diagnostics, lambda.Syntax, ERRID.ERR_LambdaBindingMismatch1, targetDelegateType) 1573ERRID.ERR_RestrictedType1, restrictedType) 1591ReportDiagnostic(diagnostics, location, ERRID.ERR_RestrictedType1, restrictedType) 1731ReportDiagnostic(diagnostics, location, ERRID.WRN_UseValueForXmlExpression3, sourceType, targetType, sourceType) 1733ReportDiagnostic(diagnostics, location, ERRID.WRN_InterfaceConversion2, sourceType, targetType) 1743ReportDiagnostic(diagnostics, syntax, ERRID.WRN_ConvertingLock) 1766ReportDiagnostic(diagnostics, location, ERRID.ERR_ConvertArrayRankMismatch2, sourceType, targetType) 1769ReportDiagnostic(diagnostics, location, ERRID.ERR_TypeMismatch2, sourceType, targetType) 1778ReportDiagnostic(diagnostics, location, ERRID.ERR_ConvertObjectArrayMismatch3, sourceType, targetType, sourceElement) 1783ReportDiagnostic(diagnostics, location, ERRID.ERR_ConvertArrayMismatch4, sourceType, targetType, sourceElement, targetElement) 1786ReportDiagnostic(diagnostics, location, ERRID.ERR_TypeMismatch2, sourceType, targetType) 1791ReportDiagnostic(diagnostics, location, ERRID.ERR_DateToDoubleConversion) 1794ReportDiagnostic(diagnostics, location, ERRID.ERR_DoubleToDateConversion) 1797ReportDiagnostic(diagnostics, location, ERRID.ERR_IntegralToCharTypeMismatch1, sourceType) 1800ReportDiagnostic(diagnostics, location, ERRID.ERR_CharToIntegralTypeMismatch1, targetType) 1803ReportDiagnostic(diagnostics, location, ERRID.ERR_CopyBackTypeMismatch3, 1807ReportDiagnostic(diagnostics, location, ERRID.ERR_TypeMismatchForXml3, sourceType, targetType, sourceType) 1810ReportDiagnostic(diagnostics, location, ERRID.ERR_TypeMismatch2, sourceType, targetType)
Binding\Binder_Delegates.vb (19)
57ReportDiagnostic(diagnostics, addressOfSyntax.Operand, ERRID.ERR_AddressOfOperandNotMethod) 67ReportDiagnostic(diagnostics, addressOfSyntax.Operand, ERRID.ERR_InvalidConstructorCall) 199ERRID.ERR_NoDirectDelegateConstruction1, 232ReportDiagnostic(diagnostics, syntaxTree, ERRID.ERR_AddressOfNotCreatableDelegate1, targetType) 237ReportDiagnostic(diagnostics, syntaxTree, ERRID.ERR_AddressOfNotDelegate1, targetType) 262ReportDiagnostic(diagnostics, syntaxTree, ERRID.ERR_UnsupportedMethod1, targetType) 291ERRID.ERR_MyBaseAbstractCall1, 292ERRID.ERR_MyClassAbstractCall1), 311ERRID.ERR_AddressOfNullableMethod, 348If useSiteInfo.DiagnosticInfo?.Code = ERRID.ERR_UnsupportedMethod1 Then 349useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, delegateType)) 728ERRID.ERR_DelegateBindingMismatchStrictOff2, 735ERRID.ERR_DelegateBindingMismatchStrictOff3, 752ERRID.ERR_DelegateBindingIncompatible2, 759ERRID.ERR_DelegateBindingIncompatible3, 927diagnostics.Add(ERRID.ERR_ParamArrayIllegal1, location, GetDelegateOrEventKeywordText(container)) 934diagnostics.Add(ERRID.ERR_OptionalIllegal1, location, GetDelegateOrEventKeywordText(container)) 1033ReportDiagnostic(diagnostics, addressOfExpression.MethodGroup.Syntax, ERRID.ERR_NoPartialMethodInAddressOf1, target) 1256ReportDiagnostic(diagnostics, syntaxNode, ERRID.WRN_UnobservedAwaitableDelegate)
Binding\Binder_Diagnostics.vb (3)
21id As ERRID) As BoundExpression 30id As ERRID, 52id As ERRID,
Binding\Binder_Expressions.vb (125)
367ReportDiagnostic(diagnostics, nameSyntax, ERRID.ERR_TupleLiteralDisallowsTypeChar) 581Binder.ReportDiagnostic(diagnostics, syntax, ERRID.ERR_TupleReservedElementNameAnyPosition, name) 585Binder.ReportDiagnostic(diagnostics, syntax, ERRID.ERR_TupleReservedElementName, name, reserved) 589Binder.ReportDiagnostic(diagnostics, syntax, ERRID.ERR_TupleDuplicateElementName) 694ReportDiagnostic(diagnostics, node.Type, ErrorFactory.ErrorInfo(ERRID.ERR_VoidArrayDisallowed)) 738ReportDiagnostic(diagnostics, group.TypeArgumentsOpt.Syntax, ERRID.ERR_MethodTypeArgsUnexpected) 788ReportDiagnostic(diagnostics, node.Expression, ERRID.ERR_TypeOfRequiresReferenceType1, operandType) 798ReportDiagnostic(diagnostics, node, ERRID.ERR_TypeOfExprAlwaysFalse2, operandType, targetType) 976ReportDiagnostic(diagnostics, access.Syntax, ERRID.ERR_CannotBeMadeNullable1, resultType) 1002ReportDiagnostic(diagnostics, group.Syntax, ERRID.ERR_InvalidConstructorCall) 1030ReportDiagnostic(diagnostics, expr.Syntax, ERRID.ERR_CannotCallEvent1, DirectCast(expr, BoundEventAccess).EventSymbol) 1034ReportDiagnostic(diagnostics, expr.Syntax, ERRID.ERR_NamespaceNotExpression1, DirectCast(expr, BoundNamespaceExpression).NamespaceSymbol) 1038ReportDiagnostic(diagnostics, expr.Syntax, ERRID.ERR_VoidValue, DirectCast(expr, BoundLabel).Label.Name) 1142ReportDiagnostic(diagnostics, typeExpr.Syntax, ERRID.ERR_CantReferToMyGroupInsideGroupType1, classType) 1207Private Shared Function GetTypeNotExpressionErrorId(type As TypeSymbol) As ERRID 1211Return ERRID.ERR_ClassNotExpression1 1214Return ERRID.ERR_InterfaceNotExpression1 1217Return ERRID.ERR_EnumNotExpression1 1220Return ERRID.ERR_StructureNotExpression1 1225Return ERRID.ERR_TypeNotExpression1 1260ReportDiagnostic(diagnostics, syntax, ERRID.ERR_VoidValue) 1268ReportDiagnostic(diagnostics, syntax, ERRID.ERR_VoidValue) 1276ReportDiagnostic(diagnostics, syntax, ERRID.ERR_NoGetProperty1, CustomSymbolDisplayFormatter.ShortErrorName(propertySymbol)) 1289ReportDiagnostic(diagnostics, syntax, ERRID.ERR_NoAccessibleGet, CustomSymbolDisplayFormatter.ShortErrorName(propertySymbol)) 1303ReportDiagnostic(diagnostics, syntax, ERRID.ERR_VoidValue) 1460ReportDiagnostic(diagnostics, address.MethodGroup.Syntax, ERRID.ERR_NoViableOverloadCandidates1, 1483ReportDiagnostic(diagnostics, expr.Syntax, ERRID.ERR_VoidValue) 1505ReportDiagnostic(diagnostics, arrayLiteral.Syntax, ERRID.ERR_ArrayInitNoType) 1609ReportDiagnostic(diagnostics, arrayLiteral.Syntax, ERRID.ERR_RestrictedType1, targetElementType) 1612ReportDiagnostic(diagnostics, arrayLiteral.Syntax, ERRID.ERR_ArrayInitNoType) 1618ReportDiagnostic(diagnostics, arrayLiteral.Syntax, ERRID.ERR_ArrayInitNoTypeObjectDisallowed) 1620ReportDiagnostic(diagnostics, arrayLiteral.Syntax, ERRID.ERR_ArrayInitTooManyTypesObjectDisallowed) 1624ReportDiagnostic(diagnostics, arrayLiteral.Syntax, ErrorFactory.ErrorInfo(ERRID.WRN_ObjectAssumed1, 1625ErrorFactory.ErrorInfo(ERRID.WRN_ArrayInitNoTypeObjectAssumed))) 1627ReportDiagnostic(diagnostics, arrayLiteral.Syntax, ErrorFactory.ErrorInfo(ERRID.WRN_ObjectAssumed1, 1628ErrorFactory.ErrorInfo(ERRID.WRN_ArrayInitTooManyTypesObjectAssumed))) 1789Dim err As ERRID 1792err = ERRID.ERR_CantAssignToConst 1795err = ERRID.ERR_ReadOnlyAssignment 1798err = ERRID.ERR_LValueRequired 2128ReportDiagnostic(diagnostics, node.FirstExpression, ERRID.ERR_IllegalCondTypeInIIF) 2190ReportDiagnostic(diagnostics, node, ERRID.ERR_IfNoType) 2197ReportDiagnostic(diagnostics, node, ERRID.ERR_IfNoTypeObjectDisallowed) 2201ReportDiagnostic(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.WRN_ObjectAssumed1, ErrorFactory.ErrorInfo(ERRID.WRN_IfNoTypeObjectAssumed))) 2207ReportDiagnostic(diagnostics, node, ERRID.ERR_IfTooManyTypesObjectDisallowed) 2211ReportDiagnostic(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.WRN_ObjectAssumed1, ErrorFactory.ErrorInfo(ERRID.WRN_IfTooManyTypesObjectAssumed))) 2250Private Function CheckMeOrMyBaseOrMyClassInSharedOrDisallowedContext(implicitReference As Boolean, <Out()> ByRef errorId As ERRID) As Boolean 2260errorId = ERRID.ERR_KeywordNotAllowedInScript 2267ERRID.ERR_BadInstanceMemberAccess, 2269ERRID.ERR_UseOfKeywordFromModule1, 2270ERRID.ERR_UseOfKeywordNotInInstanceMethod1)) 2274errorId = If(implicitReference, ERRID.ERR_InvalidImplicitMeReference, ERRID.ERR_InvalidMeReference) 2285Private Function CanAccessMyBase(implicitReference As Boolean, <Out()> ByRef errorId As ERRID) As Boolean 2293errorId = ERRID.ERR_UseOfKeywordFromStructure1 2305Private Function CanAccessMeOrMyClass(implicitReference As Boolean, <Out()> ByRef errorId As ERRID) As Boolean 2314Friend Function CanAccessMe(implicitReference As Boolean, <Out()> ByRef errorId As ERRID) As Boolean 2325Private Function CanAccessMyClass(implicitReference As Boolean, <Out()> ByRef errorId As ERRID) As Boolean 2329errorId = ERRID.ERR_MyClassNotInClass 2337Dim err As ERRID = Nothing 2360Dim err As ERRID = Nothing 2372Dim err As ERRID = Nothing 2511Return ReportDiagnosticAndProduceBadExpression(diagnostics, node, ERRID.ERR_XmlPrefixNotExpression, name) 2526errorInfo = ErrorFactory.ErrorInfo(ERRID.ERR_PlatformDoesntSupport, MissingRuntimeMemberDiagnosticHelper.MyVBNamespace) 2528errorInfo = ErrorFactory.ErrorInfo(If(Me.IsInQuery, ERRID.ERR_QueryNameNotDeclared, ERRID.ERR_NameNotDeclared1), 2646Return ReportDiagnosticAndProduceBadExpression(diagnostics, node, ERRID.ERR_BadWithRef) 2744Dim err As ERRID = Nothing 2816diagnostics, node, ErrorFactory.ErrorInfo(ERRID.ERR_ConstructorNotFound1, leftTypeSymbol), left) 2839diagnostics, node, ErrorFactory.ErrorInfo(ERRID.ERR_ConstructorNotFound1, namedLeftTypeSymbol), left) 2845ReportDiagnostic(diagnostics, node, ERRID.ERR_InvalidConstructorCall) 2898Return ReportDiagnosticAndProduceBadExpression(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.ERR_NameNotMember2, rightName, ns), left) 2905Return ReportDiagnosticAndProduceBadExpression(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.ERR_TypeParamQualifierDisallowed), left) 2917Return ReportDiagnosticAndProduceBadExpression(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.ERR_NameNotMember2, rightName, type), left) 2958Return ReportDiagnosticAndProduceBadExpression(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.ERR_NameNotMember2, rightName, type), left) 3030ReportDiagnostic(diagnostics, node, ERRID.ERR_UseOfLocalBeforeDeclaration1, localSymbol) 3050ReportDiagnostic(diagnostics, node, ERRID.ERR_CircularEvaluation1, localSymbol) 3052ReportDiagnostic(diagnostics, node, ERRID.ERR_CircularInference1, localSymbol) 3251ReportDiagnostic(diagnostics, node, ERRID.ERR_BadResumableAccessReturnVariable) 3271ReportDiagnostic(diagnostics, node, ERRID.WRN_LiftControlVariableQuery, localSymbol.Name) 3273ReportDiagnostic(diagnostics, node, ERRID.WRN_LiftControlVariableLambda, localSymbol.Name) 3546ERRID.ERR_InaccessibleReturnTypeOfMember2, 3589ReportDiagnostic(diagnostics, node, ERRID.ERR_LabelNotDefined1, labelName) 3654ReportDiagnostic(diagnostics, node, ERRID.WRN_SharedMemberThroughInstance) 3678ReportDiagnostic(diagnostics, node, ERRID.ERR_ObjectReferenceNotSupplied) 3683Dim errorId As ERRID = Nothing 3744ReportDiagnosticAndProduceBadExpression(diagnostics, node, ERRID.ERR_BadWithRef), 3839ReportDiagnostic(diagnostics, syntax, ERRID.ERR_NoDefaultNotExtend1, type) 3842ReportDiagnostic(diagnostics, syntax, ERRID.ERR_StructureNoDefault1, type) 3847ReportDiagnostic(diagnostics, syntax, ERRID.ERR_InterfaceNoDefault1, type) 3853ReportDiagnostic(diagnostics, expr.Syntax, ERRID.ERR_QualNotObjectRecord1, expr.Type) 3860ReportDiagnostic(diagnostics, expr.Syntax, ERRID.ERR_DefaultMemberNotProperty1, expr.Type) 3883ReportDiagnostic(diagnostics, nodeOrToken, ERRID.ERR_TypecharNoMatch2, typeCharacterString, type) 3905ReportDiagnostic(diagnostics, name, ERRID.ERR_TypecharNoMatch2, typeCharacterString, type) 3933ReportDiagnostic(diagnostics, node, ERRID.ERR_NamedSubscript) 3939Dim err As ERRID 3941err = ERRID.ERR_TooManyIndices 3943err = ERRID.ERR_TooFewIndices 4267boundExpression = ReportDiagnosticAndProduceBadExpression(diagnostics, expressionSyntax, ERRID.ERR_ArrayInitializerTooManyDimensions) 4286ReportDiagnostic(diagnostics, expr, ERRID.ERR_ArrayInitializerTooFewDimensions) 4300ReportDiagnostic(diagnostics, node, ERRID.ERR_ArrayInitializerForNonConstDim) 4304ReportDiagnostic(diagnostics, node, ERRID.ERR_InitializerTooManyElements1, initializers.Count - curSize.Size) 4308ReportDiagnostic(diagnostics, node, ERRID.ERR_InitializerTooFewElements1, curSize.Size - initializers.Count) 4325ReportDiagnostic(diagnostics, rangeArgument.LowerBound, ERRID.ERR_OnlyNullLowerBound) 4371ReportDiagnostic(diagnostics, argumentSyntax, ERRID.ERR_NamedSubscript) 4383ReportDiagnostic(diagnostics, argumentSyntax, ERRID.ERR_MissingSubscript) 4410ReportDiagnostic(diagnostics, argumentSyntax, ERRID.ERR_NegativeArraySize) 4643ReportDiagnostic(diagnostics, node.AwaitKeyword, ERRID.ERR_BadAsyncInQuery) 4669ReportDiagnostic(diagnostics, operand.Syntax, ERRID.ERR_CantAwaitAsyncSub1, method.Name) 4677ReportDiagnostic(diagnostics, node, ERRID.ERR_BadAwaitNothing) 4682ReportDiagnostic(diagnostics, node, ERRID.ERR_StrictDisallowsLateBinding) 4685ReportDiagnostic(diagnostics, node, ERRID.WRN_LateBindingResolution) 4886ReportDiagnostic(diagnostics, node, ERRID.ERR_DoesntImplementAwaitInterface2, getAwaiter.Type, notifyCompletion) 4898ReportDiagnostic(diagnostics, node, ERRID.ERR_BadGetAwaiterMethod1, operand.Type) 4906ReportDiagnostic(diagnostics, node, ERRID.ERR_BadIsCompletedOnCompletedGetResult2, getAwaiter.Type, operand.Type) 4942Case ERRID.ERR_UseOfObsoletePropertyAccessor2, 4943ERRID.ERR_UseOfObsoletePropertyAccessor3, 4944ERRID.ERR_UseOfObsoleteSymbolNoMessage1, 4945ERRID.ERR_UseOfObsoleteSymbol2 4959Return ErrorFactory.ErrorInfo(ERRID.ERR_BadAwaitInNonAsyncLambda) 4964Return ErrorFactory.ErrorInfo(ERRID.ERR_BadAwaitInNonAsyncVoidMethod) 4966Return ErrorFactory.ErrorInfo(ERRID.ERR_BadAwaitInNonAsyncMethod, method.ReturnType) 4970Return ErrorFactory.ErrorInfo(ERRID.ERR_BadAwaitNotInAsyncMethodOrLambda)
Binding\Binder_Imports.vb (9)
92ERRID.ERR_InvalidTypeForAliasesImport2, 104Binder.ReportDiagnostic(diagBag, aliasIdentifier, ERRID.ERR_DuplicateNamedImportAlias1, aliasText) 114ERRID.ERR_ImportAliasConflictsWithType2, 153useSiteErrorInfo.Code <> ERRID.ERR_CannotUseGenericTypeAcrossAssemblyBoundaries AndAlso 154useSiteErrorInfo.Code <> ERRID.ERR_CannotUseGenericBaseTypeAcrossAssemblyBoundaries 175ERRID.ERR_NonNamespaceOrClassOnImport2, 186Binder.ReportDiagnostic(diagBag, importsName, ERRID.ERR_DuplicateImport1, importedSymbol) 200Binder.ReportDiagnostic(diagBag, importsName, ERRID.ERR_DuplicateRawGenericTypeImport1, namedType) 237Binder.ReportDiagnostic(diagBag, syntax, ERRID.ERR_DuplicatePrefix, prefix)
Binding\Binder_Initializers.vb (4)
181ReportDiagnostic(diagnostics, identifier, ERRID.ERR_NullableTypeInferenceNotSupported) 299ReportDiagnostic(diagnostics, name, ERRID.ERR_AsNewArray) 602ReportDiagnostic(diagnostics, name, ERRID.ERR_CircularEvaluation1, symbol) 635ReportDiagnostic(diagnostics, name, ERRID.ERR_ConstantWithNoValue)
Binding\Binder_InterpolatedString.vb (4)
55ReportDiagnostic(diagnostics, syntax.AlignmentClause.Value, ERRID.ERR_InterpolationAlignmentOutOfRange) 59ReportDiagnostic(diagnostics, syntax.AlignmentClause.Value, ERRID.ERR_InterpolationAlignmentOutOfRange) 63ReportDiagnostic(diagnostics, syntax.AlignmentClause.Value, ERRID.ERR_ExpectedIntLiteral) 240ReportDiagnostic(diagnostics, node.Syntax, ErrorFactory.ErrorInfo(ERRID.ERR_InterpolatedStringFactoryError, factoryType.Name, factoryMethodName))
Binding\Binder_Invocation.vb (107)
130ReportDiagnostic(diagnostics, group.Syntax, ERRID.ERR_InvalidConstructorCall) 173target = ReportDiagnosticAndProduceBadExpression(diagnostics, node, ERRID.ERR_Syntax).MakeCompilerGenerated() 206Dim diagInfo = ErrorFactory.ErrorInfo(ERRID.ERR_NamespaceNotExpression1, namespaceExp.NamespaceSymbol) 296ReportDiagnostic(diagnostics, target.Syntax, ERRID.ERR_DelegateNoInvoke1, target.Type) 382Dim diagInfo = ErrorFactory.ErrorInfo(ERRID.ERR_ExpectedProcedure) 473ERRID.ERR_FunctionResultCannotBeIndexed1, 779ReportDiagnostic(diagnostics, GetLocationForOverloadResolutionDiagnostic(node, group), ERRID.ERR_ExtensionMethodCannotBeLateBound) 877ERRID.ERR_MyBaseAbstractCall1, 878ERRID.ERR_MyClassAbstractCall1), 892ReportDiagnostic(diagnostics, errorLocation, ERRID.WRN_AsyncSubCouldBeFunction) 908ReportDiagnostic(diagnostics, target, ERRID.WRN_RecursiveOperatorCall, method) 1006ReportDiagnostic(diagnostics, propertyAccess.Syntax, ERRID.WRN_RecursivePropertyCall, [property]) 1113ReportDiagnostic(diagnostics, syntax, ERRID.ERR_CannotConvertValue2, argumentValue, method.ReturnType) 1127ReportDiagnostic(diagnostics, syntax, ERRID.ERR_CannotConvertValue2, argumentValue, method.ReturnType) 1153ReportDiagnostic(diagnostics, syntax, ERRID.ERR_CannotConvertValue2, argumentValue, method.ReturnType) 1176ReportDiagnostic(diagnostics, syntax, ERRID.ERR_CannotConvertValue2, argumentValue, method.ReturnType) 1396ReportDiagnostic(diagnostics, If(groupOpt IsNot Nothing, groupOpt.Syntax, node), ERRID.ERR_NoViableOverloadCandidates1, bestSymbols(0).Name) 1430ERRID.ERR_BadOverloadCandidates2, 1443ReportDiagnostic(diagnostics, diagnosticLocationOpt, ERRID.ERR_MetadataMembersAmbiguous3, candidate.Name, container.GetKindText(), container) 1462If(singleCandidate.Arity = 0, ERRID.ERR_TypeOrMemberNotGeneric2, ERRID.ERR_TooManyGenericArguments2), 1466If(singleCandidate.Arity = 0, ERRID.ERR_TypeOrMemberNotGeneric1, ERRID.ERR_TooManyGenericArguments1), 1474ERRID.ERR_TooFewGenericArguments2, 1478ERRID.ERR_TooFewGenericArguments1, singleSymbol) 1482ReportDiagnostic(diagnostics, diagnosticLocationOpt, ERRID.ERR_NoTypeArgumentCountOverloadCand1, CustomSymbolDisplayFormatter.ShortErrorName(bestSymbols(0))) 1498ERRID.ERR_ParameterizedPropertyInAggrInit1, 1499ERRID.ERR_NoZeroCountArgumentInitCandidates1), 1517ReportDiagnostic(diagnostics, diagnosticLocationOpt, ERRID.ERR_NoArgumentCountOverloadCandidates1, CustomSymbolDisplayFormatter.ShortErrorName(bestSymbols(0))) 1552ERRID.ERR_NoCallableOverloadCandidates2, 1553ERRID.ERR_DelegateBindingFailure3), 1581ERRID.ERR_NoCallableOverloadCandidates2, 1602ERRID.ERR_NoNonNarrowingOverloadCandidates2, 1603ERRID.ERR_DelegateBindingFailure3), 1770Dim notMostSpecificMessage = ErrorFactory.ErrorInfo(ERRID.ERR_NotMostSpecificOverload) 1799diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ExtensionMethodOverloadCandidate2, bestSymbol, bestSymbol.ContainingType)) 1801diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadCandidate1, CustomSymbolDisplayFormatter.WithContainingType(bestSymbol))) 1803diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadCandidate1, bestSymbol)) 1807diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ExtensionMethodOverloadCandidate3, bestSymbol, bestSymbol.ContainingType, notMostSpecificMessage)) 1809diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadCandidate2, CustomSymbolDisplayFormatter.WithContainingType(bestSymbol), notMostSpecificMessage)) 1811diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadCandidate2, bestSymbol, notMostSpecificMessage)) 1817ErrorFactory.ErrorInfo(If(isDelegateContext, ERRID.ERR_AmbiguousDelegateBinding2, ERRID.ERR_NoMostSpecificOverload2), 1827errorNo As ERRID, 1864errorNo = If(delegateSymbol Is Nothing, ERRID.ERR_NoNonNarrowingOverloadCandidates2, ERRID.ERR_DelegateBindingFailure3), 1896diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ExtensionMethodOverloadCandidate3, 1902diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadCandidate2, symbol, DirectCast(iDiagnostic, DiagnosticWithInfo).Info)) 1907diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ExtensionMethodOverloadCandidate3, 1909ErrorFactory.ErrorInfo(ERRID.ERR_DelegateBindingMismatch, symbol))) 1911diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadCandidate2, 1913ErrorFactory.ErrorInfo(ERRID.ERR_DelegateBindingMismatch, symbol))) 2063ReportDiagnostic(diagnostics, arguments(i).Syntax, ERRID.ERR_TooManyArgs) 2066ERRID.ERR_TooManyArgs2, 2070ERRID.ERR_TooManyArgs1, If(representCandidateInDiagnosticsOpt, candidateSymbol)) 2088ReportDiagnostic(diagnostics, arguments(i).Syntax, ERRID.ERR_OmittedParamArrayArgument) 2123ERRID.ERR_BadNonTrailingNamedArgument, argumentNames(seenOutOfPositionNamedArgIndex)) 2132ReportDiagnostic(diagnostics, GetNamedArgumentIdentifier(arguments(i).Syntax), ERRID.ERR_NamedParamNotFound1, argumentNames(i)) 2135ERRID.ERR_NamedParamNotFound3, argumentNames(i), 2139ERRID.ERR_NamedParamNotFound2, argumentNames(i), If(representCandidateInDiagnosticsOpt, candidateSymbol)) 2149ReportDiagnostic(diagnostics, GetNamedArgumentIdentifier(arguments(i).Syntax), ERRID.ERR_NamedParamArrayArgument) 2159ReportDiagnostic(diagnostics, GetNamedArgumentIdentifier(arguments(i).Syntax), ERRID.ERR_NamedArgUsedTwice1, argumentNames(i)) 2162ERRID.ERR_NamedArgUsedTwice3, argumentNames(i), 2166ERRID.ERR_NamedArgUsedTwice2, argumentNames(i), If(representCandidateInDiagnosticsOpt, candidateSymbol)) 2180ReportDiagnostic(diagnostics, GetNamedArgumentIdentifier(arguments(i).Syntax), ERRID.ERR_NamedArgAlsoOmitted1, argumentNames(i)) 2183ERRID.ERR_NamedArgAlsoOmitted3, argumentNames(i), 2187ERRID.ERR_NamedArgAlsoOmitted2, argumentNames(i), If(representCandidateInDiagnosticsOpt, candidateSymbol)) 2203ReportDiagnostic(diagnostics, diagnosticLocation, ERRID.ERR_DelegateBindingTypeInferenceFails) 2214ReportDiagnostic(diagnostics, diagnosticLocation, ERRID.ERR_UnboundTypeParam1, candidate.TypeParameters(i)) 2217ERRID.ERR_UnboundTypeParam3, candidate.TypeParameters(i), 2221ERRID.ERR_UnboundTypeParam2, candidate.TypeParameters(i), If(representCandidateInDiagnosticsOpt, candidateSymbol)) 2237ReportDiagnostic(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicitAmbiguous1, ERRID.ERR_TypeInferenceFailureAmbiguous1)) 2239ReportDiagnostic(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicitAmbiguous3, ERRID.ERR_TypeInferenceFailureAmbiguous3), candidateSymbol, candidateSymbol.ContainingType) 2241ReportDiagnostic(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicitAmbiguous2, ERRID.ERR_TypeInferenceFailureAmbiguous2), If(representCandidateInDiagnosticsOpt, candidateSymbol)) 2245ReportDiagnostic(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicitNoBest1, ERRID.ERR_TypeInferenceFailureNoBest1)) 2247ReportDiagnostic(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicitNoBest3, ERRID.ERR_TypeInferenceFailureNoBest3), candidateSymbol, candidateSymbol.ContainingType) 2249ReportDiagnostic(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicitNoBest2, ERRID.ERR_TypeInferenceFailureNoBest2), If(representCandidateInDiagnosticsOpt, candidateSymbol)) 2258ReportDiagnostic(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicit1, ERRID.ERR_TypeInferenceFailure1)) 2260ReportDiagnostic(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicit3, ERRID.ERR_TypeInferenceFailure3), candidateSymbol, candidateSymbol.ContainingType) 2262ReportDiagnostic(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicit2, ERRID.ERR_TypeInferenceFailure2), If(representCandidateInDiagnosticsOpt, candidateSymbol)) 2306ReportDiagnostic(diagnostics, diagnosticLocation, ERRID.ERR_ParamArrayWrongType) 2342ReportDiagnostic(diagnostics, diagnosticLocation, ERRID.ERR_OmittedArgument1, CustomSymbolDisplayFormatter.ShortErrorName(param)) 2345ERRID.ERR_OmittedArgument3, CustomSymbolDisplayFormatter.ShortErrorName(param), 2349ERRID.ERR_OmittedArgument2, CustomSymbolDisplayFormatter.ShortErrorName(param), 2354ReportDiagnostic(diagnostics, diagnosticLocation, ERRID.ERR_TooManyArgs) 2357ERRID.ERR_TooManyArgs2, candidateSymbol, candidateSymbol.ContainingType) 2360ERRID.ERR_TooManyArgs1, If(representCandidateInDiagnosticsOpt, candidateSymbol)) 2380ReportDiagnostic(diagnostics, diagnosticLocation, ERRID.ERR_ParamArrayWrongType) 2394ReportDiagnostic(diagnostics, paramArrayArgument.Syntax, ERRID.ERR_ParamArrayArgumentMismatch) 2423ReportDiagnostic(diagnostics, diagnosticLocation, ERRID.ERR_OmittedArgument1, CustomSymbolDisplayFormatter.ShortErrorName(param)) 2426ERRID.ERR_OmittedArgument3, CustomSymbolDisplayFormatter.ShortErrorName(param), 2430ERRID.ERR_OmittedArgument2, CustomSymbolDisplayFormatter.ShortErrorName(param), If(representCandidateInDiagnosticsOpt, candidateSymbol)) 2508ReportDiagnostic(diagnostics, argument.Syntax, ERRID.ERR_ArgumentCopyBackNarrowing3, 2525ReportDiagnostic(diagnostics, argument.Syntax, ERRID.ERR_ReadOnlyInClosure) 2596Dim err As ERRID = ERRID.ERR_ArgumentNarrowing3 2603err = ERRID.ERR_NestedFunctionArgumentNarrowing3 2610ReportDiagnostic(diagnostics, argument.Syntax, ERRID.ERR_ArgumentNarrowing2,
Binding\Binder_Lambda.vb (27)
24Dim modifiers As SourceMemberFlags = DecodeModifiers(node.SubOrFunctionHeader.Modifiers, asyncIterator, ERRID.ERR_InvalidLambdaModifier, Accessibility.Public, If(diagnostics.DiagnosticBag, New DiagnosticBag())).FoundFlags And asyncIterator 27ReportModifierError(node.SubOrFunctionHeader.Modifiers, ERRID.ERR_InvalidAsyncIteratorModifiers, diagnostics.DiagnosticBag, InvalidAsyncIterator) 47ReportDiagnostic(diagnostics, node.SubOrFunctionHeader.AsClause.Type, ERRID.ERR_RestrictedType1, returnType) 56ReportDiagnostic(diagnostics, node.SubOrFunctionHeader.AsClause.Type, ERRID.ERR_BadAsyncReturn) 65ReportDiagnostic(diagnostics, node.SubOrFunctionHeader.AsClause.Type, ERRID.ERR_BadIteratorReturn) 76ReportDiagnostic(diagnostics, node.SubOrFunctionHeader.DeclarationKeyword, ERRID.ERR_BadIteratorReturn) 108ReportDiagnostic(diagnostics, unboundParam.IdentifierSyntax, ERRID.ERR_RestrictedResumableType1, unboundType) 182ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_BadAsyncReturn) 190ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_BadIteratorReturn) 272ERRID.ERR_RestrictedType1, restrictedType) 290ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_RestrictedType1, restrictedType) 487ReportDiagnostic(diagnostics, statement, ERRID.ERR_SubDisallowsStatement) 569ERRID.WRN_AsyncLacksAwaits) 639ReportDiagnostic(_diagnostics, node.Syntax, ERRID.ERR_BadAwaitInTryHandler) 653ReportDiagnostic(diagnostics, unboundParam.IdentifierSyntax, ERRID.ERR_StrictDisallowImplicitObjectLambda) 655ReportDiagnostic(diagnostics, unboundParam.IdentifierSyntax, ERRID.WRN_ObjectAssumedVar1, ErrorFactory.ErrorInfo(ERRID.WRN_MissingAsClauseinVarDecl)) 805ReportDiagnostic(diagnostics, sourceParameter.TypeSyntax, ERRID.ERR_RestrictedType1, parameters(i).Type) 949ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_RestrictedType1, restrictedType) 960ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_LambdaNoType) 964ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_RestrictedType1, restrictedType) 970ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_LambdaNoTypeObjectDisallowed) 974ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_LambdaTooManyTypesObjectDisallowed) 980ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.WRN_ObjectAssumed1, ErrorFactory.ErrorInfo(ERRID.WRN_LambdaNoTypeObjectAssumed)) 984ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.WRN_ObjectAssumed1, ErrorFactory.ErrorInfo(ERRID.WRN_LambdaTooManyTypesObjectAssumed))
Binding\Binder_Latebound.vb (7)
42ReportDiagnostic(diagnostics, node, ERRID.ERR_StrictDisallowsLateBinding) 57ReportDiagnostic(diagnostics, node, ERRID.WRN_LateBindingResolution) 116ReportDiagnostic(diagnostics, GetLocationForOverloadResolutionDiagnostic(node, group), ERRID.ERR_LateBoundOverloadInterfaceCall1, memberName) 138ReportDiagnostic(diagnostics, node, ERRID.ERR_IllegalCallOrIndex) 147ReportDiagnostic(diagnostics, GetLocationForOverloadResolutionDiagnostic(node, groupOpt), ERRID.ERR_StrictDisallowsLateBinding) 161ReportDiagnostic(diagnostics, GetLocationForOverloadResolutionDiagnostic(node, groupOpt), ERRID.WRN_LateBindingResolution) 251ReportDiagnostic(diagnostics, arguments(i).Syntax, ERRID.ERR_NamedArgumentSpecificationBeforeFixedArgumentInLateboundInvocation)
Binding\Binder_Lookup.vb (10)
254ERRID.ERR_InaccessibleMember3, 260ERRID.ERR_InaccessibleSymbol2, 307Private Shared Function WrongArityErrid(actualArity As Integer, arity As Integer) As ERRID 310Return ERRID.ERR_TypeOrMemberNotGeneric1 312Return ERRID.ERR_TooManyGenericArguments1 316Return ERRID.ERR_TooFewGenericArguments1 560Return New AmbiguousSymbolDiagnostic(ERRID.ERR_AmbiguousInModules2, syms, name, deferredFormattedList) 1135Return New AmbiguousSymbolDiagnostic(ERRID.ERR_DefaultPropertyAmbiguousAcrossInterfaces4, symbols, symbolA, containingSymbolA, symbolB, containingSymbolB) 1274Dim useSiteError = ErrorFactory.ErrorInfo(ERRID.ERR_XmlFeaturesNotAvailable) 1567ERRID.ERR_AmbiguousAcrossInterfaces3,
Binding\Binder_ObjectInitializer.vb (21)
66diagnostics.Add(ERRID.ERR_NewWithTupleTypeSyntax, type.Location) 213ReportDiagnostic(diagnostics, node, ERRID.ERR_NewOnAbstractClass) 231diagInfo = ErrorFactory.ErrorInfo(ERRID.ERR_CoClassMissing2, coClass, type0) 237diagInfo = ErrorFactory.ErrorInfo(ERRID.ERR_InvalidCoClass1, coClass) 252diagInfo = ErrorFactory.ErrorInfo(ERRID.ERR_InvalidCoClass1, coClass) 263diagInfo = New BadSymbolDiagnostic(coClass, ERRID.ERR_InAccessibleCoClass3, coClass, type0, coClass.DeclaredAccessibility.ToDiagnosticString()) 275diagInfo = ErrorFactory.ErrorInfo(ERRID.ERR_InvalidCoClass1, coClass) 287diagInfo = ErrorFactory.ErrorInfo(ERRID.ERR_NewIfNullOnNonClass) 309ReportDiagnostic(diagnostics, typeNode, ERRID.ERR_NewIfNullOnGenericParam) 314ReportDiagnostic(diagnostics, GetLocation(span), ERRID.ERR_NewArgsDisallowedForTypeParam) 379ReportDiagnostic(diagnostics, If(typeNode.IsKind(SyntaxKind.QualifiedName), DirectCast(typeNode, QualifiedNameSyntax).Right, typeNode), ErrorFactory.ErrorInfo(ERRID.ERR_NoViableOverloadCandidates1, "New")) 576diagnostics.Add(ERRID.ERR_RequiredMemberMustBeSet, creationSyntax.Location, kvp.Value) 594ReportDiagnostic(diagnostics, node, ERRID.ERR_NoPIAAttributeMissing2, coClass, AttributeDescription.GuidAttribute.FullName) 602ReportDiagnostic(diagnostics, node, ERRID.ERR_NoArgumentCountOverloadCandidates1, "New") 679ReportDiagnostic(diagnostics, memberInitializerSyntax, ErrorFactory.ErrorInfo(ERRID.ERR_AggrInitInvalidForObject)) 769ErrorFactory.ErrorInfo(ERRID.ERR_SharedMemberAggrMemberInit1, identifierName)) 776ErrorFactory.ErrorInfo(ERRID.ERR_DuplicateAggrMemberInit1, identifierName)) 787ErrorFactory.ErrorInfo(ERRID.ERR_NonFieldPropertyAggrMemberInit1, identifierName)) 884ErrorFactory.ErrorInfo(ERRID.ERR_NotACollection1, collectionType.Name)) 916ErrorFactory.ErrorInfo(ERRID.ERR_NoAddMethod1, collectionType)) 965ReportDiagnostic(diagnostics, topLevelInitializer, ErrorFactory.ErrorInfo(ERRID.ERR_EmptyAggregateInitializer))
Binding\Binder_Operators.vb (29)
65If code <> ERRID.WRN_ConvertingLock Then 118If([isNot], ERRID.ERR_IsNotOperatorNullable1, ERRID.ERR_IsOperatorNullable1), 127If([isNot], ERRID.ERR_IsNotOperatorGenericParam1, ERRID.ERR_IsOperatorGenericParam1), 140If([isNot], ERRID.ERR_IsNotOpRequiresReferenceTypes1, ERRID.ERR_IsOperatorRequiresReferenceTypes1), 385ERRID.WRN_EqualToLiteralNothing, ERRID.WRN_NotEqualToLiteralNothing))) 434Dim errorId = If(isSelectCase, ERRID.WRN_ObjectMathSelectCase, 435If(preliminaryOperatorKind = BinaryOperatorKind.Equals, ERRID.WRN_ObjectMath1, 436If(preliminaryOperatorKind = BinaryOperatorKind.NotEquals, ERRID.WRN_ObjectMath1Not, ERRID.WRN_ObjectMath2))) 535ReportDiagnostic(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.ERR_ZeroDivide)) 538ReportDiagnostic(diagnostics, right.Syntax, ErrorFactory.ErrorInfo(ERRID.ERR_ConstantStringTooLong)) 541ReportDiagnostic(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.ERR_ExpressionOverflow1, operatorResultType)) 689ReportDiagnostic(diagnostics, node, ERRID.ERR_UnacceptableLogicalOperator3, 720ReportDiagnostic(diagnostics, node, ERRID.ERR_ConditionOperatorRequired3, 736ReportDiagnostic(diagnostics, node, ERRID.ERR_BinaryOperands3, 804ERRID.ERR_StrictDisallowsObjectComparison1, ERRID.ERR_StrictDisallowsObjectOperand1), 983ReportDiagnostic(diagnostics, syntax, ERRID.ERR_ReferenceComparison3, operatorTokenText, leftType, rightType) 986ReportDiagnostic(diagnostics, syntax, ERRID.ERR_BinaryOperandsForXml4, operatorTokenText, leftType, rightType, leftType) 989ReportDiagnostic(diagnostics, syntax, ERRID.ERR_BinaryOperandsForXml4, operatorTokenText, leftType, rightType, rightType) 992ReportDiagnostic(diagnostics, syntax, ERRID.ERR_BinaryOperands3, operatorTokenText, leftType, rightType) 1209ReportDiagnostic(diagnostics, node.Operand, ErrorFactory.ErrorInfo(ERRID.ERR_StrictDisallowsObjectOperand1, node.OperatorToken)) 1211ReportDiagnostic(diagnostics, node.Operand, ErrorFactory.ErrorInfo(ERRID.WRN_ObjectMath2, node.OperatorToken)) 1225ReportDiagnostic(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.ERR_ExpressionOverflow1, resultType)) 1286ReportDiagnostic(diagnostics, syntax, ErrorFactory.ErrorInfo(ERRID.ERR_UnaryOperand2, syntax.OperatorToken, operand.Type))
Binding\Binder_Query.vb (18)
1961ReportDiagnostic(diagnostics, Location.Create(groupBy.SyntaxTree, GetGroupByOperatorNameSpan(groupBy)), ERRID.ERR_QueryOperatorNotFound, StringConstants.GroupByMethod) 2000ReportDiagnostic(diagnostics, Location.Create(groupBy.SyntaxTree, GetGroupByOperatorNameSpan(groupBy)), ERRID.ERR_QueryOperatorNotFound, StringConstants.GroupByMethod) 2041ERRID.ERR_QueryOperatorNotFound, StringConstants.GroupJoinMethod) 2077ERRID.ERR_QueryOperatorNotFound, StringConstants.GroupJoinMethod) 2159ReportDiagnostic(diagnostics, identifier, ERRID.ERR_QueryAnonymousTypeDisallowsTypeChar) 2163ReportDiagnostic(diagnostics, identifier, ERRID.ERR_QueryInvalidControlVariableName1) 2840ReportDiagnostic(diagnostics, variableName.Identifier.Nullable, ERRID.ERR_NullableTypeInferenceNotSupported) 2852ReportDiagnostic(diagnostics, failedToInferFromXmlName.LocalName, ERRID.ERR_QueryAnonTypeFieldXMLNameInference) 2854ReportDiagnostic(diagnostics, item.Expression, ERRID.ERR_QueryAnonymousTypeFieldNameInference) 2896ReportDiagnostic(diagnostics, rangeVarNameSyntax, ERRID.ERR_QueryDuplicateAnonTypeMemberName1, rangeVarName) 3511ReportDiagnostic(diagnostics, joinCondition, ERRID.ERR_EqualsTypeMismatch, outerKey.Type, innerKey.Type) 3553Dim errorInfo = ErrorFactory.ErrorInfo(ERRID.ERR_EqualsOperandIsBad, outerNames, innerNames) 3909ReportDiagnostic(diagnostics, functionAggregationSyntax.FunctionName, ERRID.ERR_TypeCharOnAggregation) 4073ReportDiagnostic(diagnostics, rangeVarNameSyntax, ERRID.ERR_QueryDuplicateAnonTypeMemberName1, rangeVarName) 4138ReportDiagnostic(diagnostics, syntax.Expression, ERRID.ERR_ExpectedQueryableSource, source.Type) 4159ReportDiagnostic(diagnostics, syntax.Identifier.Nullable, ERRID.ERR_NullableTypeInferenceNotSupported) 4207ReportDiagnostic(diagnostics, syntax.Identifier.Identifier, ERRID.ERR_QueryDuplicateAnonTypeMemberName1, rangeVarName) 4716ReportDiagnostic(diagnostics, Location.Create(node.SyntaxTree, operatorNameLocation), ERRID.ERR_QueryOperatorNotFound, operatorName)
Binding\Binder_SelectCase.vb (4)
69Dim errorId As ERRID = Nothing 78errorId = ERRID.ERR_AddressOfInSelectCaseExpr 82errorId = ERRID.ERR_LambdaInSelectCaseExpr 677ReportDiagnostic(diagnostics, rangeCaseClause.Syntax, ERRID.WRN_SelectCaseInvalidRange)
Binding\Binder_Statements.vb (133)
338ReportDiagnostic(diagnostics, DirectCast(methodBlock.BlockStatement, MethodStatementSyntax).Identifier, ERRID.WRN_AsyncLacksAwaits) 509Binder.ReportDiagnostic(diagnostics, node.Syntax, ERRID.ERR_TryAndOnErrorDoNotMix) 559ERRID.ERR_OnErrorInUsing, 560ERRID.ERR_OnErrorInSyncLock)) 608ReportDiagnostic(_diagnostics, node.Syntax, ERRID.ERR_BadAwaitInTryHandler) 689ReportDiagnostic(diagnostics, local.IdentifierToken, ERRID.ERR_DuplicateLocalStatic1, local.Name) 751ReportDiagnostic(diagnostics, redimOperand.Expression, ERRID.ERR_ExpectedArray1, "Redim") 760ReportDiagnostic(diagnostics, redimOperand, ERRID.ERR_RedimNoSizes) 766ReportDiagnostic(diagnostics, redimOperand, ERRID.ERR_RedimRankMismatch) 776ReportDiagnostic(diagnostics, redimOperand, ERRID.ERR_ArrayRankLimit) 812ReportDiagnostic(diagnostics, operand, ERRID.ERR_ExpectedArray1, "Erase") 860Dim errorID = ERRID.ERR_None 873errorID = ERRID.ERR_GotoIntoTryHandler 876errorID = ERRID.ERR_GotoIntoUsing 879errorID = ERRID.ERR_GotoIntoSyncLock 882errorID = ERRID.ERR_GotoIntoWith 886errorID = ERRID.ERR_GotoIntoFor 889If errorID <> ERRID.ERR_None Then 943ReportDiagnostic(diagnostics, labelToken, ERRID.ERR_MultiplyDefined1, labelName) 973ReportDiagnostic(diagBag, keywordSyntax, ERRID.ERR_BadLocalDimFlags1, keywordSyntax.ToString()) 975ReportDiagnostic(diagBag, keywordSyntax, ERRID.ERR_DuplicateSpecifier) 993ReportDiagnostic(diagBag, firstDim, ERRID.ERR_BadLocalConstFlags1, firstDim.ToString()) 995ReportDiagnostic(diagBag, firstStatic, ERRID.ERR_BadLocalConstFlags1, firstStatic.ToString()) 1003ReportDiagnostic(diagBag, firstStatic, ERRID.ERR_BadStaticLocalInStruct) 1005ReportDiagnostic(diagBag, firstStatic, ERRID.ERR_StaticInLambda) 1007ReportDiagnostic(diagBag, firstStatic, ERRID.ERR_BadStaticLocalInGenericMethod) 1039ReportDiagnostic(diagnostics, varDecl, ERRID.ERR_InitWithMultipleDeclarators) 1160ReportDiagnostic(diagnostics, errSyntax, ERRID.ERR_RestrictedType1, restrictedType) 1165ReportDiagnostic(diagnostics, errSyntax, ERRID.ERR_RestrictedType1, type) 1168ReportDiagnostic(diagnostics, name, ERRID.ERR_BadStaticInitializerInResumable) 1173ReportDiagnostic(diagnostics, errSyntax, ERRID.ERR_CannotLiftRestrictedTypeResumable1, type) 1203ReportDiagnostic(diagnostics, asNew.NewExpression.NewKeyword, ERRID.ERR_BadLocalConstFlags1, asNew.NewExpression.NewKeyword.ToString()) 1238ReportDiagnostic(diagnostics, asNew.NewExpression.NewKeyword, ERRID.ERR_AsNewArray) 1255ReportDiagnostic(diagnostics, name, ERRID.ERR_InitWithExplicitArraySizes) 1270ReportDiagnostic(diagnostics, errSyntax, ERRID.ERR_ConstAsNonConstant) 1446ReportDiagnostic(diagnostics, modifiedIdentifierOpt, ERRID.ERR_NullableTypeInferenceNotSupported) 1515ReportDiagnostic(diagnostics, identifierName, ERRID.ERR_NoSuitableWidestType1, identifierName.Identifier.ValueText) 1519ReportDiagnostic(diagnostics, identifierName, ERRID.ERR_AmbiguousWidestType3, identifierName.Identifier.ValueText) 1626ReportDiagnostic(diagnostics, identifier, ERRID.ERR_CannotInferNullableForVariable1, name.Identifier.ToString()) 1631ReportDiagnostic(diagnostics, identifier, ERRID.ERR_InferringNonArrayType1, valueType) 1639ReportDiagnostic(diagnostics, identifier, ERRID.ERR_CannotInferNullableForVariable1, identifier.ToString()) 1679ReportDiagnostic(diagnostics, identifier, ERRID.ERR_CannotInferNullableForVariable1, identifier.ToString()) 1688ReportDiagnostic(diagnostics, name, ERRID.ERR_TypeInferenceArrayRankMismatch1, name.Identifier.ToString()) 1774ReportDiagnostic(diagnostics, nameSyntax, ERRID.ERR_LocalSameAsFunc) 1791ReportDiagnostic(diagnostics, nameSyntax, ERRID.ERR_DuplicateLocals1, name) 1837Dim err As ERRID 1857err = ERRID.ERR_LambdaParamShadowLocal1 1859err = ERRID.ERR_BlockLocalShadowing1 1861err = ERRID.ERR_IterationVariableShadowLocal2 1863err = ERRID.ERR_IterationVariableShadowLocal1 1871err = ERRID.ERR_LambdaParamShadowLocal1 1874err = ERRID.ERR_LocalNamedSameAsParamInLambda1 1876err = ERRID.ERR_LocalNamedSameAsParam1 1879err = ERRID.ERR_IterationVariableShadowLocal2 1881err = ERRID.ERR_IterationVariableShadowLocal1 1895ReportDiagnostic(diagnostics, nameSyntax, ERRID.ERR_NameSameAsMethodTypeParam1, name) 1909err = ERRID.ERR_LambdaParamShadowLocal1 1911err = ERRID.ERR_BlockLocalShadowing1 1913err = ERRID.ERR_IterationVariableShadowLocal2 1948ReportDiagnostic(diagnostics, node, ERRID.ERR_NoSetProperty1, CustomSymbolDisplayFormatter.ShortErrorName(propertySymbol)) 1951ReportDiagnostic(diagnostics, node, ERRID.ERR_AssignmentInitOnly, CustomSymbolDisplayFormatter.ShortErrorName(propertySymbol)) 1980ReportDiagnostic(diagnostics, node, ERRID.ERR_NoAccessibleSet, CustomSymbolDisplayFormatter.ShortErrorName(propertySymbol)) 2284ReportDiagnostic(diagnostics, node.DelegateExpression, ERRID.WRN_LambdaPassedToRemoveHandler) 2297ReportDiagnostic(diagnostics, node.EventExpression, ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedEvent1, eventSymbol)) 2313ReportDiagnostic(diagnostics, addrOffExpr.Operand, ERRID.WRN_RelDelegatePassedToRemoveHandler) 2324ERRID.WRN_RecursiveAddHandlerCall, 2332ReportDiagnostic(diagnostics, node.EventExpression, ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedEvent1, eventSymbol)) 2376ReportDiagnostic(diagnostics, node.EventExpression, ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, method)) 2410ReportDiagnostic(diagnostics, notQualifiedSyntax, ERRID.ERR_AddOrRemoveHandlerEvent) 2452ReportDiagnostic(diagnostics, notQualifiedSyntax, ERRID.ERR_NameNotEvent2, name, container) 2466ReportDiagnostic(diagnostics, node.Name, ERRID.ERR_NameNotEvent2, node.Name.ToString, Me.ContainingType) 2491ReportDiagnostic(diagnostics, node.Name, ERRID.ERR_CantRaiseBaseEvent) 2514ReportDiagnostic(diagnostics, node.Name, ERRID.ERR_EventTypeNotDelegate) 2529ReportDiagnostic(diagnostics, node.Name, ERRID.ERR_EventsCantBeFunctions) 2539ReportDiagnostic(diagnostics, node.Name, ERRID.ERR_MissingRaiseEventDef1, node.Name.ToString) 2550ReportDiagnostic(diagnostics, node.Name, ERRID.ERR_EventsCantBeFunctions) 2568ReportDiagnostic(diagnostics, node.Name, ERRID.ERR_CantRaiseBaseEvent, node.Name.ToString) 2580ERRID.WRN_RecursiveAddHandlerCall, 2693ReportDiagnostic(diagnostics, statement, ERRID.WRN_UnobservedAwaitableExpression) 2726ReportDiagnostic(diagnostics, boundInvocation.Syntax, ERRID.ERR_PropertyAccessIgnored) 2742ReportDiagnostic(diagnostics, boundInvocation.Syntax, ERRID.ERR_PropertyAccessIgnored) 3291ReportDiagnostic(diagnostics, syntax, ERRID.ERR_ForLoopOperatorRequired2, left.Type, SyntaxFacts.GetText(OverloadResolution.GetOperatorTokenKind(opCode))) 3302ReportDiagnostic(diagnostics, syntax, ERRID.ERR_UnacceptableForLoopRelOperator2, bestCandidate.UnderlyingSymbol, 3307ReportDiagnostic(diagnostics, syntax, ERRID.ERR_UnacceptableForLoopOperator2, bestCandidate.UnderlyingSymbol, 3344ReportDiagnostic(diagnostics, DirectCast(node.ForOrForEachStatement, ForStatementSyntax).ControlVariable, ERRID.ERR_ForLoopType1, targetType) 3565ReportDiagnostic(diagnostics, identifier, ERRID.ERR_NullableTypeInferenceNotSupported) 3572ReportDiagnostic(diagnostics, identifier, ERRID.ERR_ForCtlVarArraySizesSpecified) 3633ReportDiagnostic(diagnostics, controlVariable.Syntax, ERRID.ERR_LoopControlMustNotBeProperty) 3648ReportDiagnostic(diagnostics, controlVariable.Syntax, ERRID.ERR_LoopControlMustNotAwait) 3794ErrorFactory.ErrorInfo(ERRID.ERR_ForEachAmbiguousIEnumerable1, 3845ErrorFactory.ErrorInfo(ERRID.ERR_ForEachCollectionDesignPattern1, 4490ErrorFactory.ErrorInfo(ERRID.ERR_UsingResourceVarNeedsInitializer)) 4572ErrorFactory.ErrorInfo(ERRID.ERR_UsingResourceVarCantBeArray)) 4633ErrorFactory.ErrorInfo(ERRID.ERR_UsingRequiresDisposePattern, resourceType)) 4661ErrorFactory.ErrorInfo(ERRID.WRN_MutableStructureInUsing, symbolName)) 4674ErrorFactory.ErrorInfo(ERRID.WRN_MutableStructureInUsing, symbolName)) 4680ErrorFactory.ErrorInfo(ERRID.WRN_MutableGenericStructureInUsing, symbolName)) 4685ErrorFactory.ErrorInfo(ERRID.WRN_MutableStructureInUsing, symbolName)) 4733ErrorFactory.ErrorInfo(ERRID.ERR_SyncLockRequiresReferenceType1, lockExpressionType)) 4735ReportDiagnostic(diagnostics, lockExpression.Syntax, ERRID.ERR_LockTypeUnsupported) 4758ReportDiagnostic(diagnostics, node.TryStatement, ERRID.ERR_TryWithoutCatchOrFinally) 4826ReportDiagnostic(diagnostics, name, ERRID.ERR_CatchVariableNotLocal1, name.ToString()) 4839ERRID.ERR_CatchNotException1, 4877ReportDiagnostic(diagnostics, declaration, ERRID.WRN_DuplicateCatch, exceptionType) 4887ReportDiagnostic(diagnostics, declaration, ERRID.WRN_OverlappingCatch, exceptionType, previousType) 4907Dim id As ERRID 4909Case SyntaxKind.ExitWhileStatement : id = ERRID.ERR_ExitWhileNotWithinWhile 4910Case SyntaxKind.ExitTryStatement : id = ERRID.ERR_ExitTryNotWithinTry 4911Case SyntaxKind.ExitDoStatement : id = ERRID.ERR_ExitDoNotWithinDo 4912Case SyntaxKind.ExitForStatement : id = ERRID.ERR_ExitForNotWithinFor 4913Case SyntaxKind.ExitSelectStatement : id = ERRID.ERR_ExitSelectNotWithinSelect 4914Case SyntaxKind.ExitSubStatement : id = ERRID.ERR_ExitSubOfFunc 4915Case SyntaxKind.ExitFunctionStatement : id = ERRID.ERR_ExitFuncOfSub 4916Case SyntaxKind.ExitPropertyStatement : id = ERRID.ERR_ExitPropNot 4933Dim id As ERRID 4935Case SyntaxKind.ContinueWhileStatement : id = ERRID.ERR_ContinueWhileNotWithinWhile 4936Case SyntaxKind.ContinueDoStatement : id = ERRID.ERR_ContinueDoNotWithinDo 4937Case SyntaxKind.ContinueForStatement : id = ERRID.ERR_ContinueForNotWithinFor 5013ReportDiagnostic(diagnostics, originalSyntax, ERRID.ERR_KeywordNotAllowedInScript, SyntaxFacts.GetText(SyntaxKind.ReturnKeyword)) 5022ERRID.ERR_BadReturnValueInIterator, 5023If(isAsync AndAlso Not methodReturnType.SpecialType = SpecialType.System_Void, ERRID.ERR_ReturnFromNonGenericTaskAsync, ERRID.ERR_ReturnFromNonFunction))) 5064ReportDiagnostic(diagnostics, arg.Syntax, ERRID.ERR_BadAsyncReturnOperand1, retType) 5085ReportDiagnostic(diagnostics, originalSyntax, ERRID.ERR_ReturnWithoutValue) 5102ReportDiagnostic(diagnostics, node, ERRID.ERR_BadYieldInNonIteratorMethod) 5140ReportDiagnostic(diagnostics, originalSyntax, ERRID.ERR_KeywordNotAllowedInScript, SyntaxFacts.GetText(SyntaxKind.YieldKeyword)) 5209ReportDiagnostic(diagnostics, node, ERRID.ERR_MustBeInCatchToRethrow) 5222ReportDiagnostic(diagnostics, node, ERRID.ERR_CantThrowNonException) 5246ReportDiagnostic(diagnostics, node, ERRID.ERR_MultilineLambdasCannotContainOnError) 5248ReportDiagnostic(diagnostics, node, ERRID.ERR_ResumablesCannotContainOnError) 5281ReportDiagnostic(diagnostics, node, ERRID.ERR_MultilineLambdasCannotContainOnError) 5283ReportDiagnostic(diagnostics, node, ERRID.ERR_ResumablesCannotContainOnError) 5323ReportDiagnostic(diagnostics, endStatementSyntax, ERRID.ERR_EndDisallowedInDllProjects)
Binding\Binder_Symbols.vb (15)
65Dim diagInfo = New BadSymbolDiagnostic(type, ERRID.ERR_BadUseOfVoid) 68Dim diagInfo = New BadSymbolDiagnostic(type, ERRID.ERR_ModuleAsType1) 285diagInfo = New BadSymbolDiagnostic(lookupResult.SingleSymbol, ERRID.ERR_UnrecognizedType) 322diagInfo = ErrorFactory.ErrorInfo(ERRID.ERR_ObsoleteAsAny, diagName) 341diagInfo = ErrorFactory.ErrorInfo(ERRID.ERR_UndefinedType1, diagName) 343diagInfo = ErrorFactory.ErrorInfo(ERRID.ERR_ForwardedTypeUnavailable3, diagName, binder.Compilation.Assembly, forwardedToAssembly) 431If errorInfo.Code = ERRID.ERR_TypeFwdCycle2 Then 433Binder.ReportDiagnostic(diagBag, typeSyntax, ERRID.ERR_TypeFwdCycle2, fullName, forwardedType.ContainingAssembly) 434ElseIf errorInfo.Code = ERRID.ERR_TypeForwardedToMultipleAssemblies Then 503diagInfo = ErrorFactory.ErrorInfo(ERRID.ERR_UndefinedTypeOrNamespace1, diagName) 512Binder.ReportDiagnostic(diagBag, typeSyntax, ErrorFactory.ErrorInfo(ERRID.WRN_UndefinedOrEmptyNamespaceOrClass1, diagName)) 660Binder.ReportDiagnostic(diagnostics, syntax, ERRID.ERR_TupleElementNamesAttributeMissing, AttributeDescription.TupleElementNamesAttribute.FullName) 722Binder.ReportDiagnostic(diagBag, typeSyntax, ERRID.ERR_TypeInItsInheritsClause1, typeWithBaseBeingResolved) 726ERRID.ERR_NestedTypeInInheritsClause2, typeWithBaseBeingResolved, lookupResult.SingleSymbol) 907New BadSymbolDiagnostic(lookupResult.SingleSymbol, ERRID.ERR_TypeOrMemberNotGeneric1, lookupResult.SingleSymbol)))
Binding\Binder_Utils.vb (67)
22Optional errid As ERRID = ERRID.ERR_TypecharNotallowed) 61errid As ERRID, 144errIdBadModifier As ERRID, 165ReportDiagnostic(diagBag, keywordSyntax, ERRID.ERR_DuplicateSpecifier) 170ReportDiagnostic(diagBag, keywordSyntax, ERRID.ERR_DuplicateAccessCategoryUsed) 173ReportDiagnostic(diagBag, keywordSyntax, ERRID.ERR_DuplicateModifierCategoryUsed) 176ReportDiagnostic(diagBag, keywordSyntax, ERRID.ERR_DuplicateWriteabilityCategoryUsed) 179ReportDiagnostic(diagBag, keywordSyntax, ERRID.ERR_DuplicateConversionCategoryUsed) 182ReportDiagnostic(diagBag, keywordSyntax, ERRID.ERR_BadSpecifierCombo2, "Overloads", "Shadows") 185ReportDiagnostic(diagBag, keywordSyntax, ERRID.ERR_OverridesImpliesOverridable) 192ReportDiagnostic(diagBag, keywordSyntax, ERRID.ERR_BadSpecifierCombo2, "Overrides", "Shadows") 203ReportDiagnostic(diagBag, keywordSyntax, ERRID.ERR_BadSpecifierCombo2, "Iterator", "WriteOnly") 206ReportDiagnostic(diagBag, keywordSyntax, ERRID.ERR_BadSpecifierCombo2, "MustInherit", "NotInheritable") 242ReportDiagnostic(diagBag, privateOverridableModifier, ERRID.ERR_BadSpecifierCombo2, "Private", "Overridable") 244ReportDiagnostic(diagBag, privateMustOverrideModifier, ERRID.ERR_BadSpecifierCombo2, "Private", "MustOverride") 246ReportDiagnostic(diagBag, privateNotOverridableModifier, ERRID.ERR_BadSpecifierCombo2, "Private", "NotOverridable") 338ReportDiagnostic(diagnostics, arrayModifier, ERRID.ERR_ArrayRankLimit) 369ReportDiagnostic(diagnostics, arrayBoundsOpt, ERRID.ERR_ArrayRankLimit) 498ReportDiagnostic(diagBag, asClauseSyntaxOpt, ERRID.ERR_CantSpecifyNullableOnBoth) 504ReportDiagnostic(diagBag, asClauseSyntaxOpt, ERRID.ERR_CantSpecifyAsNewAndNullable) 515ReportDiagnostic(diagBag, modifiedIdentifier, ERRID.ERR_NullableParameterMustSpecifyType) 527ReportDiagnostic(diagBag, modifiedIdentifier, ERRID.ERR_NullableImplicit) 532ReportDiagnostic(diagBag, modifiedIdentifier, ERRID.ERR_BadTypeArgForStructConstraintNull, baseType) 547ReportDiagnostic(diagBag, asClauseSyntaxOpt.Type, ERRID.ERR_CantSpecifyArraysOnBoth) 555ReportDiagnostic(diagBag, modifiedIdentifier, ERRID.ERR_CantSpecifyParamsOnLambdaParamNoType) 684ReportDiagnostic(diagBag, identifier, ERRID.ERR_TypeCharWithType1, typeCharacterString) 897CheckReservedParameterName(container.Name, paramSyntax, ERRID.ERR_ParamNameFunctionNameCollision, diagBag) 911ReportDiagnostic(diagBag, paramSyntax.Identifier, ERRID.ERR_NameSameAsMethodTypeParam1, name) 927diagnostics.Add(ERRID.ERR_ByRefIllegal1, token.GetLocation(), container.GetKindText()) 932diagnostics.Add(ERRID.ERR_ParamArrayIllegal1, token.GetLocation(), container.GetKindText()) 937diagnostics.Add(ERRID.ERR_OptionalIllegal1, token.GetLocation(), container.GetKindText()) 972If CheckReservedParameterName(StringConstants.ValueParameterName, paramSyntax, ERRID.ERR_PropertySetParamCollisionWithValue, diagBag) Then 974CheckReservedParameterName(container.Name, paramSyntax, ERRID.ERR_ParamNameFunctionNameCollision, diagBag) 991diagnostics.Add(ERRID.ERR_ByRefIllegal1, location, container.GetKindText(), token.ToString()) 997Private Shared Function CheckReservedParameterName(reservedName As String, syntax As ParameterSyntax, errorId As ERRID, diagnostics As BindingDiagnosticBag) As Boolean 1019ReportDiagnostic(diagnostics, syntax.Identifier, ERRID.ERR_DuplicateParamName1, name) 1053ReportDiagnostic(diagBag, paramSyntax.Identifier.Identifier, ERRID.ERR_ParamArrayWithOptArgs) 1060ReportDiagnostic(diagBag, paramSyntax.Identifier.Identifier, ERRID.ERR_ExpectedOptional) 1069ReportDiagnostic(diagBag, paramSyntax, ERRID.ERR_ParamArrayMustBeLast) 1084ReportDiagnostic(diagBag, paramSyntax, ERRID.ERR_BadAsyncByRefParam) 1087ReportDiagnostic(diagBag, paramSyntax, ERRID.ERR_BadIteratorByRefParam) 1096ReportDiagnostic(diagBag, paramSyntax.AsClause.Type, ERRID.ERR_RestrictedType1, restrictedType) 1100ReportDiagnostic(diagBag, paramSyntax.AsClause.Type, ERRID.ERR_RestrictedType1, paramType) 1104ReportDiagnostic(diagBag, paramSyntax.AsClause.Type, ERRID.ERR_RestrictedResumableType1, paramType) 1135ReportDiagnostic(diagBag, paramSyntax.Identifier, ERRID.ERR_ParamTypingInconsistency) 1155ReportModifierError(modifierList, If(isProperty, ERRID.ERR_BadFlagsOnSharedProperty1, ERRID.ERR_BadFlagsOnSharedMeth1), diagBag, InvalidModifiersIfShared) 1164ReportModifierError(modifierList, ERRID.ERR_OverloadsModifierInModule, diagBag, SyntaxKind.OverloadsKeyword) 1171ReportModifierError(modifierList, If(isProperty, ERRID.ERR_BadFlagsOnStdModuleProperty1, ERRID.ERR_ModuleCantUseMethodSpecifier1), diagBag, InvalidModifiersInModule) 1182ReportModifierError(modifierList, If(isProperty, ERRID.ERR_BadInterfacePropertyFlags1, ERRID.ERR_BadInterfaceMethodFlags1), diagBag, InvalidModifiersInInterface) 1191ReportModifierError(modifierList, If(isProperty, ERRID.ERR_StructCantUseVarSpecifier1, ERRID.ERR_StructureCantUseProtected), diagBag, SyntaxKind.ProtectedKeyword) 1198ReportModifierError(modifierList, ERRID.ERR_StructCantUseVarSpecifier1, diagBag, 1218ReportModifierError(modifierList, ERRID.ERR_MustOverOnNotInheritPartClsMem1, diagBag, InvalidModifiersInNotInheritableOtherPartialClass) 1222ReportModifierError(modifierList, ERRID.ERR_BadFlagsInNotInheritableClass1, diagBag, InvalidModifiersInNotInheritableClass) 1244ReportModifierError(modifierList, ERRID.ERR_ModuleCantUseEventSpecifier1, diagBag, InvalidModifiersInModule) 1255ReportModifierError(modifierList, ERRID.ERR_InterfaceCantUseEventSpecifier1, diagBag, InvalidModifiersInInterface) 1264ReportModifierError(modifierList, ERRID.ERR_StructureCantUseProtected, diagBag, SyntaxKind.ProtectedKeyword) 1305ReportDiagnostic(diagnostics, boundExpression.Syntax, ERRID.ERR_RequiredConstExpr) 1355ReportDiagnostic(diagnostics, boundExpression.Syntax, ERRID.ERR_RequiredConstExpr) 1407ERRID.ERR_RequiredConstConversion2, 1449ERRID.ERR_RequiredConstConversion2, 1478ERRID.ERR_RequiredConstConversion2, 1510ERRID.ERR_RequiredConstConversion2,
Binding\Binder_WithBlock.vb (1)
326ReportDiagnostic(diagnostics, Me._withBlockInfo.CapturedLvalueByRefCallOrProperty.Syntax, ERRID.ERR_UnsupportedRefReturningCallInWithStatement)
Binding\Binder_XmlLiterals.vb (18)
648ReportDiagnostic(diagnostics, syntax, ERRID.ERR_NoXmlAxesLateBinding) 669ReportDiagnostic(diagnostics, syntax, ERRID.ERR_TypeDisallowsAttributes, receiverType) 681Return BindXmlElementAccess(syntax, StringConstants.XmlElementsMethodName, ERRID.ERR_TypeDisallowsElements, diagnostics) 685Return BindXmlElementAccess(syntax, StringConstants.XmlDescendantsMethodName, ERRID.ERR_TypeDisallowsDescendants, diagnostics) 688Private Function BindXmlElementAccess(syntax As XmlMemberAccessExpressionSyntax, memberName As String, typeDisallowsError As ERRID, diagnostics As BindingDiagnosticBag) As BoundExpression 698ReportDiagnostic(diagnostics, syntax, ERRID.ERR_NoXmlAxesLateBinding) 753Return ReportDiagnosticAndProduceBadExpression(diagnostics, syntax, ERRID.ERR_BadWithRef) 796ReportDiagnostic(diagnostics, prefixToken, ERRID.ERR_IllegalXmlnsPrefix) 902ReportDiagnostic(diagnostics, prefixToken, ERRID.ERR_UndefinedXmlPrefix, prefix) 1006ErrorFactory.ErrorInfo(ERRID.ERR_NameNotMember2, memberName, type))) 1041ReportDiagnostic(diagnostics, syntax, ERRID.ERR_XmlFeaturesNotAvailable) 1151ReportDiagnostic(diagnostics, syntax, ERRID.ERR_DuplicateXmlAttribute, syntax.ToString()) 1199ReportDiagnostic(diagnostics, valueSyntax, ERRID.ERR_EmbeddedExpression) 1214ReportDiagnostic(diagnostics, nameSyntax.LocalName, ERRID.ERR_ReservedXmlPrefix, prefix) 1221ReportDiagnostic(diagnostics, nameSyntax.LocalName, ERRID.ERR_IllegalDefaultNamespace) 1245ReportDiagnostic(diagnostics, syntax, ERRID.ERR_ReservedXmlNamespace, prefix, reservedPrefix) 1282ReportDiagnostic(diagnostics, syntax, ERRID.WRN_EmptyPrefixAndXmlnsLocalName) 1284ReportDiagnostic(diagnostics, syntax, ERRID.WRN_PrefixAndXmlnsLocalName, prefixName)
Binding\BindingDiagnosticBag.vb (2)
152Friend Overloads Function Add(code As ERRID, location As Location) As DiagnosticInfo 158Friend Overloads Function Add(code As ERRID, location As Location, ParamArray args As Object()) As DiagnosticInfo
Binding\ImplicitVariableBinder.vb (3)
182Public Sub RememberPossibleShadowingVariable(name As String, syntax As SyntaxNodeOrToken, errorId As ERRID) 199Public ReadOnly ErrorId As ERRID 200Public Sub New(name As String, location As Location, errorId As ERRID)
Binding\ImportedTypesAndNamespacesMembersBinder.vb (1)
167Return New AmbiguousSymbolDiagnostic(ERRID.ERR_AmbiguousInImports2,
Binding\LookupResult.vb (7)
127Public Shared Function WrongArityAndStopLookup(sym As Symbol, err As ERRID) As SingleLookupResult 143err As ERRID) As SingleLookupResult 148Public Shared Function MustNotBeInstance(sym As Symbol, err As ERRID) As SingleLookupResult 756Return New AmbiguousSymbolDiagnostic(ERRID.ERR_MetadataMembersAmbiguous3, syms, name, containerKindText, container) 1021Return New AmbiguousSymbolDiagnostic(ERRID.ERR_AmbiguousInNamespaces2, syms, syms(0).Name, New FormattedSymbolList(containers)) 1023Return New AmbiguousSymbolDiagnostic(ERRID.ERR_AmbiguousInNamespace2, syms, syms(0).Name, container) 1026Return New AmbiguousSymbolDiagnostic(ERRID.ERR_AmbiguousInUnnamedNamespace1, syms, syms(0).Name)
BoundTree\BoundTreeVisitor.vb (2)
154diagnostics.Add(ERRID.ERR_TooLongOrComplexExpression, GetTooLongOrComplexExpressionErrorLocation(Node)) 158diagnostics.Add(ERRID.ERR_TooLongOrComplexExpression, GetTooLongOrComplexExpressionErrorLocation(Node))
CodeGen\EmitExpression.vb (1)
68_diagnostics.Add(ERRID.ERR_TooLongOrComplexExpression,
CodeGen\EmitStatement.vb (1)
662_diagnostics.Add(ERRID.ERR_TooLongOrComplexExpression,
CommandLine\VisualBasicCommandLineParser.vb (137)
182AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<file>") 235AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<symbol_list>") 246AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, If(name = "import", ":<str>", ":<import_list>")) 260AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "optionstrict", ":custom") 267AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optionstrict") 276AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optionstrict") 286AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "optioncompare", ":binary|text") 292AddDiagnostic(diagnostics, ERRID.ERR_InvalidSwitchValue, "optioncompare", value) 299AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optionexplicit") 308AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optionexplicit") 317AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optioninfer") 326AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optioninfer") 336AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "codepage", ":<number>") 342AddDiagnostic(diagnostics, ERRID.ERR_BadCodepage, value) 352AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "checksumalgorithm", ":<algorithm>") 358AddDiagnostic(diagnostics, ERRID.ERR_BadChecksumAlgorithm, value) 367AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "removeintchecks") 376AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "removeintchecks") 388AddDiagnostic(diagnostics, ERRID.ERR_MissingGuidForOption, value, name) 392AddDiagnostic(diagnostics, ERRID.ERR_InvalidFormatForGuidForOption, value, name) 400AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<string>") 414AddDiagnostic(diagnostics, ERRID.WRN_BadUILang, value) 421AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<path_list>") 430AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "reportivts") 439AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "reportivts") 460AddDiagnostic(diagnostics, ERRID.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected) 466AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "i") 473AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "i") 479AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<path_list>") 493AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<file>") 506AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<file>") 514AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "refonly") 532AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "moduleassemblyname", ":<string>") 535AddDiagnostic(diagnostics, ERRID.ERR_InvalidAssemblyName, value, arg) 545AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "rootnamespace", ":<string>") 562AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "doc", ":<file>") 566AddDiagnostic(diagnostics, ERRID.WRN_XMLCannotWriteToXMLDocFile2, unquoted, New LocalizableErrorArgument(ERRID.IDS_TheSystemCannotFindThePathSpecified)) 575AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "doc") 585AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "doc") 596AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "errorlog", ErrorLogOptionFormat) 601AddDiagnostic(diagnostics, ERRID.ERR_BadSwitchValue, unquoted, "errorlog", ErrorLogOptionFormat) 611AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<dir>") 625AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "sdkpath", ":<path>") 641AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "instrument", ":<string>") 656AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "recurse", ":<wildcard>") 669AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "addmodule", ":<file_list>") 722AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "sourcelink", ":<file>") 740AddDiagnostic(diagnostics, ERRID.ERR_InvalidSwitchValue, "debug", value) 749AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "debug") 757AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "debug") 765AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optimize") 774AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optimize") 783AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, name) 792AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, name) 801AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, name) 810AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, name.Substring(0, name.Length - 1)) 819AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, name.Substring(0, name.Length - 1)) 885AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "langversion", ":<number>") 890AddDiagnostic(diagnostics, ERRID.ERR_InvalidSwitchValue, "langversion", value) 898AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "delaysign") 907AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "delaysign") 916AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "publicsign") 925AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "publicsign") 946AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "keycontainer", ":<string>") 966AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "keyfile", ":<file>") 1006AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "quiet") 1031AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "verbose") 1040AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, name.Substring(0, name.Length - 1)) 1049AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "utf8output") 1057AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "utf8output") 1091AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<class>") 1101AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<version>") 1109AddDiagnostic(diagnostics, ERRID.ERR_InvalidSubsystemVersion, value) 1116AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<touchedfiles>") 1212AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, "platform", ":<string>") 1239AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<file_list>") 1251AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<file_list>") 1274AddDiagnostic(diagnostics, ERRID.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected) 1280AddDiagnostic(diagnostics, ERRID.WRN_BadSwitch, arg) 1298AddDiagnostic(diagnostics, ERRID.ERR_NoRefOutWhenRefOnly) 1302AddDiagnostic(diagnostics, ERRID.ERR_NoNetModuleOutputWhenRefOutOrRefOnly) 1308AddDiagnostic(diagnostics, ERRID.ERR_NoSources) 1327AddDiagnostic(diagnostics, ERRID.WRN_CannotFindStandardLibrary1, "System.dll") 1340AddDiagnostic(diagnostics, ERRID.ERR_LibNotFound, "Microsoft.VisualBasic.dll") 1366AddDiagnostic(diagnostics, ERRID.ERR_SourceLinkRequiresPdb) 1374AddDiagnostic(diagnostics, ERRID.ERR_CannotEmbedWithoutPdb) 1383AddDiagnostic(diagnostics, ERRID.ERR_BadNamespaceName1, rootNamespace) 1409AddDiagnostic(diagnostics, ERRID.ERR_NoSourcesOut) 1591AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, arg, ":<file>") 1595AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, arg, ":<file>") 1641AddDiagnostic(diagnostics, ERRID.ERR_ConflictingManifestSwitches) 1646AddDiagnostic(diagnostics, ERRID.ERR_IconFileAndWin32ResFile) 1650AddDiagnostic(diagnostics, ERRID.ERR_CantHaveWin32ResAndManifest) 1655AddDiagnostic(diagnostics, ERRID.WRN_IgnoreModuleManifest) 1674AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, optionName, ":exe|winexe|library|module|appcontainerexe|winmdobj") 1677AddDiagnostic(diagnostics, ERRID.ERR_InvalidSwitchValue, optionName, value) 1685AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<file_list>") 1696AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<file_list>") 1709AddDiagnostic(diagnostics, ERRID.ERR_ArgumentRequired, name, ":<resinfo>") 1736AddDiagnostic(diagnostics, ERRID.FTL_InvalidInputFileName, filePath) 1773AddDiagnostic(diagnostics, ERRID.ERR_InvalidSwitchValue, name, nullStringText) 1802diagnosticBuilder.Add(Diagnostic.Create(VisualBasic.MessageProvider.Instance, ERRID.ERR_InvalidPreprocessorConstantType, symbol.Key, symbol.Value.GetType())) 1888ErrorFactory.ErrorInfo(ERRID.ERR_ConditionalCompilationConstantNotValid, 1889ErrorFactory.ErrorInfo(ERRID.ERR_ExpectedEOS), 1912ErrorFactory.ErrorInfo(ERRID.ERR_ConditionalCompilationConstantNotValid, 1913ErrorFactory.ErrorInfo(ERRID.ERR_ExpectedIdentifier), 1941ErrorFactory.ErrorInfo(ERRID.ERR_ConditionalCompilationConstantNotValid, 1942ErrorFactory.ErrorInfo(ERRID.ERR_ExpectedIdentifier), 1958ErrorFactory.ErrorInfo(ERRID.ERR_ConditionalCompilationConstantNotValid, 1959ErrorFactory.ErrorInfo(ERRID.ERR_ExpectedIdentifier), 2012If diag.Code <> ERRID.ERR_ExpectedExpression AndAlso diag.Code <> ERRID.ERR_BadCCExpression Then 2013diagnosticBuilder.Add(New DiagnosticWithInfo(ErrorFactory.ErrorInfo(ERRID.ERR_ConditionalCompilationConstantNotValid, diag, parsedTokensAsString.ToString), Location.None)) 2022ErrorFactory.ErrorInfo(ERRID.ERR_ConditionalCompilationConstantNotValid, 2023ErrorFactory.ErrorInfo(If(atTheEndOrSeparator, ERRID.ERR_ExpectedExpression, ERRID.ERR_BadCCExpression)), 2037Dim err As ERRID = value.ErrorId 2043ErrorFactory.ErrorInfo(ERRID.ERR_ConditionalCompilationConstantNotValid, 2065ErrorFactory.ErrorInfo(ERRID.ERR_ConditionalCompilationConstantNotValid, 2066ErrorFactory.ErrorInfo(ERRID.ERR_IllegalChar), 2075ErrorFactory.ErrorInfo(ERRID.ERR_ConditionalCompilationConstantNotValid, 2076ErrorFactory.ErrorInfo(ERRID.ERR_ExpectedEOS), 2107AddDiagnostic(diagnostics, ERRID.ERR_InvalidInstrumentationKind, instrumentationKindStr) 2149AddDiagnostic(errors, ERRID.ERR_ArgumentRequired, name, ":<string>") 2167AddDiagnostic(errors, ERRID.ERR_InvalidSwitchValue, name, value) 2185AddDiagnostic(errors, ERRID.ERR_ArgumentRequired, name, ":<number>") 2187AddDiagnostic(errors, ERRID.ERR_InvalidSwitchValue, name, value) 2189AddDiagnostic(errors, ERRID.ERR_InvalidSwitchValue, name, value) 2206AddDiagnostic(errors, ERRID.ERR_ArgumentRequired, name, ":<number>") 2222AddDiagnostic(errors, ERRID.ERR_InvalidSwitchValue, name, value.ToString()) 2275AddDiagnostic(diagnostics, ERRID.WRN_UnimplementedCommandLineSwitch, "/" + switchName) 2279AddDiagnostic(errors, ERRID.ERR_InvalidSwitchValue, "recurse", path) 2282Private Shared Sub AddDiagnostic(diagnostics As IList(Of Diagnostic), errorCode As ERRID, ParamArray arguments As Object()) 2318AddDiagnostic(diagnostics, ERRID.FTL_InvalidInputFileName, outputFileName) 2345AddDiagnostic(diagnostics, ERRID.FTL_InvalidInputFileName, outputFileName) 2359AddDiagnostic(diagnostics, ERRID.ERR_NeedModule)
CommandLine\VisualBasicCompiler.vb (14)
186consoleOutput.WriteLine(ErrorFactory.IdToString(ERRID.IDS_MSG_ADDMODULE, Culture), reference.Display) 188consoleOutput.WriteLine(ErrorFactory.IdToString(ERRID.IDS_MSG_ADDLINKREFERENCE, Culture), reference.Display) 190consoleOutput.WriteLine(ErrorFactory.IdToString(ERRID.IDS_MSG_ADDREFERENCE, Culture), reference.Display) 212consoleOutput.WriteLine(ErrorFactory.IdToString(ERRID.IDS_LogoLine1, Culture), GetToolName(), GetCompilerVersion()) 213consoleOutput.WriteLine(ErrorFactory.IdToString(ERRID.IDS_LogoLine2, Culture)) 218Return ErrorFactory.IdToString(ERRID.IDS_ToolName, Culture) 233consoleOutput.WriteLine(ErrorFactory.IdToString(ERRID.IDS_VBCHelp, Culture)) 237consoleOutput.WriteLine(ErrorFactory.IdToString(ERRID.IDS_LangVersions, Culture)) 311Case ERRID.ERR_InaccessibleSymbol2, 312ERRID.ERR_InaccessibleMember3, 313ERRID.ERR_InAccessibleCoClass3, 314ERRID.ERR_CannotOverrideInAccessibleMember, 315ERRID.ERR_InaccessibleReturnTypeOfMember2 324newDiagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_SymbolDefinedInAssembly, symbol, symbol.ContainingAssembly), diag.Location))
Compilation\ClsComplianceChecker.vb (23)
226Me.AddDiagnostic(symbol, ERRID.WRN_CLSAttrInvalidOnGetSet, attributeLocation, attribute.AttributeClass.Name, attributeUsage.GetValidTargetsErrorArgument()) 241Me.AddDiagnostic(symbol, ERRID.WRN_CLSEventMethodInNonCLSType3, attributeLocation, methodKind.TryGetAccessorDisplayName(), symbol.AssociatedSymbol.Name, containingType) 326Me.AddDiagnostic(symbol, ERRID.WRN_NonCLSMemberInCLSInterface1, symbol) ' NOTE: Dev11 actually reports the kind 328Me.AddDiagnostic(symbol, ERRID.WRN_NonCLSMustOverrideInCLSType1, containingType) ' NOTE: Dev11 actually reports the type kind 337Me.AddDiagnostic(symbol, ERRID.WRN_InheritedInterfaceNotCLSCompliant2, symbol, interfaceType) 343Me.AddDiagnostic(symbol, ERRID.WRN_EnumUnderlyingTypeNotCLS1, underlyingType) 349Me.AddDiagnostic(symbol, ERRID.WRN_BaseClassNotCLSCompliant2, symbol, baseType) 359Me.AddDiagnostic(symbol, ERRID.WRN_CLSMemberInNonCLSType3, symbol.GetKindText(), symbol, containingType) 368Me.AddDiagnostic(typeParameter, ERRID.WRN_GenericConstraintNotCLSCompliant1, constraintType) 382Me.AddDiagnostic(parameter, ERRID.WRN_ParamNotCLSCompliant1, parameter.Name) 390Me.AddDiagnostic(parameter, ERRID.WRN_OptionalValueNotCLSCompliant1, parameter.Name) 413Dim code As ERRID 417code = ERRID.WRN_FieldNotCLSCompliant1 420code = ERRID.WRN_ProcTypeNotCLSCompliant1 423code = ERRID.WRN_ProcTypeNotCLSCompliant1 443Me.AddDiagnostic(symbol, ERRID.WRN_EventDelegateTypeNotCLSCompliant2, type, symbol.Name) 528Me.AddDiagnostic(symbol, ERRID.WRN_ArrayOverloadsNonCLS2, symbol, other) 551Me.AddDiagnostic(symbol, ERRID.WRN_RootNamespaceNotCLSCompliant1, rootNamespace) 558Me.AddDiagnostic(symbol, ERRID.WRN_RootNamespaceNotCLSCompliant2, symbol.Name, rootNamespace) 566Me.AddDiagnostic(symbol, ERRID.WRN_NameNotCLSCompliant1, name) 609Me.AddDiagnostic(diagnosticSymbol, ERRID.WRN_TypeNotCLSCompliant1, typeArg) 833Private Sub AddDiagnostic(symbol As Symbol, code As ERRID, ParamArray args As Object()) 838Private Sub AddDiagnostic(symbol As Symbol, code As ERRID, location As Location, ParamArray args As Object())
Compilation\DocumentationComments\DocumentationCommentCompiler.Common.vb (22)
162ReportIllegalWellKnownTagIfAny(tag, ERRID.WRN_XMLDocIllegalTagOnElement2, 167errorId As ERRID, 291Me._diagnostics.Add(ERRID.WRN_XMLDocDuplicateXMLNode1, node2.Node.GetLocation(), tagName) 367Me._diagnostics.Add(ERRID.WRN_XMLDocExceptionTagWithoutCRef, element.GetLocation()) 383ERRID.WRN_XMLDocBadParamTag2, 384ERRID.WRN_XMLDocParamTagWithoutName, 397ERRID.WRN_XMLDocBadGenericParamTag2, 398ERRID.WRN_XMLDocGenericParamTagWithoutName, 415ERRID.WRN_XMLDocBadGenericParamTag2, 416ERRID.ERR_None) 435Me._diagnostics.Add(ERRID.WRN_XMLDocBadGenericParamTag2, 450badNameValueError As ERRID, 451missingNameValueError As ERRID, 479ReportWarningsForParamOrTypeParamTags(builderRef, symbolName, badNameValueError, ERRID.ERR_None, allowedSymbols, [set]) 486badNameValueError As ERRID, 487missingNameValueError As ERRID, 589Me._diagnostics.Add(ERRID.WRN_XMLDocParseError1, trivia.GetLocation(), GetDescription(ex)) 636badNameValueError As ERRID, missingNameValueError As ERRID) As XmlNameAttributeSyntax 670If missingNameValueError <> ERRID.ERR_None AndAlso element.SyntaxTree.ReportDocumentationCommentDiagnostics() Then 686Me._diagnostics.Add(ERRID.WRN_XMLDocMoreThanOneCommentBlock, theOnlyDocCommentTrivia.GetLocation()) 704Me._diagnostics.Add(ERRID.WRN_XMLDocBadXMLLine, theOnlyDocCommentTrivia.GetLocation())
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (31)
315ERRID.WRN_XMLDocIllegalTagOnElement2, 328commentMessage = GenerateDiagnostic(XmlLocation.Create(element, currentXmlFilePath), ERRID.WRN_XMLDocReturnsOnADeclareSub) 331commentMessage = GenerateDiagnostic(XmlLocation.Create(element, currentXmlFilePath), ERRID.WRN_XMLDocReturnsOnWriteOnlyProperty) 335ERRID.WRN_XMLDocIllegalTagOnElement2, 347ERRID.WRN_XMLDocIllegalTagOnElement2, 355ERRID.WRN_XMLDocIllegalTagOnElement2, 364ERRID.WRN_XMLDocIllegalTagOnElement2, 373ERRID.WRN_XMLDocIllegalTagOnElement2, 400commentMessage = GenerateDiagnostic(XmlLocation.Create(element, currentXmlFilePath), ERRID.WRN_XMLDocExceptionTagWithoutCRef) 410ERRID.WRN_XMLDocParamTagWithoutName, 411ERRID.WRN_XMLDocGenericParamTagWithoutName)) 417If(binderType = DocumentationCommentBinder.BinderType.NameInParamOrParamRef, ERRID.WRN_XMLDocBadParamTag2, ERRID.WRN_XMLDocBadGenericParamTag2), 451commentMessage = GenerateDiagnostic(location, ERRID.WRN_XMLDocInvalidXMLFragment, fileAttr.Value, pathAttr.Value) 467commentMessage = GenerateDiagnostic(location, ERRID.WRN_XMLMissingFileOrPathAttribute1, DocumentationCommentXmlNames.FileAttributeName) 472GenerateDiagnostic(location, ERRID.WRN_XMLMissingFileOrPathAttribute1, DocumentationCommentXmlNames.PathAttributeName) 483commentMessage = GenerateDiagnostic(True, location, ERRID.WRN_XMLDocBadFormedXML, filePathValue, xpathValue, New CodeAnalysisResourcesLocalizableErrorArgument(NameOf(CodeAnalysisResources.XmlReferencesNotSupported))) 489commentMessage = GenerateDiagnostic(True, location, ERRID.WRN_XMLDocBadFormedXML, filePathValue, xpathValue, New CodeAnalysisResourcesLocalizableErrorArgument(NameOf(CodeAnalysisResources.FileNotFound))) 503commentMessage = GenerateDiagnostic(True, location, ERRID.WRN_XMLDocBadFormedXML, filePathValue, xpathValue, e.Message) 514commentMessage = GenerateDiagnostic(True, location, ERRID.WRN_XMLDocInvalidXMLFragment, xpathValue, filePathValue) 534commentMessage = GenerateDiagnostic(True, location, ERRID.WRN_XMLDocInvalidXMLFragment, xpathValue, filePathValue) 538commentMessage = GenerateDiagnostic(True, location, ERRID.WRN_XMLDocInvalidXMLFragment, xpathValue, filePathValue) 552Private Function GenerateDiagnostic(suppressDiagnostic As Boolean, loc As Location, id As ERRID, ParamArray arguments As Object()) As String 560Private Function GenerateDiagnostic(loc As Location, id As ERRID, ParamArray arguments As Object()) As String 639ProcessErrorLocations(XmlLocation.Create(attribute, currentXmlFilePath), reference.ToFullString().TrimEnd(), useSiteInfo, errorLocations, ERRID.WRN_XMLDocCrefAttributeNotFound1) 651Dim errid As ERRID = errid.WRN_XMLDocCrefAttributeNotFound1 655errid = errid.WRN_XMLDocCrefToTypeParameter 702Me._diagnostics.Add(ERRID.WRN_XMLDocCrefAttributeNotFound1, XmlLocation.Create(attribute, currentXmlFilePath), value) 713Private Sub ProcessErrorLocations(currentXmlLocation As XmlLocation, referenceName As String, useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol), errorLocations As ImmutableArray(Of Location), errid As Nullable(Of ERRID)) 734badNameValueError As ERRID,
Compilation\DocumentationComments\DocumentationCommentCompiler.Method.vb (1)
93ReportIllegalWellKnownTagIfAny(WellKnownTag.Returns, ERRID.WRN_XMLDocReturnsOnADeclareSub, wellKnownElementNodes)
Compilation\DocumentationComments\DocumentationCommentCompiler.NamedType.vb (1)
72Me._diagnostics.Add(ERRID.WRN_XMLDocOnAPartialType, trivia.GetLocation(), symbolName)
Compilation\DocumentationComments\DocumentationCommentCompiler.Property.vb (1)
70ReportIllegalWellKnownTagIfAny(WellKnownTag.Returns, ERRID.WRN_XMLDocReturnsOnWriteOnlyProperty, wellKnownElementNodes)
Compilation\DocumentationComments\DocumentationCommentCompiler.vb (1)
85diagnostics.Add(ERRID.ERR_DocFileGen, Location.None, ex.Message)
Compilation\DocumentationComments\DocumentationCommentWalker.vb (8)
167ProcessErrorLocations(crefAttr, errorLocations, Nothing, ERRID.WRN_XMLDocCrefAttributeNotFound1) 171ProcessErrorLocations(crefAttr, errorLocations, Nothing, ERRID.WRN_XMLDocCrefAttributeNotFound1) 186Dim errid As ERRID = ERRID.WRN_XMLDocCrefAttributeNotFound1 190errid = ERRID.WRN_XMLDocCrefToTypeParameter 251Me._diagnostics.Add(ERRID.WRN_XMLDocCrefAttributeNotFound1, node.GetLocation(), strValue.Trim()) 277Private Sub ProcessErrorLocations(node As SyntaxNode, errorLocations As ImmutableArray(Of Location), useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol), errid As Nullable(Of ERRID)) 296Private Sub ProcessBadNameInCrefAttribute(crefAttribute As XmlCrefAttributeSyntax, errorLocation As Location, errid As ERRID)
Compilation\DocumentationComments\UnprocessedDocumentationCommentFinder.vb (2)
137Me._diagnostics.Add(ERRID.WRN_XMLDocInsideMethod, trivia.GetLocation()) 168Me._diagnostics.Add(ERRID.WRN_XMLDocWithoutLanguageElement, trivia.GetLocation())
Compilation\MethodCompiler.vb (17)
290diagnostics.Add(ERRID.ERR_ModuleEmitFailure, NoLocation.Singleton, moduleBeingBuiltOpt.SourceModule.Name, 773Binder.ReportDiagnostic(_diagnostics, location, ERRID.WRN_ExpectedInitComponentCall2, sourceMethod, sourceTypeSymbol) 1152diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_SubNewCycle2, referencingMethod, referencedMethod)) 1162New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_SubNewCycle1, referencingMethod, 1978ErrorFactory.ErrorInfo(ERRID.ERR_NoUniqueConstructorOnBase2, containingType, containingType.BaseTypeNoUseSiteDiagnostics), 1983ErrorFactory.ErrorInfo(ERRID.ERR_RequiredNewCallTooMany2, defaultConstructorType, containingType), 2005ErrorFactory.ErrorInfo(ERRID.ERR_NoConstructorOnBase2, containingType, containingType.BaseTypeNoUseSiteDiagnostics), 2010ErrorFactory.ErrorInfo(ERRID.ERR_RequiredNewCall2, defaultConstructorType, containingType), 2019ErrorFactory.ErrorInfo(ERRID.ERR_NoAccessibleConstructorOnBase, containingType.BaseTypeNoUseSiteDiagnostics), 2039diagnostics.Add(If(data.IsError, ERRID.ERR_NoNonObsoleteConstructorOnBase3, ERRID.WRN_NoNonObsoleteConstructorOnBase3), 2045diagnostics.Add(If(data.IsError, ERRID.ERR_NoNonObsoleteConstructorOnBase4, ERRID.WRN_NoNonObsoleteConstructorOnBase4), 2055diagnostics.Add(If(data.IsError, ERRID.ERR_RequiredNonObsoleteNewCall3, ERRID.WRN_RequiredNonObsoleteNewCall3), 2061diagnostics.Add(If(data.IsError, ERRID.ERR_RequiredNonObsoleteNewCall4, ERRID.WRN_RequiredNonObsoleteNewCall4),
Compilation\VisualBasicCompilation.vb (20)
482diagnostics.Add(ERRID.ERR_DebugEntryPointNotSourceMethodDefinition, Location.None) 1532diagnostics.Add(ERRID.WRN_MainIgnored, NoLocation.Singleton, mainTypeName) 1538diagnostics.Add(ERRID.ERR_StartupCodeNotFound1, NoLocation.Singleton, mainTypeName) 1544diagnostics.Add(ERRID.ERR_StartupCodeNotFound1, NoLocation.Singleton, mainType) 1550diagnostics.Add(ERRID.ERR_GenericSubMainsFound1, NoLocation.Singleton, mainType) 1568diagnostics.Add(ERRID.ERR_StartupCodeNotFound1, NoLocation.Singleton, mainType) 1598diagnostics.Add(ERRID.WRN_MainIgnored, main.Locations.First(), main) 1605diagnostics.Add(ERRID.ERR_StartupCodeNotFound1, NoLocation.Singleton, errorTarget) 1627diagnostics.Add(ERRID.ERR_GenericSubMainsFound1, NoLocation.Singleton, errorTarget) 1629diagnostics.Add(ERRID.ERR_InValidSubMainsFound1, NoLocation.Singleton, errorTarget) 1633diagnostics.Add(ERRID.ERR_MoreThanOneValidMainWasFound2, 1654Binder.ReportDiagnostic(diagnostics, location, ERRID.ERR_AsyncSubMain) 1719diagnostics.Add(ERRID.HDN_UnusedImportStatement, infoTree.GetLocation(info.StatementSpan)) 1741diagnostics.Add(ERRID.HDN_UnusedImportStatement, infoTree.GetLocation(info.StatementSpan)) 1744diagnostics.Add(ERRID.HDN_UnusedImportClause, infoTree.GetLocation(clauseSpan)) 2484diagnostics.Add(ERRID.ERR_ModuleEmitFailure, NoLocation.Singleton, moduleBeingBuilt.SourceModule.Name, 2584diagnostics.Add(ERRID.ERR_UnsupportedModule1, NoLocation.Singleton, m) 2653diagnosticBag.Add(ERRID.WRN_MultipleDeclFileExtChecksum, New SourceLocation(checksumDirective), path) 3159Case ERRID.ERR_UnreferencedAssemblyEvent3, 3160ERRID.ERR_UnreferencedAssembly3
Compilation\VisualBasicDiagnosticFilter.vb (8)
16Private Shared ReadOnly s_alinkWarnings As ERRID() = {ERRID.WRN_ConflictingMachineAssembly, 17ERRID.WRN_RefCultureMismatch, 18ERRID.WRN_InvalidVersionFormat} 69If (s_alinkWarnings.Contains(CType(diagnostic.Code, ERRID)) AndAlso 70caseInsensitiveSpecificDiagnosticOptions.Keys.Contains(VisualBasic.MessageProvider.Instance.GetIdForErrorCode(ERRID.WRN_AssemblyGeneration1))) Then 71report = GetDiagnosticReport(VisualBasic.MessageProvider.Instance.GetSeverity(ERRID.WRN_AssemblyGeneration1), 73VisualBasic.MessageProvider.Instance.GetIdForErrorCode(ERRID.WRN_AssemblyGeneration1),
Emit\AttributeDataAdapter.vb (1)
27context.Diagnostics.Add(ERRID.ERR_AttributeMustBeClassNotStruct1, If(context.Location, NoLocation.Singleton), Me.AttributeClass)
Emit\EditAndContinue\EmitHelpers.vb (2)
95diagnostics.Add(ERRID.ERR_ModuleEmitFailure, NoLocation.Singleton, compilation.AssemblyName, e.Message) 157ERRID.ERR_ModuleEmitFailure,
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (1)
265diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_EncNoPIAReference, embeddedType.AdaptedNamedTypeSymbol), Location.None)
Emit\NoPia\EmbeddedEvent.vb (2)
94EmbeddedTypesManager.ReportDiagnostic(diagnostics, ERRID.ERR_SourceInterfaceMustBeInterface, syntaxNodeOpt, underlyingContainingType.AdaptedNamedTypeSymbol, UnderlyingEvent.AdaptedEventSymbol) 101EmbeddedTypesManager.ReportDiagnostic(diagnostics, ERRID.ERR_EventNoPIANoBackingMember, syntaxNodeOpt, sourceInterface, UnderlyingEvent.AdaptedEventSymbol.MetadataName, UnderlyingEvent.AdaptedEventSymbol)
Emit\NoPia\EmbeddedType.vb (1)
230EmbeddedTypesManager.ReportDiagnostic(diagnostics, ERRID.ERR_NoPIAAttributeMissing2, syntaxNodeOpt, UnderlyingNamedType.AdaptedNamedTypeSymbol, description.FullName)
Emit\NoPia\EmbeddedTypesManager.vb (16)
160ERRID.ERR_DuplicateLocalTypes3, 170ERRID.ERR_LocalTypeNameClash2, 190ReportDiagnostic(diagnostics, ERRID.WRN_IndirectRefToLinkedAssembly2, Nothing, indirectRef, assembly) 219Dim id = ERRID.ERR_None 226id = ERRID.ERR_DefaultInterfaceImplementationInNoPIAType 228id = ERRID.ERR_ReAbstractionInNoPIAType 233If id = ERRID.ERR_None Then 248id = ERRID.ERR_NestedInteropType 252id = ERRID.ERR_CannotEmbedInterfaceWithGeneric 258id = ERRID.ERR_CannotLinkClassWithNoPIA1 261If id <> ERRID.ERR_None Then 277Private Shared Sub ReportNotEmbeddableSymbol(id As ERRID, symbol As Symbol, syntaxNodeOpt As SyntaxNode, diagnostics As DiagnosticBag, typeManagerOpt As EmbeddedTypesManager) 286Friend Shared Sub ReportDiagnostic(diagnostics As DiagnosticBag, id As ERRID, syntaxNodeOpt As SyntaxNode, ParamArray args As Object()) 387ReportNotEmbeddableSymbol(ERRID.ERR_InvalidStructMemberNoPIA1, type.UnderlyingNamedType.AdaptedNamedTypeSymbol, syntaxNodeOpt, diagnostics, Me) 419ReportNotEmbeddableSymbol(ERRID.ERR_InvalidStructMemberNoPIA1, type.UnderlyingNamedType.AdaptedNamedTypeSymbol, syntaxNodeOpt, diagnostics, Me) 423ReportDiagnostic(diagnostics, ERRID.ERR_InteropMethodWithBody1, syntaxNodeOpt, method.AdaptedMethodSymbol.ToDisplayString(SymbolDisplayFormat.MinimallyQualifiedFormat))
Emit\PEAssemblyBuilder.vb (2)
102context.Diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_CryptoHashFailed), NoLocation.Singleton)) 130diagnostics.Add(ERRID.ERR_UnsupportedModule1, NoLocation.Singleton, modules(i))
Emit\PEModuleBuilder.vb (8)
147diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.WRN_ReferencedAssemblyDoesNotHaveStrongName, assembly), NoLocation.Singleton) 153diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.WRN_RefCultureMismatch, assembly, refIdentity.CultureName), NoLocation.Singleton) 170diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.WRN_ConflictingMachineAssembly, assembly), NoLocation.Singleton) 456diagnostics.Add(ERRID.ERR_ExportedTypeConflictsWithDeclaration, NoLocation.Singleton, type, type.ContainingModule) 458diagnostics.Add(ERRID.ERR_ForwardedTypeConflictsWithDeclaration, NoLocation.Singleton, CustomSymbolDisplayFormatter.DefaultErrorFormat(type)) 473diagnostics.Add(ERRID.ERR_ExportedTypesConflict, NoLocation.Singleton, 480diagnostics.Add(ERRID.ERR_ForwardedTypeConflictsWithExportedType, NoLocation.Singleton, 487diagnostics.Add(ERRID.ERR_ForwardedTypesConflict, NoLocation.Singleton,
Emit\SymbolTranslator.vb (2)
145If(diagInfo, ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, String.Empty)), 237ErrorFactory.ErrorInfo(ERRID.ERR_PredefinedValueTupleTypeMustBeStruct, namedTypeSymbol.MetadataName),
Errors\CustomDiagnostics.vb (3)
31Friend Sub New(badSymbol As Symbol, errid As ERRID) 37Friend Sub New(badSymbol As Symbol, errid As ERRID, ParamArray additionalArgs As Object()) 76Friend Sub New(errid As ERRID, symbols As ImmutableArray(Of Symbol), ParamArray args As Object())
Errors\DiagnosticBagExtensions.vb (2)
25Friend Function Add(diagnostics As DiagnosticBag, code As ERRID, location As Location) As DiagnosticInfo 41Friend Function Add(diagnostics As DiagnosticBag, code As ERRID, location As Location, ParamArray args As Object()) As DiagnosticInfo
Errors\DiagnosticFormatter.vb (1)
28Return diagnostic.Descriptor.HelpLinkUri = ErrorFactory.GetHelpLink(CType(diagnostic.Code, ERRID))
Errors\ErrorFactories.vb (35)
18Private Shared ReadOnly s_categoriesMap As Lazy(Of ImmutableDictionary(Of ERRID, String)) = New Lazy(Of ImmutableDictionary(Of ERRID, String))(AddressOf CreateCategoriesMap) 20Private Shared Function CreateCategoriesMap() As ImmutableDictionary(Of ERRID, String) 21Dim map = New Dictionary(Of ERRID, String) From 28Public Shared ReadOnly VoidDiagnosticInfo As DiagnosticInfo = ErrorInfo(ERRID.Void) 29Public Shared ReadOnly EmptyDiagnosticInfo As DiagnosticInfo = ErrorInfo(ERRID.ERR_None) 32Function() ErrorInfo(ERRID.ERR_WithEventsRequiresClass) 35Function() ErrorInfo(ERRID.ERR_StrictDisallowImplicitObject) 38Function() ErrorInfo(ERRID.WRN_ObjectAssumedVar1, ErrorInfo(ERRID.WRN_StaticLocalNoInference)) 41Function() ErrorInfo(ERRID.WRN_ObjectAssumedVar1, ErrorInfo(ERRID.WRN_MissingAsClauseinVarDecl)) 44Function() ErrorInfo(ERRID.ERR_StrictDisallowsImplicitProc) 47Function() ErrorInfo(ERRID.ERR_StrictDisallowsImplicitArgs) 50Function() ErrorInfo(ERRID.WRN_ObjectAssumed1, ErrorInfo(ERRID.WRN_MissingAsClauseinFunction)) 53Function() ErrorInfo(ERRID.WRN_ObjectAssumed1, ErrorInfo(ERRID.WRN_MissingAsClauseinOperator)) 56Function() ErrorInfo(ERRID.WRN_ObjectAssumedProperty1, ErrorInfo(ERRID.WRN_MissingAsClauseinProperty)) 58Public Shared Function ErrorInfo(id As ERRID) As DiagnosticInfo 62Public Shared Function ErrorInfo(id As ERRID, ParamArray arguments As Object()) As DiagnosticInfo 66Public Shared Function ObsoleteErrorInfo(id As ERRID, data As ObsoleteAttributeData, ParamArray arguments As Object()) As CustomObsoleteDiagnosticInfo 70Public Shared Function ErrorInfo(id As ERRID, ByRef syntaxToken As SyntaxToken) As DiagnosticInfo 74Public Shared Function ErrorInfo(id As ERRID, ByRef syntaxTokenKind As SyntaxKind) As DiagnosticInfo 78Public Shared Function ErrorInfo(id As ERRID, ByRef syntaxToken As SyntaxToken, type As TypeSymbol) As DiagnosticInfo 82Public Shared Function ErrorInfo(id As ERRID, ByRef syntaxToken As SyntaxToken, type1 As TypeSymbol, type2 As TypeSymbol) As DiagnosticInfo 90s_resourceManager = New Resources.ResourceManager(GetType(VBResources).FullName, GetType(ERRID).GetTypeInfo().Assembly) 98Friend Shared Function IdToString(id As ERRID) As String 103Public Shared Function IdToString(id As ERRID, language As CultureInfo) As String 107Public Shared Function GetMessageFormat(id As ERRID) As LocalizableResourceString 111Public Shared Function GetTitle(id As ERRID) As LocalizableResourceString 115Public Shared Function GetDescription(id As ERRID) As LocalizableResourceString 119Public Shared Function GetHelpLink(id As ERRID) As String 124Public Shared Function GetCategory(id As ERRID) As String
Errors\ErrorFacts.vb (1529)
13Public Function IsBuildOnlyDiagnostic(code As ERRID) As Boolean 14If code >= ERRID.WRN_NextAvailable Then 19Case ERRID.ERR_TypeRefResolutionError3, 20ERRID.ERR_MissingRuntimeHelper, 21ERRID.ERR_CannotGotoNonScopeBlocksWithClosure, 22ERRID.ERR_SymbolDefinedInAssembly 26Case ERRID.Void, 27ERRID.Unknown, 28ERRID.ERR_None, 29ERRID.ERR_FileNotFound, 30ERRID.ERR_ArgumentRequired, 31ERRID.WRN_BadSwitch, 32ERRID.ERR_NoSources, 33ERRID.ERR_SwitchNeedsBool, 34ERRID.ERR_NoResponseFile, 35ERRID.ERR_CantOpenFileWrite, 36ERRID.ERR_InvalidSwitchValue, 37ERRID.ERR_BinaryFile, 38ERRID.ERR_BadCodepage, 39ERRID.ERR_LibNotFound, 40ERRID.ERR_IconFileAndWin32ResFile, 41ERRID.WRN_NoConfigInResponseFile, 42ERRID.ERR_NoSourcesOut, 43ERRID.ERR_NeedModule, 44ERRID.ERR_InvalidAssemblyName, 45ERRID.FTL_InvalidInputFileName, 46ERRID.ERR_ConflictingManifestSwitches, 47ERRID.WRN_IgnoreModuleManifest, 48ERRID.WRN_BadUILang, 49ERRID.ERR_VBCoreNetModuleConflict, 50ERRID.ERR_InvalidFormatForGuidForOption, 51ERRID.ERR_MissingGuidForOption, 52ERRID.ERR_BadChecksumAlgorithm, 53ERRID.ERR_MutuallyExclusiveOptions, 54ERRID.ERR_BadSwitchValue, 55ERRID.ERR_InvalidInNamespace, 56ERRID.ERR_UndefinedType1, 57ERRID.ERR_MissingNext, 58ERRID.ERR_IllegalCharConstant, 59ERRID.ERR_UnreferencedAssemblyEvent3, 60ERRID.ERR_UnreferencedModuleEvent3, 61ERRID.ERR_LbExpectedEndIf, 62ERRID.ERR_LbNoMatchingIf, 63ERRID.ERR_LbBadElseif, 64ERRID.ERR_InheritsFromRestrictedType1, 65ERRID.ERR_InvOutsideProc, 66ERRID.ERR_DelegateCantImplement, 67ERRID.ERR_DelegateCantHandleEvents, 68ERRID.ERR_IsOperatorRequiresReferenceTypes1, 69ERRID.ERR_TypeOfRequiresReferenceType1, 70ERRID.ERR_ReadOnlyHasSet, 71ERRID.ERR_WriteOnlyHasGet, 72ERRID.ERR_InvInsideProc, 73ERRID.ERR_EndProp, 74ERRID.ERR_EndSubExpected, 75ERRID.ERR_EndFunctionExpected, 76ERRID.ERR_LbElseNoMatchingIf, 77ERRID.ERR_CantRaiseBaseEvent, 78ERRID.ERR_TryWithoutCatchOrFinally, 79ERRID.ERR_EventsCantBeFunctions, 80ERRID.ERR_MissingEndBrack, 81ERRID.ERR_Syntax, 82ERRID.ERR_Overflow, 83ERRID.ERR_IllegalChar, 84ERRID.ERR_StrictDisallowsObjectOperand1, 85ERRID.ERR_LoopControlMustNotBeProperty, 86ERRID.ERR_MethodBodyNotAtLineStart, 87ERRID.ERR_MaximumNumberOfErrors, 88ERRID.ERR_UseOfKeywordNotInInstanceMethod1, 89ERRID.ERR_UseOfKeywordFromStructure1, 90ERRID.ERR_BadAttributeConstructor1, 91ERRID.ERR_ParamArrayWithOptArgs, 92ERRID.ERR_ExpectedArray1, 93ERRID.ERR_ParamArrayNotArray, 94ERRID.ERR_ParamArrayRank, 95ERRID.ERR_ArrayRankLimit, 96ERRID.ERR_AsNewArray, 97ERRID.ERR_TooManyArgs1, 98ERRID.ERR_ExpectedCase, 99ERRID.ERR_RequiredConstExpr, 100ERRID.ERR_RequiredConstConversion2, 101ERRID.ERR_InvalidMe, 102ERRID.ERR_ReadOnlyAssignment, 103ERRID.ERR_ExitSubOfFunc, 104ERRID.ERR_ExitPropNot, 105ERRID.ERR_ExitFuncOfSub, 106ERRID.ERR_LValueRequired, 107ERRID.ERR_ForIndexInUse1, 108ERRID.ERR_NextForMismatch1, 109ERRID.ERR_CaseElseNoSelect, 110ERRID.ERR_CaseNoSelect, 111ERRID.ERR_CantAssignToConst, 112ERRID.ERR_NamedSubscript, 113ERRID.ERR_ExpectedEndIf, 114ERRID.ERR_ExpectedEndWhile, 115ERRID.ERR_ExpectedLoop, 116ERRID.ERR_ExpectedNext, 117ERRID.ERR_ExpectedEndWith, 118ERRID.ERR_ElseNoMatchingIf, 119ERRID.ERR_EndIfNoMatchingIf, 120ERRID.ERR_EndSelectNoSelect, 121ERRID.ERR_ExitDoNotWithinDo, 122ERRID.ERR_EndWhileNoWhile, 123ERRID.ERR_LoopNoMatchingDo, 124ERRID.ERR_NextNoMatchingFor, 125ERRID.ERR_EndWithWithoutWith, 126ERRID.ERR_MultiplyDefined1, 127ERRID.ERR_ExpectedEndSelect, 128ERRID.ERR_ExitForNotWithinFor, 129ERRID.ERR_ExitWhileNotWithinWhile, 130ERRID.ERR_ReadOnlyProperty1, 131ERRID.ERR_ExitSelectNotWithinSelect, 132ERRID.ERR_BranchOutOfFinally, 133ERRID.ERR_QualNotObjectRecord1, 134ERRID.ERR_TooFewIndices, 135ERRID.ERR_TooManyIndices, 136ERRID.ERR_EnumNotExpression1, 137ERRID.ERR_TypeNotExpression1, 138ERRID.ERR_ClassNotExpression1, 139ERRID.ERR_StructureNotExpression1, 140ERRID.ERR_InterfaceNotExpression1, 141ERRID.ERR_NamespaceNotExpression1, 142ERRID.ERR_BadNamespaceName1, 143ERRID.ERR_XmlPrefixNotExpression, 144ERRID.ERR_MultipleExtends, 145ERRID.ERR_PropMustHaveGetSet, 146ERRID.ERR_WriteOnlyHasNoWrite, 147ERRID.ERR_ReadOnlyHasNoGet, 148ERRID.ERR_BadAttribute1, 149ERRID.ERR_LabelNotDefined1, 150ERRID.ERR_ErrorCreatingWin32ResourceFile, 151ERRID.ERR_UnableToCreateTempFile, 152ERRID.ERR_RequiredNewCall2, 153ERRID.ERR_UnimplementedMember3, 154ERRID.ERR_BadWithRef, 155ERRID.ERR_DuplicateAccessCategoryUsed, 156ERRID.ERR_DuplicateModifierCategoryUsed, 157ERRID.ERR_DuplicateSpecifier, 158ERRID.ERR_TypeConflict6, 159ERRID.ERR_UnrecognizedTypeKeyword, 160ERRID.ERR_ExtraSpecifiers, 161ERRID.ERR_UnrecognizedType, 162ERRID.ERR_InvalidUseOfKeyword, 163ERRID.ERR_InvalidEndEnum, 164ERRID.ERR_MissingEndEnum, 165ERRID.ERR_ExpectedDeclaration, 166ERRID.ERR_ParamArrayMustBeLast, 167ERRID.ERR_SpecifiersInvalidOnInheritsImplOpt, 168ERRID.ERR_ExpectedSpecifier, 169ERRID.ERR_ExpectedComma, 170ERRID.ERR_ExpectedAs, 171ERRID.ERR_ExpectedRparen, 172ERRID.ERR_ExpectedLparen, 173ERRID.ERR_InvalidNewInType, 174ERRID.ERR_ExpectedExpression, 175ERRID.ERR_ExpectedOptional, 176ERRID.ERR_ExpectedIdentifier, 177ERRID.ERR_ExpectedIntLiteral, 178ERRID.ERR_ExpectedEOS, 179ERRID.ERR_ExpectedForOptionStmt, 180ERRID.ERR_InvalidOptionCompare, 181ERRID.ERR_ExpectedOptionCompare, 182ERRID.ERR_StrictDisallowImplicitObject, 183ERRID.ERR_StrictDisallowsImplicitProc, 184ERRID.ERR_StrictDisallowsImplicitArgs, 185ERRID.ERR_InvalidParameterSyntax, 186ERRID.ERR_ExpectedSubFunction, 187ERRID.ERR_ExpectedStringLiteral, 188ERRID.ERR_MissingLibInDeclare, 189ERRID.ERR_DelegateNoInvoke1, 190ERRID.ERR_MissingIsInTypeOf, 191ERRID.ERR_DuplicateOption1, 192ERRID.ERR_ModuleCantInherit, 193ERRID.ERR_ModuleCantImplement, 194ERRID.ERR_BadImplementsType, 195ERRID.ERR_BadConstFlags1, 196ERRID.ERR_BadWithEventsFlags1, 197ERRID.ERR_BadDimFlags1, 198ERRID.ERR_DuplicateParamName1, 199ERRID.ERR_LoopDoubleCondition, 200ERRID.ERR_ExpectedRelational, 201ERRID.ERR_ExpectedExitKind, 202ERRID.ERR_ExpectedNamedArgument, 203ERRID.ERR_BadMethodFlags1, 204ERRID.ERR_BadEventFlags1, 205ERRID.ERR_BadDeclareFlags1, 206ERRID.ERR_BadLocalConstFlags1, 207ERRID.ERR_BadLocalDimFlags1, 208ERRID.ERR_ExpectedConditionalDirective, 209ERRID.ERR_ExpectedEQ, 210ERRID.ERR_ConstructorNotFound1, 211ERRID.ERR_InvalidEndInterface, 212ERRID.ERR_MissingEndInterface, 213ERRID.ERR_InheritsFrom2, 214ERRID.ERR_InheritanceCycle1, 215ERRID.ERR_InheritsFromNonClass, 216ERRID.ERR_MultiplyDefinedType3, 217ERRID.ERR_BadOverrideAccess2, 218ERRID.ERR_CantOverrideNotOverridable2, 219ERRID.ERR_DuplicateProcDef1, 220ERRID.ERR_BadInterfaceMethodFlags1, 221ERRID.ERR_NamedParamNotFound2, 222ERRID.ERR_BadInterfacePropertyFlags1, 223ERRID.ERR_NamedArgUsedTwice2, 224ERRID.ERR_InterfaceCantUseEventSpecifier1, 225ERRID.ERR_TypecharNoMatch2, 226ERRID.ERR_ExpectedSubOrFunction, 227ERRID.ERR_BadEmptyEnum1, 228ERRID.ERR_InvalidConstructorCall, 229ERRID.ERR_CantOverrideConstructor, 230ERRID.ERR_OverrideNotNeeded3, 231ERRID.ERR_ExpectedDot, 232ERRID.ERR_DuplicateLocals1, 233ERRID.ERR_InvInsideEndsProc, 234ERRID.ERR_LocalSameAsFunc, 235ERRID.ERR_RecordEmbeds2, 236ERRID.ERR_RecordCycle2, 237ERRID.ERR_InterfaceCycle1, 238ERRID.ERR_SubNewCycle2, 239ERRID.ERR_SubNewCycle1, 240ERRID.ERR_InheritsFromCantInherit3, 241ERRID.ERR_OverloadWithOptional2, 242ERRID.ERR_OverloadWithReturnType2, 243ERRID.ERR_TypeCharWithType1, 244ERRID.ERR_TypeCharOnSub, 245ERRID.ERR_OverloadWithDefault2, 246ERRID.ERR_MissingSubscript, 247ERRID.ERR_OverrideWithDefault2, 248ERRID.ERR_OverrideWithOptional2, 249ERRID.ERR_FieldOfValueFieldOfMarshalByRef3, 250ERRID.ERR_TypeMismatch2, 251ERRID.ERR_CaseAfterCaseElse, 252ERRID.ERR_ConvertArrayMismatch4, 253ERRID.ERR_ConvertObjectArrayMismatch3, 254ERRID.ERR_ForLoopType1, 255ERRID.ERR_OverloadWithByref2, 256ERRID.ERR_InheritsFromNonInterface, 257ERRID.ERR_BadInterfaceOrderOnInherits, 258ERRID.ERR_DuplicateDefaultProps1, 259ERRID.ERR_DefaultMissingFromProperty2, 260ERRID.ERR_OverridingPropertyKind2, 261ERRID.ERR_NewInInterface, 262ERRID.ERR_BadFlagsOnNew1, 263ERRID.ERR_OverloadingPropertyKind2, 264ERRID.ERR_NoDefaultNotExtend1, 265ERRID.ERR_OverloadWithArrayVsParamArray2, 266ERRID.ERR_BadInstanceMemberAccess, 267ERRID.ERR_ExpectedRbrace, 268ERRID.ERR_ModuleAsType1, 269ERRID.ERR_NewIfNullOnNonClass, 270ERRID.ERR_CatchAfterFinally, 271ERRID.ERR_CatchNoMatchingTry, 272ERRID.ERR_FinallyAfterFinally, 273ERRID.ERR_FinallyNoMatchingTry, 274ERRID.ERR_EndTryNoTry, 275ERRID.ERR_ExpectedEndTry, 276ERRID.ERR_BadDelegateFlags1, 277ERRID.ERR_NoConstructorOnBase2, 278ERRID.ERR_InaccessibleSymbol2, 279ERRID.ERR_InaccessibleMember3, 280ERRID.ERR_CatchNotException1, 281ERRID.ERR_ExitTryNotWithinTry, 282ERRID.ERR_BadRecordFlags1, 283ERRID.ERR_BadEnumFlags1, 284ERRID.ERR_BadInterfaceFlags1, 285ERRID.ERR_OverrideWithByref2, 286ERRID.ERR_MyBaseAbstractCall1, 287ERRID.ERR_IdentNotMemberOfInterface4, 288ERRID.ERR_ImplementingInterfaceWithDifferentTupleNames5, 289ERRID.ERR_WithEventsRequiresClass, 290ERRID.ERR_WithEventsAsStruct, 291ERRID.ERR_ConvertArrayRankMismatch2, 292ERRID.ERR_RedimRankMismatch, 293ERRID.ERR_StartupCodeNotFound1, 294ERRID.ERR_ConstAsNonConstant, 295ERRID.ERR_InvalidEndSub, 296ERRID.ERR_InvalidEndFunction, 297ERRID.ERR_InvalidEndProperty, 298ERRID.ERR_ModuleCantUseMethodSpecifier1, 299ERRID.ERR_ModuleCantUseEventSpecifier1, 300ERRID.ERR_StructCantUseVarSpecifier1, 301ERRID.ERR_InvalidOverrideDueToReturn2, 302ERRID.ERR_ConstantWithNoValue, 303ERRID.ERR_ExpressionOverflow1, 304ERRID.ERR_DuplicatePropertyGet, 305ERRID.ERR_DuplicatePropertySet, 306ERRID.ERR_NameNotDeclared1, 307ERRID.ERR_BinaryOperands3, 308ERRID.ERR_ExpectedProcedure, 309ERRID.ERR_OmittedArgument2, 310ERRID.ERR_NameNotMember2, 311ERRID.ERR_EndClassNoClass, 312ERRID.ERR_BadClassFlags1, 313ERRID.ERR_ImportsMustBeFirst, 314ERRID.ERR_NonNamespaceOrClassOnImport2, 315ERRID.ERR_TypecharNotallowed, 316ERRID.ERR_ObjectReferenceNotSupplied, 317ERRID.ERR_MyClassNotInClass, 318ERRID.ERR_IndexedNotArrayOrProc, 319ERRID.ERR_EventSourceIsArray, 320ERRID.ERR_SharedConstructorWithParams, 321ERRID.ERR_SharedConstructorIllegalSpec1, 322ERRID.ERR_ExpectedEndClass, 323ERRID.ERR_UnaryOperand2, 324ERRID.ERR_BadFlagsWithDefault1, 325ERRID.ERR_VoidValue, 326ERRID.ERR_ConstructorFunction, 327ERRID.ERR_InvalidLiteralExponent, 328ERRID.ERR_NewCannotHandleEvents, 329ERRID.ERR_CircularEvaluation1, 330ERRID.ERR_BadFlagsOnSharedMeth1, 331ERRID.ERR_BadFlagsOnSharedProperty1, 332ERRID.ERR_BadFlagsOnStdModuleProperty1, 333ERRID.ERR_SharedOnProcThatImpl, 334ERRID.ERR_NoWithEventsVarOnHandlesList, 335ERRID.ERR_AccessMismatch6, 336ERRID.ERR_InheritanceAccessMismatch5, 337ERRID.ERR_NarrowingConversionDisallowed2, 338ERRID.ERR_NoArgumentCountOverloadCandidates1, 339ERRID.ERR_NoViableOverloadCandidates1, 340ERRID.ERR_NoCallableOverloadCandidates2, 341ERRID.ERR_NoNonNarrowingOverloadCandidates2, 342ERRID.ERR_ArgumentNarrowing3, 343ERRID.ERR_NoMostSpecificOverload2, 344ERRID.ERR_NotMostSpecificOverload, 345ERRID.ERR_OverloadCandidate2, 346ERRID.ERR_NoGetProperty1, 347ERRID.ERR_NoSetProperty1, 348ERRID.ERR_ParamTypingInconsistency, 349ERRID.ERR_ParamNameFunctionNameCollision, 350ERRID.ERR_DateToDoubleConversion, 351ERRID.ERR_DoubleToDateConversion, 352ERRID.ERR_ZeroDivide, 353ERRID.ERR_TryAndOnErrorDoNotMix, 354ERRID.ERR_PropertyAccessIgnored, 355ERRID.ERR_InterfaceNoDefault1, 356ERRID.ERR_InvalidAssemblyAttribute1, 357ERRID.ERR_InvalidModuleAttribute1, 358ERRID.ERR_AmbiguousInUnnamedNamespace1, 359ERRID.ERR_DefaultMemberNotProperty1, 360ERRID.ERR_AmbiguousInNamespace2, 361ERRID.ERR_AmbiguousInImports2, 362ERRID.ERR_AmbiguousInModules2, 363ERRID.ERR_ArrayInitializerTooFewDimensions, 364ERRID.ERR_ArrayInitializerTooManyDimensions, 365ERRID.ERR_InitializerTooFewElements1, 366ERRID.ERR_InitializerTooManyElements1, 367ERRID.ERR_NewOnAbstractClass, 368ERRID.ERR_DuplicateNamedImportAlias1, 369ERRID.ERR_DuplicatePrefix, 370ERRID.ERR_StrictDisallowsLateBinding, 371ERRID.ERR_AddressOfOperandNotMethod, 372ERRID.ERR_EndExternalSource, 373ERRID.ERR_ExpectedEndExternalSource, 374ERRID.ERR_NestedExternalSource, 375ERRID.ERR_AddressOfNotDelegate1, 376ERRID.ERR_SyncLockRequiresReferenceType1, 377ERRID.ERR_MethodAlreadyImplemented2, 378ERRID.ERR_DuplicateInInherits1, 379ERRID.ERR_NamedParamArrayArgument, 380ERRID.ERR_OmittedParamArrayArgument, 381ERRID.ERR_ParamArrayArgumentMismatch, 382ERRID.ERR_EventNotFound1, 383ERRID.ERR_ModuleCantUseVariableSpecifier1, 384ERRID.ERR_SharedEventNeedsSharedHandler, 385ERRID.ERR_ExpectedMinus, 386ERRID.ERR_InterfaceMemberSyntax, 387ERRID.ERR_InvInsideInterface, 388ERRID.ERR_InvInsideEndsInterface, 389ERRID.ERR_BadFlagsInNotInheritableClass1, 390ERRID.ERR_UnimplementedMustOverride, 391ERRID.ERR_BaseOnlyClassesMustBeExplicit2, 392ERRID.ERR_NegativeArraySize, 393ERRID.ERR_MyClassAbstractCall1, 394ERRID.ERR_EndDisallowedInDllProjects, 395ERRID.ERR_BlockLocalShadowing1, 396ERRID.ERR_ModuleNotAtNamespace, 397ERRID.ERR_NamespaceNotAtNamespace, 398ERRID.ERR_InvInsideEndsEnum, 399ERRID.ERR_InvalidOptionStrict, 400ERRID.ERR_EndStructureNoStructure, 401ERRID.ERR_EndModuleNoModule, 402ERRID.ERR_EndNamespaceNoNamespace, 403ERRID.ERR_ExpectedEndStructure, 404ERRID.ERR_ExpectedEndModule, 405ERRID.ERR_ExpectedEndNamespace, 406ERRID.ERR_OptionStmtWrongOrder, 407ERRID.ERR_StructCantInherit, 408ERRID.ERR_NewInStruct, 409ERRID.ERR_InvalidEndGet, 410ERRID.ERR_MissingEndGet, 411ERRID.ERR_InvalidEndSet, 412ERRID.ERR_MissingEndSet, 413ERRID.ERR_InvInsideEndsProperty, 414ERRID.ERR_DuplicateWriteabilityCategoryUsed, 415ERRID.ERR_ExpectedGreater, 416ERRID.ERR_AttributeStmtWrongOrder, 417ERRID.ERR_NoExplicitArraySizes, 418ERRID.ERR_BadPropertyFlags1, 419ERRID.ERR_InvalidOptionExplicit, 420ERRID.ERR_MultipleParameterSpecifiers, 421ERRID.ERR_MultipleOptionalParameterSpecifiers, 422ERRID.ERR_UnsupportedProperty1, 423ERRID.ERR_InvalidOptionalParameterUsage1, 424ERRID.ERR_ReturnFromNonFunction, 425ERRID.ERR_UnterminatedStringLiteral, 426ERRID.ERR_UnsupportedType1, 427ERRID.ERR_InvalidEnumBase, 428ERRID.ERR_ByRefIllegal1, 429ERRID.ERR_UnreferencedAssembly3, 430ERRID.ERR_UnreferencedModule3, 431ERRID.ERR_ReturnWithoutValue, 432ERRID.ERR_UnsupportedField1, 433ERRID.ERR_UnsupportedMethod1, 434ERRID.ERR_NoNonIndexProperty1, 435ERRID.ERR_BadAttributePropertyType1, 436ERRID.ERR_LocalsCannotHaveAttributes, 437ERRID.ERR_PropertyOrFieldNotDefined1, 438ERRID.ERR_InvalidAttributeUsage2, 439ERRID.ERR_InvalidMultipleAttributeUsage1, 440ERRID.ERR_CantThrowNonException, 441ERRID.ERR_MustBeInCatchToRethrow, 442ERRID.ERR_ParamArrayMustBeByVal, 443ERRID.ERR_UseOfObsoleteSymbol2, 444ERRID.ERR_RedimNoSizes, 445ERRID.ERR_InitWithMultipleDeclarators, 446ERRID.ERR_InitWithExplicitArraySizes, 447ERRID.ERR_EndSyncLockNoSyncLock, 448ERRID.ERR_ExpectedEndSyncLock, 449ERRID.ERR_NameNotEvent2, 450ERRID.ERR_AddOrRemoveHandlerEvent, 451ERRID.ERR_UnrecognizedEnd, 452ERRID.ERR_ArrayInitForNonArray2, 453ERRID.ERR_EndRegionNoRegion, 454ERRID.ERR_ExpectedEndRegion, 455ERRID.ERR_InheritsStmtWrongOrder, 456ERRID.ERR_AmbiguousAcrossInterfaces3, 457ERRID.ERR_DefaultPropertyAmbiguousAcrossInterfaces4, 458ERRID.ERR_InterfaceEventCantUse1, 459ERRID.ERR_ExecutableAsDeclaration, 460ERRID.ERR_StructureNoDefault1, 461ERRID.ERR_MustShadow2, 462ERRID.ERR_OverrideWithOptionalTypes2, 463ERRID.ERR_ExpectedEndOfExpression, 464ERRID.ERR_StructsCannotHandleEvents, 465ERRID.ERR_OverridesImpliesOverridable, 466ERRID.ERR_LocalNamedSameAsParam1, 467ERRID.ERR_ModuleCantUseTypeSpecifier1, 468ERRID.ERR_InValidSubMainsFound1, 469ERRID.ERR_MoreThanOneValidMainWasFound2, 470ERRID.ERR_CannotConvertValue2, 471ERRID.ERR_OnErrorInSyncLock, 472ERRID.ERR_NarrowingConversionCollection2, 473ERRID.ERR_GotoIntoTryHandler, 474ERRID.ERR_GotoIntoSyncLock, 475ERRID.ERR_GotoIntoWith, 476ERRID.ERR_GotoIntoFor, 477ERRID.ERR_BadAttributeNonPublicConstructor, 478ERRID.ERR_DefaultEventNotFound1, 479ERRID.ERR_InvalidNonSerializedUsage, 480ERRID.ERR_ExpectedContinueKind, 481ERRID.ERR_ContinueDoNotWithinDo, 482ERRID.ERR_ContinueForNotWithinFor, 483ERRID.ERR_ContinueWhileNotWithinWhile, 484ERRID.ERR_DuplicateParameterSpecifier, 485ERRID.ERR_ModuleCantUseDLLDeclareSpecifier1, 486ERRID.ERR_StructCantUseDLLDeclareSpecifier1, 487ERRID.ERR_TryCastOfValueType1, 488ERRID.ERR_TryCastOfUnconstrainedTypeParam1, 489ERRID.ERR_AmbiguousDelegateBinding2, 490ERRID.ERR_SharedStructMemberCannotSpecifyNew, 491ERRID.ERR_GenericSubMainsFound1, 492ERRID.ERR_GeneralProjectImportsError3, 493ERRID.ERR_InvalidTypeForAliasesImport2, 494ERRID.ERR_UnsupportedConstant2, 495ERRID.ERR_ObsoleteArgumentsNeedParens, 496ERRID.ERR_ObsoleteLineNumbersAreLabels, 497ERRID.ERR_ObsoleteStructureNotType, 498ERRID.ERR_ObsoleteObjectNotVariant, 499ERRID.ERR_ObsoleteLetSetNotNeeded, 500ERRID.ERR_ObsoletePropertyGetLetSet, 501ERRID.ERR_ObsoleteWhileWend, 502ERRID.ERR_ObsoleteRedimAs, 503ERRID.ERR_ObsoleteOptionalWithoutValue, 504ERRID.ERR_ObsoleteGosub, 505ERRID.ERR_ObsoleteOnGotoGosub, 506ERRID.ERR_ObsoleteEndIf, 507ERRID.ERR_ObsoleteExponent, 508ERRID.ERR_ObsoleteAsAny, 509ERRID.ERR_ObsoleteGetStatement, 510ERRID.ERR_OverrideWithArrayVsParamArray2, 511ERRID.ERR_CircularBaseDependencies4, 512ERRID.ERR_NestedBase2, 513ERRID.ERR_AccessMismatchOutsideAssembly4, 514ERRID.ERR_InheritanceAccessMismatchOutside3, 515ERRID.ERR_UseOfObsoletePropertyAccessor3, 516ERRID.ERR_UseOfObsoletePropertyAccessor2, 517ERRID.ERR_AccessMismatchImplementedEvent6, 518ERRID.ERR_AccessMismatchImplementedEvent4, 519ERRID.ERR_InheritanceCycleInImportedType1, 520ERRID.ERR_NoNonObsoleteConstructorOnBase3, 521ERRID.ERR_NoNonObsoleteConstructorOnBase4, 522ERRID.ERR_RequiredNonObsoleteNewCall3, 523ERRID.ERR_RequiredNonObsoleteNewCall4, 524ERRID.ERR_InheritsTypeArgAccessMismatch7, 525ERRID.ERR_InheritsTypeArgAccessMismatchOutside5, 526ERRID.ERR_PartialTypeAccessMismatch3, 527ERRID.ERR_PartialTypeBadMustInherit1, 528ERRID.ERR_MustOverOnNotInheritPartClsMem1, 529ERRID.ERR_BaseMismatchForPartialClass3, 530ERRID.ERR_PartialTypeTypeParamNameMismatch3, 531ERRID.ERR_PartialTypeConstraintMismatch1, 532ERRID.ERR_LateBoundOverloadInterfaceCall1, 533ERRID.ERR_RequiredAttributeConstConversion2, 534ERRID.ERR_AmbiguousOverrides3, 535ERRID.ERR_OverriddenCandidate1, 536ERRID.ERR_AmbiguousImplements3, 537ERRID.ERR_AddressOfNotCreatableDelegate1, 538ERRID.ERR_ComClassGenericMethod, 539ERRID.ERR_SyntaxInCastOp, 540ERRID.ERR_ArrayInitializerForNonConstDim, 541ERRID.ERR_DelegateBindingFailure3, 542ERRID.ERR_StructLayoutAttributeNotAllowed, 543ERRID.ERR_IterationVariableShadowLocal1, 544ERRID.ERR_InvalidOptionInfer, 545ERRID.ERR_CircularInference1, 546ERRID.ERR_InAccessibleOverridingMethod5, 547ERRID.ERR_NoSuitableWidestType1, 548ERRID.ERR_AmbiguousWidestType3, 549ERRID.ERR_ExpectedAssignmentOperatorInInit, 550ERRID.ERR_ExpectedQualifiedNameInInit, 551ERRID.ERR_ExpectedLbrace, 552ERRID.ERR_UnrecognizedTypeOrWith, 553ERRID.ERR_DuplicateAggrMemberInit1, 554ERRID.ERR_NonFieldPropertyAggrMemberInit1, 555ERRID.ERR_SharedMemberAggrMemberInit1, 556ERRID.ERR_ParameterizedPropertyInAggrInit1, 557ERRID.ERR_NoZeroCountArgumentInitCandidates1, 558ERRID.ERR_AggrInitInvalidForObject, 559ERRID.ERR_InitializerExpected, 560ERRID.ERR_LineContWithCommentOrNoPrecSpace, 561ERRID.ERR_InvInsideEnum, 562ERRID.ERR_InvInsideBlock, 563ERRID.ERR_UnexpectedExpressionStatement, 564ERRID.ERR_WinRTEventWithoutDelegate, 565ERRID.ERR_SecurityCriticalAsyncInClassOrStruct, 566ERRID.ERR_SecurityCriticalAsync, 567ERRID.ERR_BadModuleFile1, 568ERRID.ERR_BadRefLib1, 569ERRID.ERR_EventHandlerSignatureIncompatible2, 570ERRID.ERR_ConditionalCompilationConstantNotValid, 571ERRID.ERR_InterfaceImplementedTwice1, 572ERRID.ERR_InterfaceNotImplemented1, 573ERRID.ERR_AmbiguousImplementsMember3, 574ERRID.ERR_ImplementsOnNew, 575ERRID.ERR_ArrayInitInStruct, 576ERRID.ERR_EventTypeNotDelegate, 577ERRID.ERR_ProtectedTypeOutsideClass, 578ERRID.ERR_DefaultPropertyWithNoParams, 579ERRID.ERR_InitializerInStruct, 580ERRID.ERR_DuplicateImport1, 581ERRID.ERR_BadModuleFlags1, 582ERRID.ERR_ImplementsStmtWrongOrder, 583ERRID.ERR_MemberConflictWithSynth4, 584ERRID.ERR_SynthMemberClashesWithSynth7, 585ERRID.ERR_SynthMemberClashesWithMember5, 586ERRID.ERR_MemberClashesWithSynth6, 587ERRID.ERR_SetHasOnlyOneParam, 588ERRID.ERR_SetValueNotPropertyType, 589ERRID.ERR_SetHasToBeByVal1, 590ERRID.ERR_StructureCantUseProtected, 591ERRID.ERR_BadInterfaceDelegateSpecifier1, 592ERRID.ERR_BadInterfaceEnumSpecifier1, 593ERRID.ERR_BadInterfaceClassSpecifier1, 594ERRID.ERR_BadInterfaceStructSpecifier1, 595ERRID.ERR_UseOfObsoleteSymbolNoMessage1, 596ERRID.ERR_MetaDataIsNotAssembly, 597ERRID.ERR_MetaDataIsNotModule, 598ERRID.ERR_ReferenceComparison3, 599ERRID.ERR_CatchVariableNotLocal1, 600ERRID.ERR_ModuleMemberCantImplement, 601ERRID.ERR_EventDelegatesCantBeFunctions, 602ERRID.ERR_InvalidDate, 603ERRID.ERR_CantOverride4, 604ERRID.ERR_CantSpecifyArraysOnBoth, 605ERRID.ERR_NotOverridableRequiresOverrides, 606ERRID.ERR_PrivateTypeOutsideType, 607ERRID.ERR_ParamArrayWrongType, 608ERRID.ERR_CoClassMissing2, 609ERRID.ERR_InvalidMeReference, 610ERRID.ERR_InvalidImplicitMeReference, 611ERRID.ERR_RuntimeMemberNotFound2, 612ERRID.ERR_BadPropertyAccessorFlags, 613ERRID.ERR_BadPropertyAccessorFlagsRestrict, 614ERRID.ERR_OnlyOneAccessorForGetSet, 615ERRID.ERR_NoAccessibleSet, 616ERRID.ERR_NoAccessibleGet, 617ERRID.ERR_WriteOnlyNoAccessorFlag, 618ERRID.ERR_ReadOnlyNoAccessorFlag, 619ERRID.ERR_BadPropertyAccessorFlags1, 620ERRID.ERR_BadPropertyAccessorFlags2, 621ERRID.ERR_BadPropertyAccessorFlags3, 622ERRID.ERR_InAccessibleCoClass3, 623ERRID.ERR_MissingValuesForArraysInApplAttrs, 624ERRID.ERR_ExitEventMemberNotInvalid, 625ERRID.ERR_InvInsideEndsEvent, 626ERRID.ERR_MissingEndEvent, 627ERRID.ERR_MissingEndAddHandler, 628ERRID.ERR_MissingEndRemoveHandler, 629ERRID.ERR_MissingEndRaiseEvent, 630ERRID.ERR_CustomEventInvInInterface, 631ERRID.ERR_CustomEventRequiresAs, 632ERRID.ERR_InvalidEndEvent, 633ERRID.ERR_InvalidEndAddHandler, 634ERRID.ERR_InvalidEndRemoveHandler, 635ERRID.ERR_InvalidEndRaiseEvent, 636ERRID.ERR_DuplicateAddHandlerDef, 637ERRID.ERR_DuplicateRemoveHandlerDef, 638ERRID.ERR_DuplicateRaiseEventDef, 639ERRID.ERR_MissingAddHandlerDef1, 640ERRID.ERR_MissingRemoveHandlerDef1, 641ERRID.ERR_MissingRaiseEventDef1, 642ERRID.ERR_EventAddRemoveHasOnlyOneParam, 643ERRID.ERR_EventAddRemoveByrefParamIllegal, 644ERRID.ERR_SpecifiersInvOnEventMethod, 645ERRID.ERR_AddRemoveParamNotEventType, 646ERRID.ERR_RaiseEventShapeMismatch1, 647ERRID.ERR_EventMethodOptionalParamIllegal1, 648ERRID.ERR_CantReferToMyGroupInsideGroupType1, 649ERRID.ERR_InvalidUseOfCustomModifier, 650ERRID.ERR_InvalidOptionStrictCustom, 651ERRID.ERR_ObsoleteInvalidOnEventMember, 652ERRID.ERR_DelegateBindingIncompatible2, 653ERRID.ERR_ExpectedXmlName, 654ERRID.ERR_UndefinedXmlPrefix, 655ERRID.ERR_DuplicateXmlAttribute, 656ERRID.ERR_MismatchedXmlEndTag, 657ERRID.ERR_MissingXmlEndTag, 658ERRID.ERR_ReservedXmlPrefix, 659ERRID.ERR_MissingVersionInXmlDecl, 660ERRID.ERR_IllegalAttributeInXmlDecl, 661ERRID.ERR_QuotedEmbeddedExpression, 662ERRID.ERR_VersionMustBeFirstInXmlDecl, 663ERRID.ERR_AttributeOrder, 664ERRID.ERR_ExpectedXmlEndEmbedded, 665ERRID.ERR_ExpectedXmlEndPI, 666ERRID.ERR_ExpectedXmlEndComment, 667ERRID.ERR_ExpectedXmlEndCData, 668ERRID.ERR_ExpectedSQuote, 669ERRID.ERR_ExpectedQuote, 670ERRID.ERR_ExpectedLT, 671ERRID.ERR_StartAttributeValue, 672ERRID.ERR_ExpectedDiv, 673ERRID.ERR_NoXmlAxesLateBinding, 674ERRID.ERR_IllegalXmlStartNameChar, 675ERRID.ERR_IllegalXmlNameChar, 676ERRID.ERR_IllegalXmlCommentChar, 677ERRID.ERR_EmbeddedExpression, 678ERRID.ERR_ExpectedXmlWhiteSpace, 679ERRID.ERR_IllegalProcessingInstructionName, 680ERRID.ERR_DTDNotSupported, 681ERRID.ERR_IllegalXmlWhiteSpace, 682ERRID.ERR_ExpectedSColon, 683ERRID.ERR_ExpectedXmlBeginEmbedded, 684ERRID.ERR_XmlEntityReference, 685ERRID.ERR_InvalidAttributeValue1, 686ERRID.ERR_InvalidAttributeValue2, 687ERRID.ERR_ReservedXmlNamespace, 688ERRID.ERR_IllegalDefaultNamespace, 689ERRID.ERR_QualifiedNameNotAllowed, 690ERRID.ERR_ExpectedXmlns, 691ERRID.ERR_IllegalXmlnsPrefix, 692ERRID.ERR_XmlFeaturesNotAvailable, 693ERRID.ERR_UnableToReadUacManifest2, 694ERRID.ERR_TypeMismatchForXml3, 695ERRID.ERR_BinaryOperandsForXml4, 696ERRID.ERR_FullWidthAsXmlDelimiter, 697ERRID.ERR_XmlEndCDataNotAllowedInContent, 698ERRID.ERR_EventImplRemoveHandlerParamWrong, 699ERRID.ERR_MixingWinRTAndNETEvents, 700ERRID.ERR_AddParamWrongForWinRT, 701ERRID.ERR_RemoveParamWrongForWinRT, 702ERRID.ERR_ReImplementingWinRTInterface5, 703ERRID.ERR_ReImplementingWinRTInterface4, 704ERRID.ERR_XmlEndElementNoMatchingStart, 705ERRID.ERR_UndefinedTypeOrNamespace1, 706ERRID.ERR_BadInterfaceInterfaceSpecifier1, 707ERRID.ERR_TypeClashesWithVbCoreType4, 708ERRID.ERR_SecurityAttributeMissingAction, 709ERRID.ERR_SecurityAttributeInvalidAction, 710ERRID.ERR_SecurityAttributeInvalidActionAssembly, 711ERRID.ERR_SecurityAttributeInvalidActionTypeOrMethod, 712ERRID.ERR_PrincipalPermissionInvalidAction, 713ERRID.ERR_PermissionSetAttributeInvalidFile, 714ERRID.ERR_PermissionSetAttributeFileReadError, 715ERRID.ERR_ExpectedWarningKeyword, 716ERRID.ERR_InvalidHashAlgorithmName, 717ERRID.ERR_InvalidSubsystemVersion, 718ERRID.ERR_LibAnycpu32bitPreferredConflict, 719ERRID.ERR_RestrictedAccess, 720ERRID.ERR_RestrictedConversion1, 721ERRID.ERR_NoTypecharInLabel, 722ERRID.ERR_RestrictedType1, 723ERRID.ERR_NoTypecharInAlias, 724ERRID.ERR_NoAccessibleConstructorOnBase, 725ERRID.ERR_BadStaticLocalInStruct, 726ERRID.ERR_DuplicateLocalStatic1, 727ERRID.ERR_ImportAliasConflictsWithType2, 728ERRID.ERR_CantShadowAMustOverride1, 729ERRID.ERR_MultipleEventImplMismatch3, 730ERRID.ERR_BadSpecifierCombo2, 731ERRID.ERR_MustBeOverloads2, 732ERRID.ERR_MustOverridesInClass1, 733ERRID.ERR_HandlesSyntaxInClass, 734ERRID.ERR_SynthMemberShadowsMustOverride5, 735ERRID.ERR_CannotOverrideInAccessibleMember, 736ERRID.ERR_HandlesSyntaxInModule, 737ERRID.ERR_IsNotOpRequiresReferenceTypes1, 738ERRID.ERR_ClashWithReservedEnumMember1, 739ERRID.ERR_MultiplyDefinedEnumMember2, 740ERRID.ERR_BadUseOfVoid, 741ERRID.ERR_EventImplMismatch5, 742ERRID.ERR_ForwardedTypeUnavailable3, 743ERRID.ERR_TypeFwdCycle2, 744ERRID.ERR_BadTypeInCCExpression, 745ERRID.ERR_BadCCExpression, 746ERRID.ERR_VoidArrayDisallowed, 747ERRID.ERR_MetadataMembersAmbiguous3, 748ERRID.ERR_TypeOfExprAlwaysFalse2, 749ERRID.ERR_OnlyPrivatePartialMethods1, 750ERRID.ERR_PartialMethodsMustBePrivate, 751ERRID.ERR_OnlyOnePartialMethodAllowed2, 752ERRID.ERR_OnlyOneImplementingMethodAllowed3, 753ERRID.ERR_PartialMethodMustBeEmpty, 754ERRID.ERR_PartialMethodsMustBeSub1, 755ERRID.ERR_PartialMethodGenericConstraints2, 756ERRID.ERR_PartialDeclarationImplements1, 757ERRID.ERR_NoPartialMethodInAddressOf1, 758ERRID.ERR_ImplementationMustBePrivate2, 759ERRID.ERR_PartialMethodParamNamesMustMatch3, 760ERRID.ERR_PartialMethodTypeParamNameMismatch3, 761ERRID.ERR_PropertyDoesntImplementAllAccessors, 762ERRID.ERR_InvalidAttributeUsageOnAccessor, 763ERRID.ERR_NestedTypeInInheritsClause2, 764ERRID.ERR_TypeInItsInheritsClause1, 765ERRID.ERR_BaseTypeReferences2, 766ERRID.ERR_IllegalBaseTypeReferences3, 767ERRID.ERR_InvalidCoClass1, 768ERRID.ERR_InvalidOutputName, 769ERRID.ERR_InvalidFileAlignment, 770ERRID.ERR_InvalidDebugInformationFormat, 771ERRID.ERR_ConstantStringTooLong, 772ERRID.ERR_MustInheritEventNotOverridden, 773ERRID.ERR_BadAttributeSharedProperty1, 774ERRID.ERR_BadAttributeReadOnlyProperty1, 775ERRID.ERR_DuplicateResourceName1, 776ERRID.ERR_AttributeMustBeClassNotStruct1, 777ERRID.ERR_AttributeMustInheritSysAttr, 778ERRID.ERR_AttributeCannotBeAbstract, 779ERRID.ERR_UnableToOpenResourceFile1, 780ERRID.ERR_BadAttributeNonPublicProperty1, 781ERRID.ERR_STAThreadAndMTAThread0, 782ERRID.ERR_IndirectUnreferencedAssembly4, 783ERRID.ERR_BadAttributeNonPublicType1, 784ERRID.ERR_BadAttributeNonPublicContType2, 785ERRID.ERR_BadMetaDataReference1, 786ERRID.ERR_DllImportOnNonEmptySubOrFunction, 787ERRID.ERR_DllImportNotLegalOnDeclare, 788ERRID.ERR_DllImportNotLegalOnGetOrSet, 789ERRID.ERR_DllImportOnGenericSubOrFunction, 790ERRID.ERR_ComClassOnGeneric, 791ERRID.ERR_DllImportOnInstanceMethod, 792ERRID.ERR_DllImportOnInterfaceMethod, 793ERRID.ERR_DllImportNotLegalOnEventMethod, 794ERRID.ERR_FriendAssemblyBadArguments, 795ERRID.ERR_FriendAssemblyStrongNameRequired, 796ERRID.ERR_FriendAssemblyNameInvalid, 797ERRID.ERR_FriendAssemblyBadAccessOverride2, 798ERRID.ERR_AbsentReferenceToPIA1, 799ERRID.ERR_CannotLinkClassWithNoPIA1, 800ERRID.ERR_InvalidStructMemberNoPIA1, 801ERRID.ERR_NoPIAAttributeMissing2, 802ERRID.ERR_NestedGlobalNamespace, 803ERRID.ERR_PIAHasNoAssemblyGuid1, 804ERRID.ERR_DuplicateLocalTypes3, 805ERRID.ERR_PIAHasNoTypeLibAttribute1, 806ERRID.ERR_SourceInterfaceMustBeInterface, 807ERRID.ERR_EventNoPIANoBackingMember, 808ERRID.ERR_NestedInteropType, 809ERRID.ERR_IsNestedIn2, 810ERRID.ERR_LocalTypeNameClash2, 811ERRID.ERR_InteropMethodWithBody1, 812ERRID.ERR_UseOfLocalBeforeDeclaration1, 813ERRID.ERR_UseOfKeywordFromModule1, 814ERRID.ERR_BogusWithinLineIf, 815ERRID.ERR_CharToIntegralTypeMismatch1, 816ERRID.ERR_IntegralToCharTypeMismatch1, 817ERRID.ERR_NoDirectDelegateConstruction1, 818ERRID.ERR_MethodMustBeFirstStatementOnLine, 819ERRID.ERR_AttrAssignmentNotFieldOrProp1, 820ERRID.ERR_StrictDisallowsObjectComparison1, 821ERRID.ERR_NoConstituentArraySizes, 822ERRID.ERR_FileAttributeNotAssemblyOrModule, 823ERRID.ERR_FunctionResultCannotBeIndexed1, 824ERRID.ERR_ArgumentSyntax, 825ERRID.ERR_ExpectedResumeOrGoto, 826ERRID.ERR_ExpectedAssignmentOperator, 827ERRID.ERR_NamedArgAlsoOmitted2, 828ERRID.ERR_CannotCallEvent1, 829ERRID.ERR_ForEachCollectionDesignPattern1, 830ERRID.ERR_DefaultValueForNonOptionalParam, 831ERRID.ERR_ExpectedDotAfterMyBase, 832ERRID.ERR_ExpectedDotAfterMyClass, 833ERRID.ERR_StrictArgumentCopyBackNarrowing3, 834ERRID.ERR_LbElseifAfterElse, 835ERRID.ERR_StandaloneAttribute, 836ERRID.ERR_NoUniqueConstructorOnBase2, 837ERRID.ERR_ExtraNextVariable, 838ERRID.ERR_RequiredNewCallTooMany2, 839ERRID.ERR_ForCtlVarArraySizesSpecified, 840ERRID.ERR_BadFlagsOnNewOverloads, 841ERRID.ERR_TypeCharOnGenericParam, 842ERRID.ERR_TooFewGenericArguments1, 843ERRID.ERR_TooManyGenericArguments1, 844ERRID.ERR_GenericConstraintNotSatisfied2, 845ERRID.ERR_TypeOrMemberNotGeneric1, 846ERRID.ERR_NewIfNullOnGenericParam, 847ERRID.ERR_MultipleClassConstraints1, 848ERRID.ERR_ConstNotClassInterfaceOrTypeParam1, 849ERRID.ERR_DuplicateTypeParamName1, 850ERRID.ERR_UnboundTypeParam2, 851ERRID.ERR_IsOperatorGenericParam1, 852ERRID.ERR_ArgumentCopyBackNarrowing3, 853ERRID.ERR_ShadowingGenericParamWithMember1, 854ERRID.ERR_GenericParamBase2, 855ERRID.ERR_ImplementsGenericParam, 856ERRID.ERR_OnlyNullLowerBound, 857ERRID.ERR_ClassConstraintNotInheritable1, 858ERRID.ERR_ConstraintIsRestrictedType1, 859ERRID.ERR_GenericParamsOnInvalidMember, 860ERRID.ERR_GenericArgsOnAttributeSpecifier, 861ERRID.ERR_AttrCannotBeGenerics, 862ERRID.ERR_BadStaticLocalInGenericMethod, 863ERRID.ERR_SyntMemberShadowsGenericParam3, 864ERRID.ERR_ConstraintAlreadyExists1, 865ERRID.ERR_InterfacePossiblyImplTwice2, 866ERRID.ERR_ModulesCannotBeGeneric, 867ERRID.ERR_GenericClassCannotInheritAttr, 868ERRID.ERR_DeclaresCantBeInGeneric, 869ERRID.ERR_OverrideWithConstraintMismatch2, 870ERRID.ERR_ImplementsWithConstraintMismatch3, 871ERRID.ERR_OpenTypeDisallowed, 872ERRID.ERR_HandlesInvalidOnGenericMethod, 873ERRID.ERR_MultipleNewConstraints, 874ERRID.ERR_MustInheritForNewConstraint2, 875ERRID.ERR_NoSuitableNewForNewConstraint2, 876ERRID.ERR_BadGenericParamForNewConstraint2, 877ERRID.ERR_NewArgsDisallowedForTypeParam, 878ERRID.ERR_DuplicateRawGenericTypeImport1, 879ERRID.ERR_NoTypeArgumentCountOverloadCand1, 880ERRID.ERR_TypeArgsUnexpected, 881ERRID.ERR_NameSameAsMethodTypeParam1, 882ERRID.ERR_TypeParamNameFunctionNameCollision, 883ERRID.ERR_BadConstraintSyntax, 884ERRID.ERR_OfExpected, 885ERRID.ERR_ArrayOfRawGenericInvalid, 886ERRID.ERR_ForEachAmbiguousIEnumerable1, 887ERRID.ERR_IsNotOperatorGenericParam1, 888ERRID.ERR_TypeParamQualifierDisallowed, 889ERRID.ERR_TypeParamMissingCommaOrRParen, 890ERRID.ERR_TypeParamMissingAsCommaOrRParen, 891ERRID.ERR_MultipleReferenceConstraints, 892ERRID.ERR_MultipleValueConstraints, 893ERRID.ERR_NewAndValueConstraintsCombined, 894ERRID.ERR_RefAndValueConstraintsCombined, 895ERRID.ERR_BadTypeArgForStructConstraint2, 896ERRID.ERR_BadTypeArgForRefConstraint2, 897ERRID.ERR_RefAndClassTypeConstrCombined, 898ERRID.ERR_ValueAndClassTypeConstrCombined, 899ERRID.ERR_ConstraintClashIndirectIndirect4, 900ERRID.ERR_ConstraintClashDirectIndirect3, 901ERRID.ERR_ConstraintClashIndirectDirect3, 902ERRID.ERR_ConstraintCycleLink2, 903ERRID.ERR_ConstraintCycle2, 904ERRID.ERR_TypeParamWithStructConstAsConst, 905ERRID.ERR_NullableDisallowedForStructConstr1, 906ERRID.ERR_ConflictingDirectConstraints3, 907ERRID.ERR_InterfaceUnifiesWithInterface2, 908ERRID.ERR_BaseUnifiesWithInterfaces3, 909ERRID.ERR_InterfaceBaseUnifiesWithBase4, 910ERRID.ERR_InterfaceUnifiesWithBase3, 911ERRID.ERR_OptionalsCantBeStructGenericParams, 912ERRID.ERR_AddressOfNullableMethod, 913ERRID.ERR_IsOperatorNullable1, 914ERRID.ERR_IsNotOperatorNullable1, 915ERRID.ERR_ClassInheritsBaseUnifiesWithInterfaces3, 916ERRID.ERR_ClassInheritsInterfaceBaseUnifiesWithBase4, 917ERRID.ERR_ClassInheritsInterfaceUnifiesWithBase3, 918ERRID.ERR_ShadowingTypeOutsideClass1, 919ERRID.ERR_PropertySetParamCollisionWithValue, 920ERRID.ERR_SxSIndirectRefHigherThanDirectRef3, 921ERRID.ERR_DuplicateReference2, 922ERRID.ERR_DuplicateReferenceStrong, 923ERRID.ERR_IllegalCallOrIndex, 924ERRID.ERR_ConflictDefaultPropertyAttribute, 925ERRID.ERR_BadAttributeUuid2, 926ERRID.ERR_ComClassAndReservedAttribute1, 927ERRID.ERR_ComClassRequiresPublicClass2, 928ERRID.ERR_ComClassReservedDispIdZero1, 929ERRID.ERR_ComClassReservedDispId1, 930ERRID.ERR_ComClassDuplicateGuids1, 931ERRID.ERR_ComClassCantBeAbstract0, 932ERRID.ERR_ComClassRequiresPublicClass1, 933ERRID.ERR_UnknownOperator, 934ERRID.ERR_DuplicateConversionCategoryUsed, 935ERRID.ERR_OperatorNotOverloadable, 936ERRID.ERR_InvalidHandles, 937ERRID.ERR_InvalidImplements, 938ERRID.ERR_EndOperatorExpected, 939ERRID.ERR_EndOperatorNotAtLineStart, 940ERRID.ERR_InvalidEndOperator, 941ERRID.ERR_ExitOperatorNotValid, 942ERRID.ERR_ParamArrayIllegal1, 943ERRID.ERR_OptionalIllegal1, 944ERRID.ERR_OperatorMustBePublic, 945ERRID.ERR_OperatorMustBeShared, 946ERRID.ERR_BadOperatorFlags1, 947ERRID.ERR_OneParameterRequired1, 948ERRID.ERR_TwoParametersRequired1, 949ERRID.ERR_OneOrTwoParametersRequired1, 950ERRID.ERR_ConvMustBeWideningOrNarrowing, 951ERRID.ERR_OperatorDeclaredInModule, 952ERRID.ERR_InvalidSpecifierOnNonConversion1, 953ERRID.ERR_UnaryParamMustBeContainingType1, 954ERRID.ERR_BinaryParamMustBeContainingType1, 955ERRID.ERR_ConvParamMustBeContainingType1, 956ERRID.ERR_OperatorRequiresBoolReturnType1, 957ERRID.ERR_ConversionToSameType, 958ERRID.ERR_ConversionToInterfaceType, 959ERRID.ERR_ConversionToBaseType, 960ERRID.ERR_ConversionToDerivedType, 961ERRID.ERR_ConversionToObject, 962ERRID.ERR_ConversionFromInterfaceType, 963ERRID.ERR_ConversionFromBaseType, 964ERRID.ERR_ConversionFromDerivedType, 965ERRID.ERR_ConversionFromObject, 966ERRID.ERR_MatchingOperatorExpected2, 967ERRID.ERR_UnacceptableLogicalOperator3, 968ERRID.ERR_ConditionOperatorRequired3, 969ERRID.ERR_CopyBackTypeMismatch3, 970ERRID.ERR_ForLoopOperatorRequired2, 971ERRID.ERR_UnacceptableForLoopOperator2, 972ERRID.ERR_UnacceptableForLoopRelOperator2, 973ERRID.ERR_OperatorRequiresIntegerParameter1, 974ERRID.ERR_CantSpecifyNullableOnBoth, 975ERRID.ERR_BadTypeArgForStructConstraintNull, 976ERRID.ERR_CantSpecifyArrayAndNullableOnBoth, 977ERRID.ERR_CantSpecifyTypeCharacterOnIIF, 978ERRID.ERR_IllegalOperandInIIFCount, 979ERRID.ERR_IllegalOperandInIIFName, 980ERRID.ERR_IllegalOperandInIIFConversion, 981ERRID.ERR_IllegalCondTypeInIIF, 982ERRID.ERR_CantCallIIF, 983ERRID.ERR_CantSpecifyAsNewAndNullable, 984ERRID.ERR_IllegalOperandInIIFConversion2, 985ERRID.ERR_BadNullTypeInCCExpression, 986ERRID.ERR_NullableImplicit, 987ERRID.ERR_DuplicateResourceFileName1, 988ERRID.ERR_ExpectedDotAfterGlobalNameSpace, 989ERRID.ERR_NoGlobalExpectedIdentifier, 990ERRID.ERR_NoGlobalInHandles, 991ERRID.ERR_ElseIfNoMatchingIf, 992ERRID.ERR_BadAttributeConstructor2, 993ERRID.ERR_EndUsingWithoutUsing, 994ERRID.ERR_ExpectedEndUsing, 995ERRID.ERR_GotoIntoUsing, 996ERRID.ERR_UsingRequiresDisposePattern, 997ERRID.ERR_UsingResourceVarNeedsInitializer, 998ERRID.ERR_UsingResourceVarCantBeArray, 999ERRID.ERR_OnErrorInUsing, 1000ERRID.ERR_PropertyNameConflictInMyCollection, 1001ERRID.ERR_InvalidImplicitVar, 1002ERRID.ERR_ObjectInitializerRequiresFieldName, 1003ERRID.ERR_ExpectedFrom, 1004ERRID.ERR_LambdaBindingMismatch1, 1005ERRID.ERR_CannotLiftByRefParamQuery1, 1006ERRID.ERR_ExpressionTreeNotSupported, 1007ERRID.ERR_CannotLiftStructureMeQuery, 1008ERRID.ERR_InferringNonArrayType1, 1009ERRID.ERR_ByRefParamInExpressionTree, 1010ERRID.ERR_DuplicateAnonTypeMemberName1, 1011ERRID.ERR_BadAnonymousTypeForExprTree, 1012ERRID.ERR_CannotLiftAnonymousType1, 1013ERRID.ERR_ExtensionOnlyAllowedOnModuleSubOrFunction, 1014ERRID.ERR_ExtensionMethodNotInModule, 1015ERRID.ERR_ExtensionMethodNoParams, 1016ERRID.ERR_ExtensionMethodOptionalFirstArg, 1017ERRID.ERR_ExtensionMethodParamArrayFirstArg, 1018ERRID.ERR_AnonymousTypeFieldNameInference, 1019ERRID.ERR_NameNotMemberOfAnonymousType2, 1020ERRID.ERR_ExtensionAttributeInvalid, 1021ERRID.ERR_AnonymousTypePropertyOutOfOrder1, 1022ERRID.ERR_AnonymousTypeDisallowsTypeChar, 1023ERRID.ERR_ExtensionMethodUncallable1, 1024ERRID.ERR_ExtensionMethodOverloadCandidate3, 1025ERRID.ERR_DelegateBindingMismatch, 1026ERRID.ERR_DelegateBindingTypeInferenceFails, 1027ERRID.ERR_TooManyArgs, 1028ERRID.ERR_NamedArgAlsoOmitted1, 1029ERRID.ERR_NamedArgUsedTwice1, 1030ERRID.ERR_NamedParamNotFound1, 1031ERRID.ERR_OmittedArgument1, 1032ERRID.ERR_UnboundTypeParam1, 1033ERRID.ERR_ExtensionMethodOverloadCandidate2, 1034ERRID.ERR_AnonymousTypeNeedField, 1035ERRID.ERR_AnonymousTypeNameWithoutPeriod, 1036ERRID.ERR_AnonymousTypeExpectedIdentifier, 1037ERRID.ERR_TooManyArgs2, 1038ERRID.ERR_NamedArgAlsoOmitted3, 1039ERRID.ERR_NamedArgUsedTwice3, 1040ERRID.ERR_NamedParamNotFound3, 1041ERRID.ERR_OmittedArgument3, 1042ERRID.ERR_UnboundTypeParam3, 1043ERRID.ERR_TooFewGenericArguments2, 1044ERRID.ERR_TooManyGenericArguments2, 1045ERRID.ERR_ExpectedInOrEq, 1046ERRID.ERR_ExpectedQueryableSource, 1047ERRID.ERR_QueryOperatorNotFound, 1048ERRID.ERR_CannotUseOnErrorGotoWithClosure, 1049ERRID.ERR_CannotLiftRestrictedTypeQuery, 1050ERRID.ERR_QueryAnonymousTypeFieldNameInference, 1051ERRID.ERR_QueryDuplicateAnonTypeMemberName1, 1052ERRID.ERR_QueryAnonymousTypeDisallowsTypeChar, 1053ERRID.ERR_ReadOnlyInClosure, 1054ERRID.ERR_ExprTreeNoMultiDimArrayCreation, 1055ERRID.ERR_ExprTreeNoLateBind, 1056ERRID.ERR_ExpectedBy, 1057ERRID.ERR_QueryInvalidControlVariableName1, 1058ERRID.ERR_ExpectedIn, 1059ERRID.ERR_QueryNameNotDeclared, 1060ERRID.ERR_SharedEventNeedsHandlerInTheSameType, 1061ERRID.ERR_NestedFunctionArgumentNarrowing3, 1062ERRID.ERR_AnonTypeFieldXMLNameInference, 1063ERRID.ERR_QueryAnonTypeFieldXMLNameInference, 1064ERRID.ERR_ExpectedInto, 1065ERRID.ERR_TypeCharOnAggregation, 1066ERRID.ERR_ExpectedOn, 1067ERRID.ERR_ExpectedEquals, 1068ERRID.ERR_ExpectedAnd, 1069ERRID.ERR_EqualsTypeMismatch, 1070ERRID.ERR_EqualsOperandIsBad, 1071ERRID.ERR_LambdaNotDelegate1, 1072ERRID.ERR_LambdaNotCreatableDelegate1, 1073ERRID.ERR_CannotInferNullableForVariable1, 1074ERRID.ERR_NullableTypeInferenceNotSupported, 1075ERRID.ERR_ExpectedJoin, 1076ERRID.ERR_NullableParameterMustSpecifyType, 1077ERRID.ERR_IterationVariableShadowLocal2, 1078ERRID.ERR_LambdasCannotHaveAttributes, 1079ERRID.ERR_LambdaInSelectCaseExpr, 1080ERRID.ERR_AddressOfInSelectCaseExpr, 1081ERRID.ERR_NullableCharNotSupported, 1082ERRID.ERR_CannotLiftStructureMeLambda, 1083ERRID.ERR_CannotLiftByRefParamLambda1, 1084ERRID.ERR_CannotLiftRestrictedTypeLambda, 1085ERRID.ERR_LambdaParamShadowLocal1, 1086ERRID.ERR_StrictDisallowImplicitObjectLambda, 1087ERRID.ERR_CantSpecifyParamsOnLambdaParamNoType, 1088ERRID.ERR_TypeInferenceFailure1, 1089ERRID.ERR_TypeInferenceFailure2, 1090ERRID.ERR_TypeInferenceFailure3, 1091ERRID.ERR_TypeInferenceFailureNoExplicit1, 1092ERRID.ERR_TypeInferenceFailureNoExplicit2, 1093ERRID.ERR_TypeInferenceFailureNoExplicit3, 1094ERRID.ERR_TypeInferenceFailureAmbiguous1, 1095ERRID.ERR_TypeInferenceFailureAmbiguous2, 1096ERRID.ERR_TypeInferenceFailureAmbiguous3, 1097ERRID.ERR_TypeInferenceFailureNoExplicitAmbiguous1, 1098ERRID.ERR_TypeInferenceFailureNoExplicitAmbiguous2, 1099ERRID.ERR_TypeInferenceFailureNoExplicitAmbiguous3, 1100ERRID.ERR_TypeInferenceFailureNoBest1, 1101ERRID.ERR_TypeInferenceFailureNoBest2, 1102ERRID.ERR_TypeInferenceFailureNoBest3, 1103ERRID.ERR_TypeInferenceFailureNoExplicitNoBest1, 1104ERRID.ERR_TypeInferenceFailureNoExplicitNoBest2, 1105ERRID.ERR_TypeInferenceFailureNoExplicitNoBest3, 1106ERRID.ERR_DelegateBindingMismatchStrictOff2, 1107ERRID.ERR_InaccessibleReturnTypeOfMember2, 1108ERRID.ERR_LocalNamedSameAsParamInLambda1, 1109ERRID.ERR_MultilineLambdasCannotContainOnError, 1110ERRID.ERR_LambdaBindingMismatch2, 1111ERRID.ERR_StaticInLambda, 1112ERRID.ERR_MultilineLambdaMissingSub, 1113ERRID.ERR_MultilineLambdaMissingFunction, 1114ERRID.ERR_StatementLambdaInExpressionTree, 1115ERRID.ERR_AttributeOnLambdaReturnType, 1116ERRID.ERR_ExpectedIdentifierOrGroup, 1117ERRID.ERR_UnexpectedGroup, 1118ERRID.ERR_DelegateBindingMismatchStrictOff3, 1119ERRID.ERR_DelegateBindingIncompatible3, 1120ERRID.ERR_ArgumentNarrowing2, 1121ERRID.ERR_OverloadCandidate1, 1122ERRID.ERR_AutoPropertyInitializedInStructure, 1123ERRID.ERR_InitializedExpandedProperty, 1124ERRID.ERR_LanguageVersion, 1125ERRID.ERR_ArrayInitNoType, 1126ERRID.ERR_NotACollection1, 1127ERRID.ERR_NoAddMethod1, 1128ERRID.ERR_CantCombineInitializers, 1129ERRID.ERR_EmptyAggregateInitializer, 1130ERRID.ERR_VarianceDisallowedHere, 1131ERRID.ERR_VarianceInterfaceNesting, 1132ERRID.ERR_VarianceOutParamDisallowed1, 1133ERRID.ERR_VarianceInParamDisallowed1, 1134ERRID.ERR_VarianceOutParamDisallowedForGeneric3, 1135ERRID.ERR_VarianceInParamDisallowedForGeneric3, 1136ERRID.ERR_VarianceOutParamDisallowedHere2, 1137ERRID.ERR_VarianceInParamDisallowedHere2, 1138ERRID.ERR_VarianceOutParamDisallowedHereForGeneric4, 1139ERRID.ERR_VarianceInParamDisallowedHereForGeneric4, 1140ERRID.ERR_VarianceTypeDisallowed2, 1141ERRID.ERR_VarianceTypeDisallowedForGeneric4, 1142ERRID.ERR_LambdaTooManyTypesObjectDisallowed, 1143ERRID.ERR_VarianceTypeDisallowedHere3, 1144ERRID.ERR_VarianceTypeDisallowedHereForGeneric5, 1145ERRID.ERR_AmbiguousCastConversion2, 1146ERRID.ERR_VariancePreventsSynthesizedEvents2, 1147ERRID.ERR_NestingViolatesCLS1, 1148ERRID.ERR_VarianceOutNullableDisallowed2, 1149ERRID.ERR_VarianceInNullableDisallowed2, 1150ERRID.ERR_VarianceOutByValDisallowed1, 1151ERRID.ERR_VarianceInReturnDisallowed1, 1152ERRID.ERR_VarianceOutConstraintDisallowed1, 1153ERRID.ERR_VarianceInReadOnlyPropertyDisallowed1, 1154ERRID.ERR_VarianceOutWriteOnlyPropertyDisallowed1, 1155ERRID.ERR_VarianceOutPropertyDisallowed1, 1156ERRID.ERR_VarianceInPropertyDisallowed1, 1157ERRID.ERR_VarianceOutByRefDisallowed1, 1158ERRID.ERR_VarianceInByRefDisallowed1, 1159ERRID.ERR_LambdaNoType, 1160ERRID.ERR_VarianceConversionFailedOut6, 1161ERRID.ERR_VarianceConversionFailedIn6, 1162ERRID.ERR_VarianceIEnumerableSuggestion3, 1163ERRID.ERR_VarianceConversionFailedTryOut4, 1164ERRID.ERR_VarianceConversionFailedTryIn4, 1165ERRID.ERR_AutoPropertyCantHaveParams, 1166ERRID.ERR_IdentityDirectCastForFloat, 1167ERRID.ERR_TypeDisallowsElements, 1168ERRID.ERR_TypeDisallowsAttributes, 1169ERRID.ERR_TypeDisallowsDescendants, 1170ERRID.ERR_TypeOrMemberNotGeneric2, 1171ERRID.ERR_ExtensionMethodCannotBeLateBound, 1172ERRID.ERR_TypeInferenceArrayRankMismatch1, 1173ERRID.ERR_QueryStrictDisallowImplicitObject, 1174ERRID.ERR_IfNoType, 1175ERRID.ERR_IfNoTypeObjectDisallowed, 1176ERRID.ERR_IfTooManyTypesObjectDisallowed, 1177ERRID.ERR_ArrayInitNoTypeObjectDisallowed, 1178ERRID.ERR_ArrayInitTooManyTypesObjectDisallowed, 1179ERRID.ERR_LambdaNoTypeObjectDisallowed, 1180ERRID.ERR_OverloadsModifierInModule, 1181ERRID.ERR_SubRequiresSingleStatement, 1182ERRID.ERR_SubDisallowsStatement, 1183ERRID.ERR_SubRequiresParenthesesLParen, 1184ERRID.ERR_SubRequiresParenthesesDot, 1185ERRID.ERR_SubRequiresParenthesesBang, 1186ERRID.ERR_CannotEmbedInterfaceWithGeneric, 1187ERRID.ERR_CannotUseGenericTypeAcrossAssemblyBoundaries, 1188ERRID.ERR_CannotUseGenericBaseTypeAcrossAssemblyBoundaries, 1189ERRID.ERR_BadAsyncByRefParam, 1190ERRID.ERR_BadIteratorByRefParam, 1191ERRID.ERR_BadAsyncInQuery, 1192ERRID.ERR_BadGetAwaiterMethod1, 1193ERRID.ERR_RestrictedResumableType1, 1194ERRID.ERR_BadAwaitNothing, 1195ERRID.ERR_AsyncSubMain, 1196ERRID.ERR_PartialMethodsMustNotBeAsync1, 1197ERRID.ERR_InvalidAsyncIteratorModifiers, 1198ERRID.ERR_BadAwaitNotInAsyncMethodOrLambda, 1199ERRID.ERR_BadIteratorReturn, 1200ERRID.ERR_BadYieldInTryHandler, 1201ERRID.ERR_BadYieldInNonIteratorMethod, 1202ERRID.ERR_BadReturnValueInIterator, 1203ERRID.ERR_BadAwaitInTryHandler, 1204ERRID.ERR_BadAsyncReturn, 1205ERRID.ERR_BadResumableAccessReturnVariable, 1206ERRID.ERR_BadIteratorExpressionLambda, 1207ERRID.ERR_ConstructorAsync, 1208ERRID.ERR_InvalidLambdaModifier, 1209ERRID.ERR_ReturnFromNonGenericTaskAsync, 1210ERRID.ERR_BadOverloadCandidates2, 1211ERRID.ERR_BadStaticInitializerInResumable, 1212ERRID.ERR_ResumablesCannotContainOnError, 1213ERRID.ERR_FriendRefNotEqualToThis, 1214ERRID.ERR_FriendRefSigningMismatch, 1215ERRID.ERR_FailureSigningAssembly, 1216ERRID.ERR_SignButNoPrivateKey, 1217ERRID.ERR_InvalidVersionFormat, 1218ERRID.ERR_InvalidVersionFormatDeterministic, 1219ERRID.ERR_ExpectedSingleScript, 1220ERRID.ERR_ReferenceDirectiveOnlyAllowedInScripts, 1221ERRID.ERR_NamespaceNotAllowedInScript, 1222ERRID.ERR_KeywordNotAllowedInScript, 1223ERRID.ERR_ReservedAssemblyName, 1224ERRID.ERR_ConstructorCannotBeDeclaredPartial, 1225ERRID.ERR_ModuleEmitFailure, 1226ERRID.ERR_ParameterNotValidForType, 1227ERRID.ERR_MarshalUnmanagedTypeNotValidForFields, 1228ERRID.ERR_MarshalUnmanagedTypeOnlyValidForFields, 1229ERRID.ERR_AttributeParameterRequired1, 1230ERRID.ERR_AttributeParameterRequired2, 1231ERRID.ERR_InvalidVersionFormat2, 1232ERRID.ERR_InvalidAssemblyCultureForExe, 1233ERRID.ERR_InvalidMultipleAttributeUsageInNetModule2, 1234ERRID.ERR_SecurityAttributeInvalidTarget, 1235ERRID.ERR_PublicKeyFileFailure, 1236ERRID.ERR_PublicKeyContainerFailure, 1237ERRID.ERR_InvalidAssemblyCulture, 1238ERRID.ERR_EncUpdateFailedMissingSymbol, 1239ERRID.ERR_CantAwaitAsyncSub1, 1240ERRID.ERR_ResumableLambdaInExpressionTree, 1241ERRID.ERR_DllImportOnResumableMethod, 1242ERRID.ERR_CannotLiftRestrictedTypeResumable1, 1243ERRID.ERR_BadIsCompletedOnCompletedGetResult2, 1244ERRID.ERR_SynchronizedAsyncMethod, 1245ERRID.ERR_BadAsyncReturnOperand1, 1246ERRID.ERR_DoesntImplementAwaitInterface2, 1247ERRID.ERR_BadAwaitInNonAsyncMethod, 1248ERRID.ERR_BadAwaitInNonAsyncVoidMethod, 1249ERRID.ERR_BadAwaitInNonAsyncLambda, 1250ERRID.ERR_LoopControlMustNotAwait, 1251ERRID.ERR_MyGroupCollectionAttributeCycle, 1252ERRID.ERR_LiteralExpected, 1253ERRID.ERR_PartialMethodDefaultParameterValueMismatch2, 1254ERRID.ERR_PartialMethodParamArrayMismatch2, 1255ERRID.ERR_NetModuleNameMismatch, 1256ERRID.ERR_BadModuleName, 1257ERRID.ERR_CmdOptionConflictsSource, 1258ERRID.ERR_TypeForwardedToMultipleAssemblies, 1259ERRID.ERR_InvalidSignaturePublicKey, 1260ERRID.ERR_CollisionWithPublicTypeInModule, 1261ERRID.ERR_ExportedTypeConflictsWithDeclaration, 1262ERRID.ERR_ExportedTypesConflict, 1263ERRID.ERR_AgnosticToMachineModule, 1264ERRID.ERR_ConflictingMachineModule, 1265ERRID.ERR_CryptoHashFailed, 1266ERRID.ERR_CantHaveWin32ResAndManifest, 1267ERRID.ERR_ForwardedTypeConflictsWithDeclaration, 1268ERRID.ERR_ForwardedTypeConflictsWithExportedType, 1269ERRID.ERR_ForwardedTypesConflict, 1270ERRID.ERR_TooLongMetadataName, 1271ERRID.ERR_MissingNetModuleReference, 1272ERRID.ERR_UnsupportedModule1, 1273ERRID.ERR_UnsupportedEvent1, 1274ERRID.ERR_NetModuleNameMustBeUnique, 1275ERRID.ERR_PDBWritingFailed, 1276ERRID.ERR_ParamDefaultValueDiffersFromAttribute, 1277ERRID.ERR_ResourceInModule, 1278ERRID.ERR_FieldHasMultipleDistinctConstantValues, 1279ERRID.ERR_AmbiguousInNamespaces2, 1280ERRID.ERR_EncNoPIAReference, 1281ERRID.ERR_LinkedNetmoduleMetadataMustProvideFullPEImage, 1282ERRID.ERR_CantReadRulesetFile, 1283ERRID.ERR_MetadataReferencesNotSupported, 1284ERRID.ERR_PlatformDoesntSupport, 1285ERRID.ERR_CantUseRequiredAttribute, 1286ERRID.ERR_EncodinglessSyntaxTree, 1287ERRID.ERR_InvalidFormatSpecifier, 1288ERRID.ERR_CannotBeMadeNullable1, 1289ERRID.ERR_BadConditionalWithRef, 1290ERRID.ERR_NullPropagatingOpInExpressionTree, 1291ERRID.ERR_TooLongOrComplexExpression, 1292ERRID.ERR_BadPdbData, 1293ERRID.ERR_AutoPropertyCantBeWriteOnly, 1294ERRID.ERR_ExpressionDoesntHaveName, 1295ERRID.ERR_InvalidNameOfSubExpression, 1296ERRID.ERR_MethodTypeArgsUnexpected, 1297ERRID.ERR_InReferencedAssembly, 1298ERRID.ERR_EncReferenceToAddedMember, 1299ERRID.ERR_InterpolationFormatWhitespace, 1300ERRID.ERR_InterpolationAlignmentOutOfRange, 1301ERRID.ERR_InterpolatedStringFactoryError, 1302ERRID.ERR_DebugEntryPointNotSourceMethodDefinition, 1303ERRID.ERR_InvalidPathMap, 1304ERRID.ERR_PublicSignNoKey, 1305ERRID.ERR_TooManyUserStrings, 1306ERRID.ERR_PeWritingFailure, 1307ERRID.ERR_OptionMustBeAbsolutePath, 1308ERRID.ERR_DocFileGen, 1309ERRID.ERR_TupleTooFewElements, 1310ERRID.ERR_TupleReservedElementNameAnyPosition, 1311ERRID.ERR_TupleReservedElementName, 1312ERRID.ERR_TupleDuplicateElementName, 1313ERRID.ERR_RefReturningCallInExpressionTree, 1314ERRID.ERR_SourceLinkRequiresPdb, 1315ERRID.ERR_CannotEmbedWithoutPdb, 1316ERRID.ERR_InvalidInstrumentationKind, 1317ERRID.ERR_ValueTupleTypeRefResolutionError1, 1318ERRID.ERR_TupleElementNamesAttributeMissing, 1319ERRID.ERR_ExplicitTupleElementNamesAttribute, 1320ERRID.ERR_TupleLiteralDisallowsTypeChar, 1321ERRID.ERR_DuplicateProcDefWithDifferentTupleNames2, 1322ERRID.ERR_InterfaceImplementedTwiceWithDifferentTupleNames2, 1323ERRID.ERR_InterfaceImplementedTwiceWithDifferentTupleNames3, 1324ERRID.ERR_InterfaceImplementedTwiceWithDifferentTupleNamesReverse3, 1325ERRID.ERR_InterfaceImplementedTwiceWithDifferentTupleNames4, 1326ERRID.ERR_InterfaceInheritedTwiceWithDifferentTupleNames2, 1327ERRID.ERR_InterfaceInheritedTwiceWithDifferentTupleNames3, 1328ERRID.ERR_InterfaceInheritedTwiceWithDifferentTupleNamesReverse3, 1329ERRID.ERR_InterfaceInheritedTwiceWithDifferentTupleNames4, 1330ERRID.ERR_NewWithTupleTypeSyntax, 1331ERRID.ERR_PredefinedValueTupleTypeMustBeStruct, 1332ERRID.ERR_PublicSignNetModule, 1333ERRID.ERR_BadAssemblyName, 1334ERRID.ERR_Merge_conflict_marker_encountered, 1335ERRID.ERR_BadSourceCodeKind, 1336ERRID.ERR_BadDocumentationMode, 1337ERRID.ERR_BadLanguageVersion, 1338ERRID.ERR_InvalidPreprocessorConstantType, 1339ERRID.ERR_TupleInferredNamesNotAvailable, 1340ERRID.ERR_InvalidDebugInfo, 1341ERRID.ERR_NoRefOutWhenRefOnly, 1342ERRID.ERR_NoNetModuleOutputWhenRefOutOrRefOnly, 1343ERRID.ERR_BadNonTrailingNamedArgument, 1344ERRID.ERR_ExpectedNamedArgumentInAttributeList, 1345ERRID.ERR_NamedArgumentSpecificationBeforeFixedArgumentInLateboundInvocation, 1346ERRID.ERR_ValueTupleResolutionAmbiguous3, 1347ERRID.ERR_CommentsAfterLineContinuationNotAvailable1, 1348ERRID.ERR_DefaultInterfaceImplementationInNoPIAType, 1349ERRID.ERR_ReAbstractionInNoPIAType, 1350ERRID.ERR_RuntimeDoesNotSupportDefaultInterfaceImplementation, 1351ERRID.ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember, 1352ERRID.ERR_AssignmentInitOnly, 1353ERRID.ERR_OverridingInitOnlyProperty, 1354ERRID.ERR_PropertyDoesntImplementInitOnly, 1355ERRID.ERR_BadAbstractStaticMemberAccess, 1356ERRID.ERR_UnimplementedSharedMember, 1357ERRID.ERR_UnmanagedCallersOnlyNotSupported, 1358ERRID.ERR_MultipleAnalyzerConfigsInSameDir, 1359ERRID.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected, 1360ERRID.ERR_UnsupportedCompilerFeature, 1361ERRID.ERR_DoNotUseCompilerFeatureRequired, 1362ERRID.ERR_RequiredMemberMustBeSet, 1363ERRID.ERR_CannotInheritFromTypeWithRequiredMembers, 1364ERRID.ERR_RequiredMembersInvalid, 1365ERRID.ERR_NewConstraintCannotHaveRequiredMembers, 1366ERRID.ERR_DoNotUseRequiredMember, 1367ERRID.ERR_UnsupportedRefReturningCallInWithStatement, 1368ERRID.ERR_TypeReserved, 1369ERRID.ERR_UnmanagedConstraintNotSatisfied, 1370ERRID.ERR_CannotApplyOverloadResolutionPriorityToOverride, 1371ERRID.ERR_CannotApplyOverloadResolutionPriorityToMember, 1372ERRID.ERR_NextAvailable, 1373ERRID.WRN_UseOfObsoleteSymbol2, 1374ERRID.WRN_InvalidOverrideDueToTupleNames2, 1375ERRID.WRN_MustOverloadBase4, 1376ERRID.WRN_OverrideType5, 1377ERRID.WRN_MustOverride2, 1378ERRID.WRN_DefaultnessShadowed4, 1379ERRID.WRN_UseOfObsoleteSymbolNoMessage1, 1380ERRID.WRN_AssemblyGeneration0, 1381ERRID.WRN_AssemblyGeneration1, 1382ERRID.WRN_ComClassNoMembers1, 1383ERRID.WRN_SynthMemberShadowsMember5, 1384ERRID.WRN_MemberShadowsSynthMember6, 1385ERRID.WRN_SynthMemberShadowsSynthMember7, 1386ERRID.WRN_UseOfObsoletePropertyAccessor3, 1387ERRID.WRN_UseOfObsoletePropertyAccessor2, 1388ERRID.WRN_FieldNotCLSCompliant1, 1389ERRID.WRN_BaseClassNotCLSCompliant2, 1390ERRID.WRN_ProcTypeNotCLSCompliant1, 1391ERRID.WRN_ParamNotCLSCompliant1, 1392ERRID.WRN_InheritedInterfaceNotCLSCompliant2, 1393ERRID.WRN_CLSMemberInNonCLSType3, 1394ERRID.WRN_NameNotCLSCompliant1, 1395ERRID.WRN_EnumUnderlyingTypeNotCLS1, 1396ERRID.WRN_NonCLSMemberInCLSInterface1, 1397ERRID.WRN_NonCLSMustOverrideInCLSType1, 1398ERRID.WRN_ArrayOverloadsNonCLS2, 1399ERRID.WRN_RootNamespaceNotCLSCompliant1, 1400ERRID.WRN_RootNamespaceNotCLSCompliant2, 1401ERRID.WRN_GenericConstraintNotCLSCompliant1, 1402ERRID.WRN_TypeNotCLSCompliant1, 1403ERRID.WRN_OptionalValueNotCLSCompliant1, 1404ERRID.WRN_CLSAttrInvalidOnGetSet, 1405ERRID.WRN_TypeConflictButMerged6, 1406ERRID.WRN_ShadowingGenericParamWithParam1, 1407ERRID.WRN_CannotFindStandardLibrary1, 1408ERRID.WRN_EventDelegateTypeNotCLSCompliant2, 1409ERRID.WRN_DebuggerHiddenIgnoredOnProperties, 1410ERRID.WRN_SelectCaseInvalidRange, 1411ERRID.WRN_CLSEventMethodInNonCLSType3, 1412ERRID.WRN_ExpectedInitComponentCall2, 1413ERRID.WRN_NamespaceCaseMismatch3, 1414ERRID.WRN_UndefinedOrEmptyNamespaceOrClass1, 1415ERRID.WRN_UndefinedOrEmptyProjectNamespaceOrClass1, 1416ERRID.WRN_IndirectRefToLinkedAssembly2, 1417ERRID.WRN_DelaySignButNoKey, 1418ERRID.WRN_UnimplementedCommandLineSwitch, 1419ERRID.WRN_NoNonObsoleteConstructorOnBase3, 1420ERRID.WRN_NoNonObsoleteConstructorOnBase4, 1421ERRID.WRN_RequiredNonObsoleteNewCall3, 1422ERRID.WRN_RequiredNonObsoleteNewCall4, 1423ERRID.WRN_MissingAsClauseinOperator, 1424ERRID.WRN_ConstraintsFailedForInferredArgs2, 1425ERRID.WRN_ConditionalNotValidOnFunction, 1426ERRID.WRN_UseSwitchInsteadOfAttribute, 1427ERRID.WRN_TupleLiteralNameMismatch, 1428ERRID.WRN_ReferencedAssemblyDoesNotHaveStrongName, 1429ERRID.WRN_RecursiveAddHandlerCall, 1430ERRID.WRN_ImplicitConversionCopyBack, 1431ERRID.WRN_MustShadowOnMultipleInheritance2, 1432ERRID.WRN_RecursiveOperatorCall, 1433ERRID.WRN_ImplicitConversionSubst1, 1434ERRID.WRN_LateBindingResolution, 1435ERRID.WRN_ObjectMath1, 1436ERRID.WRN_ObjectMath2, 1437ERRID.WRN_ObjectAssumedVar1, 1438ERRID.WRN_ObjectAssumed1, 1439ERRID.WRN_ObjectAssumedProperty1, 1440ERRID.WRN_UnusedLocal, 1441ERRID.WRN_SharedMemberThroughInstance, 1442ERRID.WRN_RecursivePropertyCall, 1443ERRID.WRN_OverlappingCatch, 1444ERRID.WRN_DefAsgUseNullRefByRef, 1445ERRID.WRN_DuplicateCatch, 1446ERRID.WRN_ObjectMath1Not, 1447ERRID.WRN_BadChecksumValExtChecksum, 1448ERRID.WRN_MultipleDeclFileExtChecksum, 1449ERRID.WRN_BadGUIDFormatExtChecksum, 1450ERRID.WRN_ObjectMathSelectCase, 1451ERRID.WRN_EqualToLiteralNothing, 1452ERRID.WRN_NotEqualToLiteralNothing, 1453ERRID.WRN_UnusedLocalConst, 1454ERRID.WRN_ComClassInterfaceShadows5, 1455ERRID.WRN_ComClassPropertySetObject1, 1456ERRID.WRN_DefAsgUseNullRef, 1457ERRID.WRN_DefAsgNoRetValFuncRef1, 1458ERRID.WRN_DefAsgNoRetValOpRef1, 1459ERRID.WRN_DefAsgNoRetValPropRef1, 1460ERRID.WRN_DefAsgUseNullRefByRefStr, 1461ERRID.WRN_DefAsgUseNullRefStr, 1462ERRID.WRN_StaticLocalNoInference, 1463ERRID.WRN_InvalidAssemblyName, 1464ERRID.WRN_XMLDocBadXMLLine, 1465ERRID.WRN_XMLDocMoreThanOneCommentBlock, 1466ERRID.WRN_XMLDocNotFirstOnLine, 1467ERRID.WRN_XMLDocInsideMethod, 1468ERRID.WRN_XMLDocParseError1, 1469ERRID.WRN_XMLDocDuplicateXMLNode1, 1470ERRID.WRN_XMLDocIllegalTagOnElement2, 1471ERRID.WRN_XMLDocBadParamTag2, 1472ERRID.WRN_XMLDocParamTagWithoutName, 1473ERRID.WRN_XMLDocCrefAttributeNotFound1, 1474ERRID.WRN_XMLMissingFileOrPathAttribute1, 1475ERRID.WRN_XMLCannotWriteToXMLDocFile2, 1476ERRID.WRN_XMLDocWithoutLanguageElement, 1477ERRID.WRN_XMLDocReturnsOnWriteOnlyProperty, 1478ERRID.WRN_XMLDocOnAPartialType, 1479ERRID.WRN_XMLDocReturnsOnADeclareSub, 1480ERRID.WRN_XMLDocStartTagWithNoEndTag, 1481ERRID.WRN_XMLDocBadGenericParamTag2, 1482ERRID.WRN_XMLDocGenericParamTagWithoutName, 1483ERRID.WRN_XMLDocExceptionTagWithoutCRef, 1484ERRID.WRN_XMLDocInvalidXMLFragment, 1485ERRID.WRN_XMLDocBadFormedXML, 1486ERRID.WRN_InterfaceConversion2, 1487ERRID.WRN_LiftControlVariableLambda, 1488ERRID.WRN_LambdaPassedToRemoveHandler, 1489ERRID.WRN_LiftControlVariableQuery, 1490ERRID.WRN_RelDelegatePassedToRemoveHandler, 1491ERRID.WRN_AmbiguousCastConversion2, 1492ERRID.WRN_VarianceDeclarationAmbiguous3, 1493ERRID.WRN_ArrayInitNoTypeObjectAssumed, 1494ERRID.WRN_TypeInferenceAssumed3, 1495ERRID.WRN_VarianceConversionFailedOut6, 1496ERRID.WRN_VarianceConversionFailedIn6, 1497ERRID.WRN_VarianceIEnumerableSuggestion3, 1498ERRID.WRN_VarianceConversionFailedTryOut4, 1499ERRID.WRN_VarianceConversionFailedTryIn4, 1500ERRID.WRN_IfNoTypeObjectAssumed, 1501ERRID.WRN_IfTooManyTypesObjectAssumed, 1502ERRID.WRN_ArrayInitTooManyTypesObjectAssumed, 1503ERRID.WRN_LambdaNoTypeObjectAssumed, 1504ERRID.WRN_LambdaTooManyTypesObjectAssumed, 1505ERRID.WRN_MissingAsClauseinVarDecl, 1506ERRID.WRN_MissingAsClauseinFunction, 1507ERRID.WRN_MissingAsClauseinProperty, 1508ERRID.WRN_ObsoleteIdentityDirectCastForValueType, 1509ERRID.WRN_ImplicitConversion2, 1510ERRID.WRN_MutableStructureInUsing, 1511ERRID.WRN_MutableGenericStructureInUsing, 1512ERRID.WRN_DefAsgNoRetValFuncVal1, 1513ERRID.WRN_DefAsgNoRetValOpVal1, 1514ERRID.WRN_DefAsgNoRetValPropVal1, 1515ERRID.WRN_AsyncLacksAwaits, 1516ERRID.WRN_AsyncSubCouldBeFunction, 1517ERRID.WRN_UnobservedAwaitableExpression, 1518ERRID.WRN_UnobservedAwaitableDelegate, 1519ERRID.WRN_PrefixAndXmlnsLocalName, 1520ERRID.WRN_UseValueForXmlExpression3, 1521ERRID.WRN_ReturnTypeAttributeOnWriteOnlyProperty, 1522ERRID.WRN_InvalidVersionFormat, 1523ERRID.WRN_MainIgnored, 1524ERRID.WRN_EmptyPrefixAndXmlnsLocalName, 1525ERRID.WRN_DefAsgNoRetValWinRtEventVal1, 1526ERRID.WRN_AssemblyAttributeFromModuleIsOverridden, 1527ERRID.WRN_RefCultureMismatch, 1528ERRID.WRN_ConflictingMachineAssembly, 1529ERRID.WRN_PdbLocalNameTooLong, 1530ERRID.WRN_PdbUsingNameTooLong, 1531ERRID.WRN_XMLDocCrefToTypeParameter, 1532ERRID.WRN_AnalyzerCannotBeCreated, 1533ERRID.WRN_NoAnalyzerInAssembly, 1534ERRID.WRN_UnableToLoadAnalyzer, 1535ERRID.WRN_AttributeIgnoredWhenPublicSigning, 1536ERRID.WRN_Experimental, 1537ERRID.WRN_ExperimentalWithMessage, 1538ERRID.WRN_AttributeNotSupportedInVB, 1539ERRID.WRN_GeneratorFailedDuringInitialization, 1540ERRID.WRN_GeneratorFailedDuringGeneration, 1541ERRID.WRN_AnalyzerReferencesFramework, 1542ERRID.WRN_CallerArgumentExpressionAttributeSelfReferential, 1543ERRID.WRN_CallerArgumentExpressionAttributeHasInvalidParameterName, 1544ERRID.WRN_AnalyzerReferencesNewerCompiler, 1545ERRID.WRN_DuplicateAnalyzerReference, 1546ERRID.ERR_InvalidExperimentalDiagID, 1547ERRID.ERR_LockTypeUnsupported, 1548ERRID.WRN_ConvertingLock
Errors\LazyObsoleteDiagnosticInfo.vb (1)
19MyBase.New(VisualBasic.MessageProvider.Instance, ERRID.Unknown)
Errors\LocalizableErrorArgument.vb (2)
16Private ReadOnly _id As ERRID 18Friend Sub New(id As ERRID)
Errors\MessageProvider.vb (92)
27Return ErrorFactory.IdToString(DirectCast(code, ERRID), language) 31Return ErrorFactory.GetMessageFormat(DirectCast(code, ERRID)) 35Return ErrorFactory.GetDescription(DirectCast(code, ERRID)) 39Return ErrorFactory.GetTitle(DirectCast(code, ERRID)) 43Return ErrorFactory.GetHelpLink(DirectCast(code, ERRID)) 47Return ErrorFactory.GetCategory(DirectCast(code, ERRID)) 51Dim errid = DirectCast(code, ERRID) 52If errid = ERRID.Void Then 54ElseIf errid = ERRID.Unknown Then 68Dim errorId = DirectCast(code, ERRID) 70code <> ERRID.WRN_BadSwitch AndAlso 71code <> ERRID.WRN_NoConfigInResponseFile AndAlso 72code <> ERRID.WRN_IgnoreModuleManifest Then 84Return GetType(ERRID) 89Return New VBDiagnostic(ErrorFactory.ErrorInfo(CType(code, ERRID), args), location) 139Return ERRID.ERR_UnableToCreateTempFile 145Return ERRID.ERR_MultipleAnalyzerConfigsInSameDir 152Return ERRID.ERR_ExpectedSingleScript 158Return ERRID.ERR_NoResponseFile 164Return ERRID.ERR_InvalidPathMap 170Return ERRID.FTL_InvalidInputFileName 176Return ERRID.ERR_FileNotFound 182Return ERRID.ERR_BadModuleFile1 188Return ERRID.ERR_CantOpenFileWrite 194Return ERRID.ERR_CantOpenFileWrite 200Return ERRID.WRN_NoConfigInResponseFile 206Return ERRID.ERR_BinaryFile 212Return ERRID.WRN_AnalyzerCannotBeCreated 218Return ERRID.WRN_NoAnalyzerInAssembly 224Return ERRID.WRN_UnableToLoadAnalyzer 230Return ERRID.WRN_AnalyzerReferencesFramework 236Return ERRID.WRN_AnalyzerReferencesNewerCompiler 242Return ERRID.WRN_DuplicateAnalyzerReference 248Return ERRID.INF_UnableToLoadSomeTypesInAnalyzer 254Return ERRID.ERR_CantReadRulesetFile 261Return ERRID.ERR_None 269Return ERRID.ERR_BadSourceCodeKind 275Return ERRID.ERR_BadDocumentationMode 283Return ERRID.ERR_InvalidSwitchValue 289Return ERRID.ERR_MutuallyExclusiveOptions 297Return ERRID.ERR_InvalidDebugInformationFormat 303Return ERRID.ERR_InvalidOutputName 309Return ERRID.ERR_InvalidFileAlignment 315Return ERRID.ERR_InvalidSubsystemVersion 321Return ERRID.ERR_InvalidHashAlgorithmName 327Return ERRID.ERR_InvalidInstrumentationKind 334Return ERRID.ERR_MetaDataIsNotAssembly 340Return ERRID.ERR_MetaDataIsNotModule 346Return ERRID.ERR_BadMetaDataReference1 352Return ERRID.ERR_BadModuleFile1 358Return ERRID.ERR_BadRefLib1 364Return ERRID.ERR_BadModuleFile1 370Return ERRID.ERR_LibNotFound 376Return ERRID.ERR_MetadataReferencesNotSupported 382Return ERRID.ERR_LinkedNetmoduleMetadataMustProvideFullPEImage 387diagnostics.Add(ERRID.ERR_DuplicateReferenceStrong, 394diagnostics.Add(ERRID.ERR_DuplicateReference2, 404Return ERRID.ERR_UnableToOpenResourceFile1 409Return ERRID.ERR_PublicKeyFileFailure 415Return ERRID.ERR_PublicKeyContainerFailure 421Return ERRID.ERR_OptionMustBeAbsolutePath 428Return ERRID.ERR_UnableToOpenResourceFile1 'TODO: refine (DevDiv #12914) 434Return ERRID.ERR_UnableToReadUacManifest2 440Return ERRID.ERR_UnableToOpenResourceFile1 'TODO: refine (DevDiv #12914) 446Return ERRID.ERR_ErrorCreatingWin32ResourceFile 452Return ERRID.ERR_ErrorCreatingWin32ResourceFile 458Return ERRID.ERR_DuplicateResourceFileName1 464Return ERRID.ERR_DuplicateResourceName1 470Return ERRID.ERR_ResourceInModule 478Return ERRID.ERR_PermissionSetAttributeFileReadError 484diagnostics.Add(ERRID.ERR_BadAttribute1, node.ArgumentList.Arguments(parameterIndex).GetLocation(), attribute.AttributeClass) 489diagnostics.Add(ERRID.ERR_BadAttribute1, node.ArgumentList.Arguments(namedArgumentIndex).GetLocation(), attributeClass) 494diagnostics.Add(ERRID.ERR_ParameterNotValidForType, node.ArgumentList.Arguments(namedArgumentIndex).GetLocation()) 499diagnostics.Add(ERRID.ERR_MarshalUnmanagedTypeNotValidForFields, node.ArgumentList.Arguments(parameterIndex).GetLocation(), unmanagedTypeName) 504diagnostics.Add(ERRID.ERR_MarshalUnmanagedTypeOnlyValidForFields, node.ArgumentList.Arguments(parameterIndex).GetLocation(), unmanagedTypeName) 509diagnostics.Add(ERRID.ERR_AttributeParameterRequired1, node.Name.GetLocation(), parameterName) 514diagnostics.Add(ERRID.ERR_AttributeParameterRequired2, node.Name.GetLocation(), parameterName1, parameterName2) 520Return ERRID.ERR_EncodinglessSyntaxTree 526Return ERRID.WRN_PdbUsingNameTooLong 532Return ERRID.WRN_PdbLocalNameTooLong 538Return ERRID.ERR_PDBWritingFailed 545Return ERRID.ERR_TooLongMetadataName 551Return ERRID.ERR_EncReferenceToAddedMember 557Return ERRID.ERR_TooManyUserStrings 563Return ERRID.ERR_PeWritingFailure 569Return ERRID.ERR_ModuleEmitFailure 575Return ERRID.ERR_EncUpdateFailedMissingSymbol 581Return ERRID.ERR_BadAssemblyName 587Return ERRID.ERR_InvalidDebugInfo 593Return ERRID.ERR_TooLongOrComplexExpression 600Return ERRID.WRN_GeneratorFailedDuringInitialization 606Return ERRID.WRN_GeneratorFailedDuringGeneration
Generated\ErrorFacts.Generated.vb (186)
3Public Function IsWarning(code as ERRID) As Boolean 5Case ERRID.WRN_BadSwitch, 6ERRID.WRN_NoConfigInResponseFile, 7ERRID.WRN_IgnoreModuleManifest, 8ERRID.WRN_BadUILang, 9ERRID.WRN_UseOfObsoleteSymbol2, 10ERRID.WRN_InvalidOverrideDueToTupleNames2, 11ERRID.WRN_MustOverloadBase4, 12ERRID.WRN_OverrideType5, 13ERRID.WRN_MustOverride2, 14ERRID.WRN_DefaultnessShadowed4, 15ERRID.WRN_UseOfObsoleteSymbolNoMessage1, 16ERRID.WRN_AssemblyGeneration0, 17ERRID.WRN_AssemblyGeneration1, 18ERRID.WRN_ComClassNoMembers1, 19ERRID.WRN_SynthMemberShadowsMember5, 20ERRID.WRN_MemberShadowsSynthMember6, 21ERRID.WRN_SynthMemberShadowsSynthMember7, 22ERRID.WRN_UseOfObsoletePropertyAccessor3, 23ERRID.WRN_UseOfObsoletePropertyAccessor2, 24ERRID.WRN_FieldNotCLSCompliant1, 25ERRID.WRN_BaseClassNotCLSCompliant2, 26ERRID.WRN_ProcTypeNotCLSCompliant1, 27ERRID.WRN_ParamNotCLSCompliant1, 28ERRID.WRN_InheritedInterfaceNotCLSCompliant2, 29ERRID.WRN_CLSMemberInNonCLSType3, 30ERRID.WRN_NameNotCLSCompliant1, 31ERRID.WRN_EnumUnderlyingTypeNotCLS1, 32ERRID.WRN_NonCLSMemberInCLSInterface1, 33ERRID.WRN_NonCLSMustOverrideInCLSType1, 34ERRID.WRN_ArrayOverloadsNonCLS2, 35ERRID.WRN_RootNamespaceNotCLSCompliant1, 36ERRID.WRN_RootNamespaceNotCLSCompliant2, 37ERRID.WRN_GenericConstraintNotCLSCompliant1, 38ERRID.WRN_TypeNotCLSCompliant1, 39ERRID.WRN_OptionalValueNotCLSCompliant1, 40ERRID.WRN_CLSAttrInvalidOnGetSet, 41ERRID.WRN_TypeConflictButMerged6, 42ERRID.WRN_ShadowingGenericParamWithParam1, 43ERRID.WRN_CannotFindStandardLibrary1, 44ERRID.WRN_EventDelegateTypeNotCLSCompliant2, 45ERRID.WRN_DebuggerHiddenIgnoredOnProperties, 46ERRID.WRN_SelectCaseInvalidRange, 47ERRID.WRN_CLSEventMethodInNonCLSType3, 48ERRID.WRN_ExpectedInitComponentCall2, 49ERRID.WRN_NamespaceCaseMismatch3, 50ERRID.WRN_UndefinedOrEmptyNamespaceOrClass1, 51ERRID.WRN_UndefinedOrEmptyProjectNamespaceOrClass1, 52ERRID.WRN_IndirectRefToLinkedAssembly2, 53ERRID.WRN_DelaySignButNoKey, 54ERRID.WRN_UnimplementedCommandLineSwitch, 55ERRID.WRN_NoNonObsoleteConstructorOnBase3, 56ERRID.WRN_NoNonObsoleteConstructorOnBase4, 57ERRID.WRN_RequiredNonObsoleteNewCall3, 58ERRID.WRN_RequiredNonObsoleteNewCall4, 59ERRID.WRN_MissingAsClauseinOperator, 60ERRID.WRN_ConstraintsFailedForInferredArgs2, 61ERRID.WRN_ConditionalNotValidOnFunction, 62ERRID.WRN_UseSwitchInsteadOfAttribute, 63ERRID.WRN_TupleLiteralNameMismatch, 64ERRID.WRN_ReferencedAssemblyDoesNotHaveStrongName, 65ERRID.WRN_RecursiveAddHandlerCall, 66ERRID.WRN_ImplicitConversionCopyBack, 67ERRID.WRN_MustShadowOnMultipleInheritance2, 68ERRID.WRN_RecursiveOperatorCall, 69ERRID.WRN_ImplicitConversionSubst1, 70ERRID.WRN_LateBindingResolution, 71ERRID.WRN_ObjectMath1, 72ERRID.WRN_ObjectMath2, 73ERRID.WRN_ObjectAssumedVar1, 74ERRID.WRN_ObjectAssumed1, 75ERRID.WRN_ObjectAssumedProperty1, 76ERRID.WRN_UnusedLocal, 77ERRID.WRN_SharedMemberThroughInstance, 78ERRID.WRN_RecursivePropertyCall, 79ERRID.WRN_OverlappingCatch, 80ERRID.WRN_DefAsgUseNullRefByRef, 81ERRID.WRN_DuplicateCatch, 82ERRID.WRN_ObjectMath1Not, 83ERRID.WRN_BadChecksumValExtChecksum, 84ERRID.WRN_MultipleDeclFileExtChecksum, 85ERRID.WRN_BadGUIDFormatExtChecksum, 86ERRID.WRN_ObjectMathSelectCase, 87ERRID.WRN_EqualToLiteralNothing, 88ERRID.WRN_NotEqualToLiteralNothing, 89ERRID.WRN_UnusedLocalConst, 90ERRID.WRN_ComClassInterfaceShadows5, 91ERRID.WRN_ComClassPropertySetObject1, 92ERRID.WRN_DefAsgUseNullRef, 93ERRID.WRN_DefAsgNoRetValFuncRef1, 94ERRID.WRN_DefAsgNoRetValOpRef1, 95ERRID.WRN_DefAsgNoRetValPropRef1, 96ERRID.WRN_DefAsgUseNullRefByRefStr, 97ERRID.WRN_DefAsgUseNullRefStr, 98ERRID.WRN_StaticLocalNoInference, 99ERRID.WRN_InvalidAssemblyName, 100ERRID.WRN_XMLDocBadXMLLine, 101ERRID.WRN_XMLDocMoreThanOneCommentBlock, 102ERRID.WRN_XMLDocNotFirstOnLine, 103ERRID.WRN_XMLDocInsideMethod, 104ERRID.WRN_XMLDocParseError1, 105ERRID.WRN_XMLDocDuplicateXMLNode1, 106ERRID.WRN_XMLDocIllegalTagOnElement2, 107ERRID.WRN_XMLDocBadParamTag2, 108ERRID.WRN_XMLDocParamTagWithoutName, 109ERRID.WRN_XMLDocCrefAttributeNotFound1, 110ERRID.WRN_XMLMissingFileOrPathAttribute1, 111ERRID.WRN_XMLCannotWriteToXMLDocFile2, 112ERRID.WRN_XMLDocWithoutLanguageElement, 113ERRID.WRN_XMLDocReturnsOnWriteOnlyProperty, 114ERRID.WRN_XMLDocOnAPartialType, 115ERRID.WRN_XMLDocReturnsOnADeclareSub, 116ERRID.WRN_XMLDocStartTagWithNoEndTag, 117ERRID.WRN_XMLDocBadGenericParamTag2, 118ERRID.WRN_XMLDocGenericParamTagWithoutName, 119ERRID.WRN_XMLDocExceptionTagWithoutCRef, 120ERRID.WRN_XMLDocInvalidXMLFragment, 121ERRID.WRN_XMLDocBadFormedXML, 122ERRID.WRN_InterfaceConversion2, 123ERRID.WRN_LiftControlVariableLambda, 124ERRID.WRN_LambdaPassedToRemoveHandler, 125ERRID.WRN_LiftControlVariableQuery, 126ERRID.WRN_RelDelegatePassedToRemoveHandler, 127ERRID.WRN_AmbiguousCastConversion2, 128ERRID.WRN_VarianceDeclarationAmbiguous3, 129ERRID.WRN_ArrayInitNoTypeObjectAssumed, 130ERRID.WRN_TypeInferenceAssumed3, 131ERRID.WRN_VarianceConversionFailedOut6, 132ERRID.WRN_VarianceConversionFailedIn6, 133ERRID.WRN_VarianceIEnumerableSuggestion3, 134ERRID.WRN_VarianceConversionFailedTryOut4, 135ERRID.WRN_VarianceConversionFailedTryIn4, 136ERRID.WRN_IfNoTypeObjectAssumed, 137ERRID.WRN_IfTooManyTypesObjectAssumed, 138ERRID.WRN_ArrayInitTooManyTypesObjectAssumed, 139ERRID.WRN_LambdaNoTypeObjectAssumed, 140ERRID.WRN_LambdaTooManyTypesObjectAssumed, 141ERRID.WRN_MissingAsClauseinVarDecl, 142ERRID.WRN_MissingAsClauseinFunction, 143ERRID.WRN_MissingAsClauseinProperty, 144ERRID.WRN_ObsoleteIdentityDirectCastForValueType, 145ERRID.WRN_ImplicitConversion2, 146ERRID.WRN_MutableStructureInUsing, 147ERRID.WRN_MutableGenericStructureInUsing, 148ERRID.WRN_DefAsgNoRetValFuncVal1, 149ERRID.WRN_DefAsgNoRetValOpVal1, 150ERRID.WRN_DefAsgNoRetValPropVal1, 151ERRID.WRN_AsyncLacksAwaits, 152ERRID.WRN_AsyncSubCouldBeFunction, 153ERRID.WRN_UnobservedAwaitableExpression, 154ERRID.WRN_UnobservedAwaitableDelegate, 155ERRID.WRN_PrefixAndXmlnsLocalName, 156ERRID.WRN_UseValueForXmlExpression3, 157ERRID.WRN_ReturnTypeAttributeOnWriteOnlyProperty, 158ERRID.WRN_InvalidVersionFormat, 159ERRID.WRN_MainIgnored, 160ERRID.WRN_EmptyPrefixAndXmlnsLocalName, 161ERRID.WRN_DefAsgNoRetValWinRtEventVal1, 162ERRID.WRN_AssemblyAttributeFromModuleIsOverridden, 163ERRID.WRN_RefCultureMismatch, 164ERRID.WRN_ConflictingMachineAssembly, 165ERRID.WRN_PdbLocalNameTooLong, 166ERRID.WRN_PdbUsingNameTooLong, 167ERRID.WRN_XMLDocCrefToTypeParameter, 168ERRID.WRN_AnalyzerCannotBeCreated, 169ERRID.WRN_NoAnalyzerInAssembly, 170ERRID.WRN_UnableToLoadAnalyzer, 171ERRID.WRN_AttributeIgnoredWhenPublicSigning, 172ERRID.WRN_Experimental, 173ERRID.WRN_AttributeNotSupportedInVB, 174ERRID.WRN_GeneratorFailedDuringInitialization, 175ERRID.WRN_GeneratorFailedDuringGeneration, 176ERRID.WRN_AnalyzerReferencesFramework, 177ERRID.WRN_CallerArgumentExpressionAttributeSelfReferential, 178ERRID.WRN_CallerArgumentExpressionAttributeHasInvalidParameterName, 179ERRID.WRN_AnalyzerReferencesNewerCompiler, 180ERRID.WRN_DuplicateAnalyzerReference, 181ERRID.WRN_ConvertingLock, 182ERRID.WRN_ExperimentalWithMessage 189Public Function IsFatal(code as ERRID) As Boolean 191Case ERRID.FTL_InvalidInputFileName 198Public Function IsInfo(code as ERRID) As Boolean 200Case ERRID.INF_UnableToLoadSomeTypesInAnalyzer 207Public Function IsHidden(code as ERRID) As Boolean 209Case ERRID.HDN_UnusedImportClause, 210ERRID.HDN_UnusedImportStatement
GlobalImport.ImportDiagnosticInfo.vb (1)
22Dim msg = ErrorFactory.IdToString(ERRID.ERR_GeneralProjectImportsError3, TryCast(formatProvider, CultureInfo))
GlobalImport.vb (2)
112If unmappedDiag.Code = ERRID.WRN_UndefinedOrEmptyNamespaceOrClass1 Then 113Return New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.WRN_UndefinedOrEmptyProjectNamespaceOrClass1, _importedName), NoLocation.Singleton)
Lowering\AsyncRewriter\AsyncRewriter.vb (2)
567ErrorFactory.ErrorInfo(ERRID.ERR_NameNotMember2, methodName, type)), 625ErrorFactory.ErrorInfo(ERRID.ERR_NameNotMember2, propertyName, type)),
Lowering\Diagnostics\DiagnosticsPass.vb (12)
76Binder.ReportDiagnostic(Me._diagnostics, node.Syntax, ERRID.ERR_CannotLiftByRefParamQuery1, parameterSymbol.Name) 78Binder.ReportDiagnostic(Me._diagnostics, node.Syntax, ERRID.ERR_CannotLiftByRefParamLambda1, parameterSymbol.Name) 87Dim errorId As ERRID = GetMeAccessError() 89If errorId <> ERRID.ERR_None Then 97Dim errorId As ERRID = GetMeAccessError() 99If errorId <> ERRID.ERR_None Then 106Private Function GetMeAccessError() As ERRID 113Return ERRID.ERR_CannotLiftStructureMeQuery 115Return ERRID.ERR_CannotLiftStructureMeLambda 120Return ERRID.ERR_None 142Dim errorId As ERRID = GetMeAccessError() 143If errorId <> ERRID.ERR_None Then
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (14)
60GenerateDiagnostic(ERRID.ERR_BadAnonymousTypeForExprTree, node) 183GenerateDiagnostic(ERRID.ERR_ExprTreeNoMultiDimArrayCreation, node) 196GenerateDiagnostic(ERRID.ERR_ResumableLambdaInExpressionTree, node) 199GenerateDiagnostic(ERRID.ERR_StatementLambdaInExpressionTree, node) 205GenerateDiagnostic(ERRID.ERR_StatementLambdaInExpressionTree, node) 243GenerateDiagnostic(ERRID.ERR_StatementLambdaInExpressionTree, node) 263GenerateDiagnostic(ERRID.ERR_RefReturningCallInExpressionTree, node) 284GenerateDiagnostic(ERRID.ERR_RefReturningCallInExpressionTree, node) 314GenerateDiagnostic(ERRID.ERR_ByRefParamInExpressionTree, lambda) 375GenerateDiagnostic(ERRID.ERR_ExprTreeNoLateBind, node) 386GenerateDiagnostic(ERRID.ERR_ExprTreeNoLateBind, node) 394GenerateDiagnostic(ERRID.ERR_NullPropagatingOpInExpressionTree, node) 401GenerateDiagnostic(ERRID.ERR_ExpressionTreeNotSupported, node) 404Private Sub GenerateDiagnostic(code As ERRID, node As BoundNode)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (3)
177Return GenerateDiagnosticAndReturnDummyExpression(ERRID.ERR_StatementLambdaInExpressionTree, block) 180Private Function GenerateDiagnosticAndReturnDummyExpression(code As ERRID, node As BoundNode, ParamArray args As Object()) As BoundExpression 712Return GenerateDiagnosticAndReturnDummyExpression(ERRID.ERR_ExpressionTreeNotSupported, node)
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (2)
459_diagnostics.Add(ERRID.ERR_CannotLiftRestrictedTypeQuery, syntax.GetLocation(), type) 461_diagnostics.Add(ERRID.ERR_CannotLiftRestrictedTypeLambda, syntax.GetLocation(), type)
Lowering\LambdaRewriter\LambdaRewriter.vb (3)
1387Me.Diagnostics.Add(ERRID.ERR_CannotUseOnErrorGotoWithClosure, resumeLabel.ResumeStatement.GetLocation(), 1393Me.Diagnostics.Add(ERRID.ERR_CannotGotoNonScopeBlocksWithClosure, node.Syntax.GetLocation(), 1396Me.Diagnostics.Add(ERRID.ERR_CannotGotoNonScopeBlocksWithClosure, node.Syntax.GetLocation(), "Goto ", label.Name, label.Name)
Lowering\StateMachineRewriter\StateMachineRewriter.vb (1)
404Binder.ReportDiagnostic(bag, Body.Syntax, ERRID.ERR_NoGetProperty1, CustomSymbolDisplayFormatter.QualifiedName(symbol))
OptionsValidator.vb (1)
45syntaxErrors = syntaxErrors.Concat(New VBDiagnostic(New DiagnosticInfo(MessageProvider.Instance, ERRID.ERR_ExpectedEOS), importsClausesSyntaxList(1).GetLocation()))
Parser\BlockContexts\BlockContext.vb (38)
107Dim errorId As ERRID 333stmt = stmt.AddTrailingSyntax(unexpected, ERRID.ERR_ExpectedEOS) 375node = Parser.ReportSyntaxError(node, ERRID.ERR_BogusWithinLineIf) 452Add(Parser.ReportSyntaxError(node, ERRID.ERR_ElseNoMatchingIf)) 461Add(Parser.ReportSyntaxError(node, ERRID.ERR_ElseIfNoMatchingIf)) 478Add(Parser.ReportSyntaxError(node, ERRID.ERR_CaseNoSelect)) 484Add(Parser.ReportSyntaxError(node, ERRID.ERR_CaseElseNoSelect)) 510Add(Parser.ReportSyntaxError(node, If(node.Kind = SyntaxKind.CatchStatement, ERRID.ERR_CatchNoMatchingTry, ERRID.ERR_FinallyNoMatchingTry))) 597Private Function CreateMissingEnd(ByRef errorId As ERRID) As StatementSyntax 601Private Function CreateMissingEnd(kind As SyntaxKind, ByRef errorId As ERRID) As StatementSyntax 608errorId = ERRID.ERR_ExpectedEndNamespace 612errorId = ERRID.ERR_ExpectedEndModule 616errorId = ERRID.ERR_ExpectedEndClass 620errorId = ERRID.ERR_ExpectedEndStructure 624errorId = ERRID.ERR_MissingEndInterface 628errorId = ERRID.ERR_MissingEndEnum 634errorId = ERRID.ERR_EndSubExpected 638errorId = ERRID.ERR_MultilineLambdaMissingSub 642errorId = ERRID.ERR_EndFunctionExpected 646errorId = ERRID.ERR_MultilineLambdaMissingFunction 650errorId = ERRID.ERR_EndOperatorExpected 655errorId = ERRID.ERR_EndProp 659errorId = ERRID.ERR_MissingEndGet 663errorId = ERRID.ERR_MissingEndSet 668errorId = ERRID.ERR_MissingEndEvent 672errorId = ERRID.ERR_MissingEndAddHandler 676errorId = ERRID.ERR_MissingEndRemoveHandler 680errorId = ERRID.ERR_MissingEndRaiseEvent 684errorId = ERRID.ERR_ExpectedEndIf 688errorId = ERRID.ERR_ExpectedLoop 692errorId = ERRID.ERR_ExpectedEndWhile 696errorId = ERRID.ERR_ExpectedEndWith 700errorId = ERRID.ERR_ExpectedNext 704errorId = ERRID.ERR_ExpectedEndSyncLock 708errorId = ERRID.ERR_ExpectedEndSelect 712errorId = ERRID.ERR_ExpectedEndTry 716errorId = ERRID.ERR_ExpectedEndUsing
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 (46)
42Case ERRID.ERR_NamespaceNotAtNamespace, ERRID.ERR_InvInsideEndsProc 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) 364Dim ErrorId As ERRID = ERRID.ERR_Syntax 370ErrorId = ERRID.ERR_EndIfNoMatchingIf 373ErrorId = ERRID.ERR_EndWithWithoutWith 376ErrorId = ERRID.ERR_EndSelectNoSelect 379ErrorId = ERRID.ERR_EndWhileNoWhile 382ErrorId = ERRID.ERR_LoopNoMatchingDo 385ErrorId = ERRID.ERR_NextNoMatchingFor 388ErrorId = ERRID.ERR_InvalidEndSub 391ErrorId = ERRID.ERR_InvalidEndFunction 394ErrorId = ERRID.ERR_InvalidEndOperator 397ErrorId = ERRID.ERR_InvalidEndProperty 400ErrorId = ERRID.ERR_InvalidEndGet 403ErrorId = ERRID.ERR_InvalidEndSet 406ErrorId = ERRID.ERR_InvalidEndEvent 409ErrorId = ERRID.ERR_InvalidEndAddHandler 412ErrorId = ERRID.ERR_InvalidEndRemoveHandler 415ErrorId = ERRID.ERR_InvalidEndRaiseEvent 418ErrorId = ERRID.ERR_EndStructureNoStructure 421ErrorId = ERRID.ERR_InvalidEndEnum 424ErrorId = ERRID.ERR_InvalidEndInterface 427ErrorId = ERRID.ERR_EndTryNoTry 430ErrorId = ERRID.ERR_EndClassNoClass 433ErrorId = ERRID.ERR_EndModuleNoModule 436ErrorId = ERRID.ERR_EndNamespaceNoNamespace 439ErrorId = ERRID.ERR_EndUsingWithoutUsing 442ErrorId = ERRID.ERR_EndSyncLockNoSyncLock 451ErrorId = ERRID.ERR_UnrecognizedEnd
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 (4)
48Return context.ProcessSyntax(Parser.ReportSyntaxError(node, ERRID.ERR_InvInsideEndsProc)) 51node = Parser.ReportSyntaxError(node, ERRID.ERR_InvInsideBlock, SyntaxFacts.GetBlockName(BlockKind)) 72node = Parser.ReportSyntaxError(node, ERRID.ERR_InvInsideProc) 75node = Parser.ReportSyntaxError(node, ERRID.ERR_InvInsideBlock, SyntaxFacts.GetBlockName(BlockKind))
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 (2)
46Add(Parser.ReportSyntaxError(node, If(node.Kind = SyntaxKind.CatchStatement, ERRID.ERR_CatchNoMatchingTry, ERRID.ERR_FinallyNoMatchingTry)))
Parser\BlockContexts\SingleLineIfBlockContext.vb (3)
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 (10)
203hashToken = hashToken.AddTrailingSyntax(endKeyword, ERRID.ERR_Syntax) 217endKeyword = endKeyword.AddLeadingSyntax(endIfKeyword, ERRID.ERR_ObsoleteEndIf) 241equalsToken = equalsToken.AddLeadingSyntax(unexpected, ERRID.ERR_Syntax) 342guid = guid.WithDiagnostics(ErrorFactory.ErrorInfo(ERRID.WRN_BadGUIDFormatExtChecksum)) 356checksum = checksum.WithDiagnostics(ErrorFactory.ErrorInfo(ERRID.WRN_BadChecksumValExtChecksum)) 361checksum = checksum.WithDiagnostics(ErrorFactory.ErrorInfo(ERRID.WRN_BadChecksumValExtChecksum)) 410errorCode = ReportSyntaxError(errorCode, ERRID.ERR_TypecharNotallowed) 420comma = ReportSyntaxError(comma, ERRID.ERR_ExpectedComma) 457referenceKeyword = AddError(referenceKeyword, ERRID.ERR_ReferenceDirectiveOnlyAllowedInScripts) 470badDirective = ReportSyntaxError(badDirective, ERRID.ERR_ExpectedConditionalDirective)
Parser\ParseExpression.vb (44)
72expression = InternalSyntaxFactory.MissingExpression().AddTrailingSyntax(startToken, ERRID.ERR_BadCCExpression) 142expression = ReportSyntaxError(expression, ERRID.ERR_BadCCExpression) 247term = ReportSyntaxError(term, ERRID.ERR_ExpectedDotAfterGlobalNameSpace) 257term = ReportSyntaxError(term, ERRID.ERR_ExpectedDotAfterMyBase) 267term = ReportSyntaxError(term, ERRID.ERR_ExpectedDotAfterMyClass) 303term = term.AddTrailingSyntax(CurrentToken, ERRID.ERR_FullWidthAsXmlDelimiter) 429term = ReportSyntaxError(term, ERRID.ERR_ExpectedExpression) 445term = term.AddTrailingSyntax(CurrentToken, ERRID.ERR_NullableCharNotSupported) 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) 536CodeAnalysis.Syntax.InternalSyntax.SyntaxList.List(simpleArgument.NameColonEquals.Name, simpleArgument.NameColonEquals.ColonEqualsToken), ERRID.ERR_IllegalOperandInIIFName) 544expr = expr.AddLeadingSyntax(arg, ERRID.ERR_ExpectedExpression) 565InternalSyntaxFactory.MissingExpression.WithDiagnostics(ErrorFactory.ErrorInfo(ERRID.ERR_IllegalOperandInIIFCount)), 575InternalSyntaxFactory.MissingExpression.WithDiagnostics(ErrorFactory.ErrorInfo(ERRID.ERR_IllegalOperandInIIFCount)), 619CodeAnalysis.Syntax.InternalSyntax.SyntaxList.List(ArrayElement(Of GreenNode).MakeElementArray(leading)), ERRID.ERR_IllegalOperandInIIFCount)) 705Return ReportSyntaxError(argument, ERRID.ERR_ExpressionDoesntHaveName) 724Return ReportSyntaxError(argument, If(isTopLevel, ERRID.ERR_ExpressionDoesntHaveName, ERRID.ERR_InvalidNameOfSubExpression)) 837arrayModifiers = ParseArrayRankSpecifiers(ERRID.ERR_NoConstituentArraySizes) 890objInit = ReportSyntaxError(objInit, ERRID.ERR_CantCombineInitializers) 904objInit = ReportSyntaxError(objInit, ERRID.ERR_CantCombineInitializers) 910objInit = ReportSyntaxError(objInit, ERRID.ERR_CantCombineInitializers) 1030Dim missingIdent = ReportSyntaxError(InternalSyntaxFactory.MissingIdentifier, ERRID.ERR_ExpectedIdentifier) 1057atToken = ReportSyntaxError(atToken, ERRID.ERR_ExpectedXmlName) 1073atToken = ReportSyntaxError(atToken, ERRID.ERR_ExpectedXmlName) 1129ReportSyntaxError(InternalSyntaxFactory.XmlName(Nothing, missingName), ERRID.ERR_ExpectedXmlName)) 1131result = SyntaxFactory.SimpleMemberAccessExpression(Term, DotOrBangToken, ReportSyntaxError(InternalSyntaxFactory.IdentifierName(InternalSyntaxFactory.MissingIdentifier), ERRID.ERR_ExpectedIdentifier)) 1221Return ReportSyntaxError(SyntaxFactory.XmlName(Nothing, SyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing)), ERRID.ERR_ExpectedXmlName) 1294missing = ReportSyntaxError(missing, ERRID.ERR_TupleTooFewElements) 1344closeParen = ReportSyntaxError(closeParen, ERRID.ERR_ExpectedRparen) 1454skipped = ReportSyntaxError(skipped, ERRID.ERR_ArgumentSyntax) 1482Return ReportSyntaxError(argument, ERRID.ERR_ExpectedNamedArgument, 1513argumentName = ReportSyntaxError(argumentName, ERRID.ERR_ExpectedNamedArgumentInAttributeList) 1526namedArgument = ReportSyntaxError(namedArgument, ERRID.ERR_ArgumentSyntax) 1612ERRID.ERR_SyntaxInCastOp) 1691openParen = openParen.AddLeadingSyntax(genericParams, ERRID.ERR_GenericParamsOnInvalidMember) 1710asKeyword = asKeyword.AddTrailingSyntax(returnTypeAttributes.Node, ERRID.ERR_AttributeOnLambdaReturnType) 1725closeParen = closeParen.AddTrailingSyntax(asClause, ERRID.ERR_ExpectedEOS) 1766value = Parser.ReportSyntaxError(value, ERRID.ERR_BadIteratorExpressionLambda) 1805_context.Add(ReportSyntaxError(statement, ERRID.ERR_InvInsideEndsProc))
Parser\ParseInterpolatedString.vb (6)
82content = AddLeadingSyntax(content, _pool.ToListAndFree(skipped), ERRID.ERR_Syntax) 90doubleQuoteToken = AddLeadingSyntax(doubleQuoteToken, _pool.ToListAndFree(skipped), ERRID.ERR_Syntax) 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 (12)
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) 917Exprs(Exprs.Count - 1) = Exprs(Exprs.Count - 1).AddTrailingSyntax(CurrentToken, ERRID.ERR_ExpectedAnd)
Parser\Parser.vb (126)
116id = id.AddTrailingSyntax(typeArguments, ERRID.ERR_TypeArgsUnexpected) 188result = ReportSyntaxError(result, ERRID.ERR_NoGlobalExpectedIdentifier) 224result = ReportSyntaxError(result, ERRID.ERR_ExpectedDot) 512Return result.AddLeadingSyntax(builder.ToList(Of SyntaxToken)(), ERRID.ERR_TooLongOrComplexExpression) 553Dim unexpectedEnd = ReportSyntaxError(method.End, ERRID.ERR_InvInsideEndsProc) 595CodeAnalysis.Syntax.InternalSyntax.SyntaxList.List(CurrentToken, nextToken), ERRID.ERR_ExpectedRelational) 764Return ReportUnrecognizedStatementError(ERRID.ERR_Syntax) 779Return ReportUnrecognizedStatementError(ERRID.ERR_ObsoleteStructureNotType) 799Return ReportUnrecognizedStatementError(ERRID.ERR_ExpectedDeclaration) 849Return ParseSpecifierDeclaration().AddLeadingSyntax(idf, ERRID.ERR_ExpectedDeclaration) 1190Return ReportUnrecognizedStatementError(ERRID.ERR_ObsoleteGetStatement) 1241Return ReportUnrecognizedStatementError(ERRID.ERR_Syntax) 1308statement = ReportUnrecognizedStatementError(ERRID.ERR_ObsoleteStructureNotType, attributes, modifiers) 1398statement = ReportUnrecognizedStatementError(ERRID.ERR_StandaloneAttribute, attributes, modifiers) 1402statement = ReportUnrecognizedStatementError(ERRID.ERR_InvalidUseOfKeyword, attributes, modifiers, forceErrorOnFirstToken:=True) 1408statement = ReportUnrecognizedStatementError(ERRID.ERR_ExpectedIdentifier, attributes, modifiers, createMissingIdentifier:=True) 1449Dim genericParameters = ReportSyntaxError(ParseGenericParameters, ERRID.ERR_GenericParamsOnInvalidMember) 1591ident = ident.AddTrailingSyntax(ReportGenericParamsDisallowedError(ERRID.ERR_ModulesCannotBeGeneric)) 1609Private Function ReportGenericParamsDisallowedError(errid As ERRID) As TypeParameterListSyntax 1634genericParams = ReportGenericParamsDisallowedError(ERRID.ERR_GenericParamsOnInvalidMember) 1641Dim namespaceKeyword As KeywordSyntax = ReportModifiersOnStatementError(ERRID.ERR_SpecifiersInvalidOnInheritsImplOpt, attributes, Specifiers, DirectCast(CurrentToken, KeywordSyntax)) 1644namespaceKeyword = AddError(namespaceKeyword, ERRID.ERR_NamespaceNotAllowedInScript) 1726statement = ReportSyntaxError(ParseStopOrEndStatement(), ERRID.ERR_UnrecognizedEnd) 1936Dim err As ERRID = ERRID.ERR_None 1994t = ReportSyntaxError(possibleKeyword, ERRID.ERR_InvalidUseOfCustomModifier) 2022If (err <> ERRID.ERR_None) Then 2092result = result.AddLeadingSyntax(attributes.Node, ERRID.ERR_LocalsCannotHaveAttributes) 2101ERRID.ERR_StandaloneAttribute, 2102ERRID.ERR_ExpectedSpecifier)) 2301withKeyword = ReportSyntaxError(withKeyword, ERRID.ERR_CantCombineInitializers) 2318objectMemberInitializer = objectMemberInitializer.AddTrailingSyntax(possibleKeyword, ERRID.ERR_CantCombineInitializers) 2331withKeyword = ReportSyntaxError(withKeyword, ERRID.ERR_UnrecognizedTypeKeyword) 2414closeBrace = closeBrace.AddLeadingSyntax(skipped, ERRID.ERR_ExpectedRbrace) 2442withKeyword = ReportSyntaxError(withKeyword, ERRID.ERR_UnrecognizedTypeKeyword) 2496openBrace = ReportSyntaxError(openBrace, If(anonymousTypeInitializer, ERRID.ERR_AnonymousTypeNeedField, ERRID.ERR_InitializerExpected)) 2570id = ReportSyntaxError(id, ERRID.ERR_NullableTypeInferenceNotSupported) 2580equals = ReportSyntaxError(equals, ERRID.ERR_ExpectedAssignmentOperatorInInit) 2605expression = ReportSyntaxError(expression, ERRID.ERR_AnonymousTypeExpectedIdentifier) 2611expression = ReportSyntaxError(expression, ERRID.ERR_AnonymousTypeNameWithoutPeriod) 2620expression = ReportSyntaxError(expression, ERRID.ERR_AnonTypeFieldXMLNameInference) 2622expression = ReportSyntaxError(expression, ERRID.ERR_AnonymousTypeFieldNameInference) 2638id = ReportSyntaxError(id, ERRID.ERR_ExpectedQualifiedNameInInit) 2706id = ReportSyntaxError(id, ERRID.ERR_ExpectedIdentifier) 2718id = ParseNullableIdentifier(optionalNullable).AddLeadingSyntax(modifiers.Node, ERRID.ERR_ExtraSpecifiers) 2724id = ReportSyntaxError(id, ERRID.ERR_InvalidUseOfCustomModifier) 2799Dim errorID As ERRID 2808name = ReportSyntaxError(name, ERRID.ERR_ObsoleteObjectNotVariant) 2838errorID = ERRID.ERR_InvalidNewInType 2842errorID = ERRID.ERR_UnrecognizedTypeOrWith 2845errorID = ERRID.ERR_UnrecognizedTypeKeyword 2847errorID = ERRID.ERR_UnrecognizedType 2874typeName = typeName.AddTrailingSyntax(CurrentToken, ERRID.ERR_BadNullTypeInCCExpression) 2953skipped = ReportSyntaxError(skipped, ERRID.ERR_ArgumentSyntax) 2980missing = ReportSyntaxError(missing, ERRID.ERR_TupleTooFewElements) 3021ReportSyntaxError(typeArgumentList.CloseParenToken, ERRID.ERR_UnrecognizedType)) 3043ident = ident.AddTrailingSyntax(start, ERRID.ERR_BadTypeInCCExpression) 3068rankSpecifiers = New CoreInternalSyntax.SyntaxList(Of ArrayRankSpecifierSyntax)(ReportSyntaxError(rankSpecifiers.Node, ERRID.ERR_ArrayOfRawGenericInvalid)) 3136typeName = ReportSyntaxError(typeName, ERRID.ERR_TypeParamMissingCommaOrRParen) 3170Private Function ParseArrayRankSpecifiers(Optional errorForExplicitArraySizes As ERRID = ERRID.ERR_NoExplicitArraySizes) As CoreInternalSyntax.SyntaxList(Of ArrayRankSpecifierSyntax) 3269optionalArrayBounds = ReportSyntaxError(optionalArrayBounds, ERRID.ERR_NoExplicitArraySizes) 3274closeParen = closeParen.AddLeadingSyntax(arguments.Node, ERRID.ERR_NoConstituentArraySizes) 3398methodKeyword = ReportSyntaxError(methodKeyword, ERRID.ERR_MethodMustBeFirstStatementOnLine) 3429methodKeyword = ReportModifiersOnStatementError(ERRID.ERR_SpecifiersInvOnEventMethod, Nothing, modifiers, methodKeyword) 3526eventContainer = ReportSyntaxError(eventContainer, ERRID.ERR_NoGlobalInHandles) 3647newKeyword = newKeyword.AddError(ERRID.ERR_NewCannotHandleEvents) ' error should be on "New" 3651newKeyword = newKeyword.AddError(ERRID.ERR_ImplementsOnNew) ' error should be on "New" 3706optionalGenericParams = ReportGenericParamsDisallowedError(ERRID.ERR_GenericParamsOnInvalidMember) 3721handlesClause = ReportSyntaxError(handlesClause, ERRID.ERR_DelegateCantHandleEvents) 3728implementsClause = ReportSyntaxError(implementsClause, ERRID.ERR_DelegateCantImplement) 3831ident = ReportSyntaxError(ident, ERRID.ERR_ConstructorFunction) 3879handlesClause = ReportSyntaxError(handlesClause, ERRID.ERR_DelegateCantHandleEvents) 3887implementsClause = ReportSyntaxError(implementsClause, ERRID.ERR_DelegateCantImplement) 3955operatorToken = validMissingOperator.AddTrailingSyntax(operatorToken, ERRID.ERR_OperatorNotOverloadable) 3958operatorToken = validMissingOperator.AddTrailingSyntax(operatorToken, ERRID.ERR_UnknownOperator) 3961operatorToken = ReportSyntaxError(validMissingOperator, ERRID.ERR_UnknownOperator) 3991openParen = ReportSyntaxError(openParen, ERRID.ERR_ExpectedLparen) 4036Dim err As ERRID = ERRID.ERR_None 4041err = ERRID.ERR_InvalidHandles 4046err = ERRID.ERR_InvalidImplements 4050Debug.Assert(err <> ERRID.ERR_None) 4108ident = ReportSyntaxError(ParseIdentifierAllowingKeyword(), ERRID.ERR_ObsoletePropertyGetLetSet) 4239methodKeyword = ReportSyntaxError(methodKeyword, ERRID.ERR_ExpectedSubOrFunction) 4397ERRID.ERR_TypeParamMissingAsCommaOrRParen, 4398ERRID.ERR_TypeParamMissingCommaOrRParen)) 4440syntaxError = ErrorFactory.ErrorInfo(ERRID.ERR_BadConstraintSyntax) 4513param = param.AddTrailingSyntax(ResyncAt({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}), ERRID.ERR_InvalidParameterSyntax) 4574keyword = ReportSyntaxError(keyword, ERRID.ERR_MultipleParameterSpecifiers) 4581keyword = ReportSyntaxError(keyword, ERRID.ERR_MultipleParameterSpecifiers) 4584keyword = ReportSyntaxError(keyword, ERRID.ERR_ParamArrayMustBeByVal) 4591keyword = ReportSyntaxError(keyword, ERRID.ERR_MultipleOptionalParameterSpecifiers) 4598keyword = ReportSyntaxError(keyword, ERRID.ERR_MultipleOptionalParameterSpecifiers) 4600keyword = ReportSyntaxError(keyword, ERRID.ERR_ParamArrayMustBeByVal) 4612keyword = ReportSyntaxError(keyword, ERRID.ERR_DuplicateParameterSpecifier) 4666equals = ReportSyntaxError(equals, ERRID.ERR_DefaultValueForNonOptionalParam) 4673equals = ReportSyntaxError(InternalSyntaxFactory.MissingPunctuation(SyntaxKind.EqualsToken), ERRID.ERR_ObsoleteOptionalWithoutValue) 4752xmlNamespace = ReportSyntaxError(CreateMissingXmlAttribute(), ERRID.ERR_ExpectedXmlns) 4757xmlNamespace = xmlNamespace.AddTrailingSyntax(unexpected, ERRID.ERR_ExpectedGreater) 4789aliasIdentifier = ReportSyntaxError(aliasIdentifier, ERRID.ERR_NoTypecharInAlias) 4911Dim ErrorId As ERRID = ERRID.ERR_None 4939ErrorId = ERRID.ERR_InvalidOptionCompare 4945ErrorId = ERRID.ERR_InvalidOptionCompare 4967ErrorId = ERRID.ERR_InvalidOptionStrictCustom 4969ErrorId = ERRID.ERR_InvalidOptionStrict 4973ErrorId = ERRID.ERR_InvalidOptionExplicit 4975ErrorId = ERRID.ERR_InvalidOptionInfer 4985ErrorId = ERRID.ERR_ExpectedOptionCompare 4989ErrorId = ERRID.ERR_ExpectedForOptionStmt 4993ErrorId = ERRID.ERR_ExpectedForOptionStmt 4998If ErrorId <> ERRID.ERR_None Then 5059methodKeyword = ReportSyntaxError(InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword), ERRID.ERR_ExpectedSubFunction) 5100libKeyword = libKeyword.AddLeadingSyntax(unexpected, ERRID.ERR_MissingLibInDeclare) 5289asKeyword = ReportSyntaxError(asKeyword, ERRID.ERR_EventsCantBeFunctions) 5375closeParen = closeParen.AddTrailingSyntax(ResyncAt({SyntaxKind.ImplementsKeyword}), ERRID.ERR_EventsCantBeFunctions) 5377ident = ident.AddTrailingSyntax(ResyncAt({SyntaxKind.ImplementsKeyword}), ERRID.ERR_EventsCantBeFunctions) 5433Dim typeName = SyntaxFactory.IdentifierName(ReportSyntaxError(InternalSyntaxFactory.MissingIdentifier(), ERRID.ERR_ExpectedIdentifier)) 5481assemblyOrModuleKeyword = ReportSyntaxError(assemblyOrModuleKeyword, ERRID.ERR_FileAttributeNotAssemblyOrModule) 5524typeName = ReportSyntaxError(typeName, ERRID.ERR_GenericArgsOnAttributeSpecifier) 5750stmt = stmt.AddTrailingSyntax(unexpected, ERRID.ERR_ExpectedEOS) 6090Return node.AddTrailingSyntax(b.ToList(), ERRID.ERR_Syntax) 6112Return ReportSyntaxError(node, ERRID.ERR_LanguageVersion, languageVersion.GetErrorName(), featureName, requiredVersion) 6144ERRID.ERR_LanguageVersion,
Parser\ParseReportError.vb (6)
34Friend Shared Function ReportSyntaxError(Of T As GreenNode)(syntax As T, ErrorId As ERRID) As T 38Friend Shared Function ReportSyntaxError(Of T As VisualBasicSyntaxNode)(syntax As T, ErrorId As ERRID, ParamArray args() As Object) As T 49Private Function ReportUnrecognizedStatementError(ErrorId As ERRID) As StatementSyntax 64ErrorId As ERRID, 115Return ReportModifiersOnStatementError(ERRID.ERR_SpecifiersInvalidOnInheritsImplOpt, attributes, modifiers, keyword) 118Private Function ReportModifiersOnStatementError(errorId As ERRID, attributes As CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of AttributeListSyntax), modifiers As CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of KeywordSyntax), keyword As KeywordSyntax) As KeywordSyntax
Parser\ParserFeature.vb (35)
122Friend Function GetResourceId(feature As Feature) As ERRID 125Return ERRID.FEATURE_AutoProperties 127Return ERRID.FEATURE_ReadonlyAutoProperties 129Return ERRID.FEATURE_LineContinuation 131Return ERRID.FEATURE_StatementLambdas 133Return ERRID.FEATURE_CoContraVariance 135Return ERRID.FEATURE_CollectionInitializers 137Return ERRID.FEATURE_SubLambdas 139Return ERRID.FEATURE_ArrayLiterals 141Return ERRID.FEATURE_AsyncExpressions 143Return ERRID.FEATURE_Iterators 145Return ERRID.FEATURE_GlobalNamespace 147Return ERRID.FEATURE_NullPropagatingOperator 149Return ERRID.FEATURE_NameOfExpressions 151Return ERRID.FEATURE_RegionsEverywhere 153Return ERRID.FEATURE_MultilineStringLiterals 155Return ERRID.FEATURE_CObjInAttributeArguments 157Return ERRID.FEATURE_LineContinuationComments 159Return ERRID.FEATURE_TypeOfIsNot 161Return ERRID.FEATURE_YearFirstDateLiterals 163Return ERRID.FEATURE_WarningDirectives 165Return ERRID.FEATURE_PartialModules 167Return ERRID.FEATURE_PartialInterfaces 169Return ERRID.FEATURE_ImplementingReadonlyOrWriteonlyPropertyWithReadwrite 171Return ERRID.FEATURE_DigitSeparators 173Return ERRID.FEATURE_BinaryLiterals 175Return ERRID.FEATURE_Tuples 177Return ERRID.FEATURE_LeadingDigitSeparator 179Return ERRID.FEATURE_PrivateProtected 181Return ERRID.FEATURE_InterpolatedStrings 183Return ERRID.FEATURE_UnconstrainedTypeParameterInConditional 185Return ERRID.FEATURE_CommentsAfterLineContinuation 187Return ERRID.FEATURE_InitOnlySettersUsage 189Return ERRID.FEATURE_UnmanagedConstraint 191Return ERRID.FEATURE_OverloadResolutionPriority
Parser\ParseStatement.vb (25)
87blockKeyword = ReportSyntaxError(blockKeyword, ERRID.ERR_ExpectedContinueKind) 205Dim stmtError As ERRID = Nothing 209stmtError = ERRID.ERR_ExitOperatorNotValid 214stmtError = ERRID.ERR_ExitEventMemberNotInvalid 218If stmtError <> ERRID.ERR_None Then 234blockKeyword = ReportSyntaxError(blockKeyword, ERRID.ERR_ExpectedExitKind) 289Dim relationalOperator = ReportSyntaxError(InternalSyntaxFactory.MissingPunctuation(SyntaxKind.EqualsToken), ERRID.ERR_ExpectedRelational) 500Dim errorId As ERRID 507errorId = ERRID.ERR_ObsoleteEndIf 513errorId = ERRID.ERR_ObsoleteWhileWend 517errorId = ERRID.ERR_ObsoleteGosub 624expression = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(ResyncAt({SyntaxKind.ToKeyword}), ERRID.ERR_Syntax) 665fromValue = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(ResyncAt({SyntaxKind.ToKeyword}), ERRID.ERR_Syntax) 738variable = ReportSyntaxError(variable, ERRID.ERR_ExtraNextVariable) 878label = ReportSyntaxError(label, ERRID.ERR_NoTypecharInLabel) 898intLiteral = ReportSyntaxError(intLiteral, ERRID.ERR_Syntax) 908label = ReportSyntaxError(label, ERRID.ERR_ExpectedIdentifier) 961errorKeyword = ReportSyntaxError(InternalSyntaxFactory.MissingKeyword(SyntaxKind.ErrorKeyword), ERRID.ERR_ObsoleteOnGotoGosub) 977missingGotoKeyword = ReportSyntaxError(missingGotoKeyword, ERRID.ERR_ExpectedResumeOrGoto) 1151target = SyntaxFactory.InvocationExpression(target, ReportSyntaxError(argumentList, ERRID.ERR_ObsoleteArgumentsNeedParens)) 1330statement = statement.AddTrailingSyntax(CurrentToken, ERRID.ERR_ObsoleteRedimAs) 1430Return InternalSyntaxFactory.EmptyStatement.AddTrailingSyntax(keyword, ERRID.ERR_ObsoleteLetSetNotNeeded) 1579Return ReportSyntaxError(SyntaxFactory.LabelStatement(labelName, InternalSyntaxFactory.MissingPunctuation(SyntaxKind.ColonToken)), ERRID.ERR_ObsoleteLineNumbersAreLabels) 1716optionalWhileOrUntilClause = ReportSyntaxError(ResyncAt(clause), ERRID.ERR_Syntax) 1869result = result.AddError(ERRID.ERR_UnexpectedExpressionStatement)
Parser\ParseTerminal.vb (5)
44identifier = ReportSyntaxError(identifier, ERRID.ERR_InvalidUseOfKeyword) 57identifier = ReportSyntaxError(identifier, ERRID.ERR_InvalidUseOfKeyword) 66identifier = identifier.AddLeadingSyntax(CurrentToken, ERRID.ERR_ExpectedIdentifier) 69identifier = ReportSyntaxError(identifier, ERRID.ERR_ExpectedIdentifier) 124identifier = ReportSyntaxError(identifier, ERRID.ERR_ExpectedIdentifier)
Parser\ParseVerify.vb (37)
32Private Shared Function GetUnexpectedTokenErrorId(kind As SyntaxKind) As ERRID 36Return ERRID.ERR_ExpectedAs 39Return ERRID.ERR_ExpectedBy 42Return ERRID.ERR_ExpectedRbrace 45Return ERRID.ERR_ExpectedRparen 48Return ERRID.ERR_ExpectedComma 51Return ERRID.ERR_ExpectedQuote 54Return ERRID.ERR_ExpectedDot 57Return ERRID.ERR_ExpectedXmlEndCData 60Return ERRID.ERR_ExpectedEquals 63Return ERRID.ERR_ExpectedEQ 66Return ERRID.ERR_ExpectedGreater 69Return ERRID.ERR_ExpectedIdentifier 72Return ERRID.ERR_ExpectedIntLiteral 75Return ERRID.ERR_ExpectedIn 78Return ERRID.ERR_ExpectedInto 81Return ERRID.ERR_MissingIsInTypeOf 84Return ERRID.ERR_ExpectedJoin 88Return ERRID.ERR_ExpectedLT 91Return ERRID.ERR_ExpectedXmlBeginEmbedded 94Return ERRID.ERR_MissingLibInDeclare 97Return ERRID.ERR_ExpectedMinus 100Return ERRID.ERR_ExpectedXmlEndComment 103Return ERRID.ERR_MissingNext 106Return ERRID.ERR_OfExpected 109Return ERRID.ERR_ExpectedOn 112Return ERRID.ERR_ExpectedLbrace 115Return ERRID.ERR_ExpectedLparen 118Return ERRID.ERR_ExpectedXmlEndEmbedded 121Return ERRID.ERR_ExpectedXmlEndPI 124Return ERRID.ERR_ExpectedSColon 127Return ERRID.ERR_ExpectedSQuote 130Return ERRID.ERR_ExpectedDiv 133Return ERRID.ERR_ExpectedStringLiteral 136Return ERRID.ERR_ExpectedXmlName 139Return ERRID.ERR_ExpectedWarningKeyword 142Return ERRID.ERR_Syntax
Parser\ParseXml.vb (48)
135nextOption = ReportSyntaxError(nextOption, ERRID.ERR_DuplicateXmlAttribute, optionName.ToString) 144nextOption = ReportSyntaxError(nextOption, ERRID.ERR_VersionMustBeFirstInXmlDecl, "", "", optionName.ToString) 148nextOption = ReportSyntaxError(nextOption, ERRID.ERR_InvalidAttributeValue1, "1.0") 157nextOption = ReportSyntaxError(nextOption, ERRID.ERR_DuplicateXmlAttribute, optionName.ToString) 165nextOption = ReportSyntaxError(nextOption, ERRID.ERR_AttributeOrder, "encoding", "standalone") 181nextOption = ReportSyntaxError(nextOption, ERRID.ERR_DuplicateXmlAttribute, optionName.ToString) 195nextOption = ReportSyntaxError(nextOption, ERRID.ERR_InvalidAttributeValue2, "yes", "no") 205nextOption = ReportSyntaxError(nextOption, ERRID.ERR_IllegalAttributeInXmlDecl, "", "", nextOption.Name.ToString) 233endPrologue = endPrologue.AddLeadingSyntax(unexpected, ERRID.ERR_ExpectedXmlName) 242nodes(1) = ReportSyntaxError(version, ERRID.ERR_MissingVersionInXmlDecl) 275name = ReportSyntaxError(name, ERRID.ERR_ExpectedXmlWhiteSpace) 281name = name.AddTrailingSyntax(exp, ERRID.ERR_EmbeddedExpression) 304value = AddLeadingSyntax(CreateMissingXmlString(), exp, ERRID.ERR_EmbeddedExpression) 337Content(count - 1) = Content(count - 1).AddTrailingSyntax(skipped, ERRID.ERR_DTDNotSupported) 339outerNode = outerNode.AddTrailingSyntax(skipped, ERRID.ERR_DTDNotSupported) 556ERRID.ERR_IllegalXmlWhiteSpace) 633xml = ReportSyntaxError(xml, ERRID.ERR_XmlEndElementNoMatchingStart) 650xml = ReportSyntaxError(xml, ERRID.ERR_EmbeddedExpression) 678xml = xml.AddLeadingSyntax(docTypeTrivia, ERRID.ERR_DTDNotSupported) 727ReportSyntaxError(InternalSyntaxFactory.XmlName(Nothing, SyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing)), ERRID.ERR_ExpectedXmlName), 730Dim xml = contexts.Peek.CreateElement(missingEndElement, ErrorFactory.ErrorInfo(ERRID.ERR_MissingXmlEndTag)) 741element = contexts.Peek.CreateElement(endElement, ErrorFactory.ErrorInfo(ERRID.ERR_MissingXmlEndTag)) 766endElement = ReportSyntaxError(endElement, ERRID.ERR_MismatchedXmlEndTag, prefix, colon, localName) 767element = contexts.Peek.CreateElement(endElement, ErrorFactory.ErrorInfo(ERRID.ERR_MissingXmlEndTag)) 794endEmptyElementToken = AddLeadingSyntax(endEmptyElementToken, unexpectedSyntax, ERRID.ERR_ExpectedGreater) 804greaterThan = AddLeadingSyntax(greaterThan, unexpectedSyntax, ERRID.ERR_ExpectedGreater) 816greaterThan = ReportSyntaxError(greaterThan, ERRID.ERR_ExpectedGreater) 819greaterThan = AddLeadingSyntax(greaterThan, unexpectedSyntax, ERRID.ERR_Syntax) 854result = AddLeadingSyntax(result, unexpectedSyntax, ERRID.ERR_Syntax) 887ERRID.ERR_IllegalXmlWhiteSpace) 906beginEndElement = AddLeadingSyntax(beginEndElement, unexpected, ERRID.ERR_ExpectedLT) 1244modifier = modifier.AddTrailingSyntax(CurrentToken, ERRID.ERR_InvalidParameterSyntax) 1278operatorToken = ReportSyntaxError(InternalSyntaxFactory.MissingToken(SyntaxKind.PlusToken), ERRID.ERR_UnknownOperator) 1548localName = ReportSyntaxError(localName, ERRID.ERR_ExpectedXmlWhiteSpace) 1567localName = ReportSyntaxError(localName, ERRID.ERR_ExpectedXmlName) 1571localName = ReportSyntaxError(InternalSyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing), ERRID.ERR_ExpectedXmlName) 1638localName = ReportSyntaxError(InternalSyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing), ERRID.ERR_ExpectedXmlName) 1657name = ReportSyntaxError(name, ERRID.ERR_ExpectedXmlName) 1679ERRID.ERR_IllegalXmlStartNameChar, 1687ERRID.ERR_IllegalXmlNameChar, 1754xml = ReportSyntaxError(ParseXmlElementEndTag(ScannerState.Content), ERRID.ERR_XmlEndElementNoMatchingStart) 1797xml = xml.AddLeadingSyntax(docTypeTrivia, ERRID.ERR_DTDNotSupported) 1848name = ReportSyntaxError(name, ERRID.ERR_IllegalProcessingInstructionName, name.Text) 1860textToken = ReportSyntaxError(textToken, ERRID.ERR_ExpectedXmlWhiteSpace) 1925textToken = ReportSyntaxError(textToken, ERRID.ERR_IllegalXmlCommentChar) 1961startQuote = ReportSyntaxError(startQuote, ERRID.ERR_StartAttributeValue) 2039endXmlEmbedded = AddLeadingSyntax(endXmlEmbedded, unexpectedSyntax, ERRID.ERR_Syntax) 2416Return DirectCast(trivia.AddError(ErrorFactory.ErrorInfo(ERRID.ERR_IllegalXmlWhiteSpace)), SyntaxTrivia)
Preprocessor\CConst.vb (9)
11Protected ReadOnly _errid As ERRID 17Public Sub New(id As ERRID, ParamArray diagnosticArguments As Object()) 26Public MustOverride Function WithError(id As ERRID) As CConst 161Public ReadOnly Property ErrorId As ERRID 188Private Sub New(value As T, specialType As SpecialType, id As ERRID) 213Public Overrides Function WithError(id As ERRID) As CConst 221Public Sub New(id As ERRID) 225Public Sub New(id As ERRID, ParamArray args As Object()) 241Public Overrides Function WithError(id As ERRID) As CConst
Preprocessor\ExpressionEvaluator.vb (64)
212Return ReportSemanticError(ERRID.ERR_BadCCExpression, expr) 215Private Shared Function ReportSemanticError(id As ERRID, node As VisualBasicSyntaxNode) As BadCConst 219Private Shared Function ReportSemanticError(id As ERRID, node As VisualBasicSyntaxNode, ParamArray args As Object()) As BadCConst 227Return ReportSemanticError(ERRID.ERR_BadCCExpression, expr) 294Return ReportSemanticError(ERRID.ERR_TypecharNoMatch2, expr, GetDisplayString(typeChar), value.SpecialType.GetDisplayName()) 412Return ReportSemanticError(ERRID.ERR_BadTypeInCCExpression, expr.Type) 418Return ReportSemanticError(ERRID.ERR_TryCastOfValueType1, expr.Type) 429Return ReportSemanticError(ERRID.ERR_IdentityDirectCastForFloat, expr.Type) 431Return ReportSemanticError(ERRID.WRN_ObsoleteIdentityDirectCastForValueType, expr.Type) 435Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr.Type, value.SpecialType.GetDisplayName(), specialType.GetDisplayName()) 443Return ReportSemanticError(ERRID.ERR_BadTypeInCCExpression, expr.Type) 456Return ReportSemanticError(ERRID.ERR_IdentityDirectCastForFloat, expr.Type) 459result = result.WithError(ERRID.WRN_ObsoleteIdentityDirectCastForValueType) 464Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr.Type, val.SpecialType, specialType) 472Return ReportSemanticError(ERRID.ERR_BadTypeInCCExpression, expr.Type) 548Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 561Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 607Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 621Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr, SpecialType.System_Char.GetDisplayName(), SpecialType.System_Boolean.GetDisplayName()) 623Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr, SpecialType.System_DateTime.GetDisplayName(), SpecialType.System_Boolean.GetDisplayName()) 628Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 631Return ReportSemanticError(ERRID.ERR_RequiredConstConversion2, expr, SpecialType.System_String.GetDisplayName(), SpecialType.System_Boolean.GetDisplayName()) 633Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr, specialType, SpecialType.System_Boolean.GetDisplayName()) 641Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 668Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr, SpecialType.System_Char.GetDisplayName(), toSpecialType.GetDisplayName()) 671Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr, SpecialType.System_DateTime.GetDisplayName(), toSpecialType.GetDisplayName()) 674Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 677Return ReportSemanticError(ERRID.ERR_RequiredConstConversion2, expr, SpecialType.System_String.GetDisplayName(), toSpecialType.GetDisplayName()) 680Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr, fromSpecialType.GetDisplayName(), toSpecialType.GetDisplayName()) 691Return ReportSemanticError(ERRID.ERR_ExpressionOverflow1, expr, toSpecialType.GetDisplayName()) 697Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 721Return ReportSemanticError(ERRID.ERR_CannotConvertValue2, expr, fromSpecialType.GetDisplayName(), toSpecialType.GetDisplayName()) 727Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 736Return ReportSemanticError(ERRID.ERR_IntegralToCharTypeMismatch1, expr, fromSpecialType.GetDisplayName()) 741Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr, fromSpecialType, SpecialType.System_Char.GetDisplayName()) 744Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr, fromSpecialType, SpecialType.System_Char.GetDisplayName()) 750Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 759Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr, fromSpecialType, SpecialType.System_Char.GetDisplayName()) 765Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 774Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr, fromSpecialType, SpecialType.System_DateTime.GetDisplayName()) 779Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr, fromSpecialType, SpecialType.System_DateTime.GetDisplayName()) 782Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr, fromSpecialType, SpecialType.System_DateTime.GetDisplayName()) 785Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 791Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 795Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr, fromSpecialType, SpecialType.System_DateTime.GetDisplayName()) 801Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 810Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 815Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 822Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 828Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 832Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr, specialType, SpecialType.System_String.GetDisplayName()) 842Return ReportSemanticError(ERRID.ERR_RequiredConstExpr, expr) 845Return ReportSemanticError(ERRID.ERR_RequiredConstConversion2, expr, value.SpecialType.GetDisplayName(), SpecialType.System_Object.GetDisplayName()) 853Return ReportSemanticError(ERRID.ERR_BadCCExpression, expr) 859Return ReportSemanticError(ERRID.ERR_UnaryOperand2, expr, expr.OperatorToken.ValueText, specialType.GetDisplayName()) 937Return ReportSemanticError(ERRID.ERR_ExpressionOverflow1, expr) 953Return ReportSemanticError(ERRID.ERR_BadCCExpression, expr) 1061Return ReportSemanticError(ERRID.ERR_BadTypeInCCExpression, expr) 1210Return ReportSemanticError(ERRID.ERR_ZeroDivide, expr) 1227Return ReportSemanticError(ERRID.ERR_ZeroDivide, expr) 1273Return ReportSemanticError(ERRID.ERR_ExpressionOverflow1, expr, resultType.GetDisplayName()) 1455Return ReportSemanticError(ERRID.ERR_ZeroDivide, expr) 1461Return ReportSemanticError(ERRID.ERR_ZeroDivide, expr) 1486Return ReportSemanticError(ERRID.ERR_ExpressionOverflow1, expr, resultType.GetDisplayName())
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)
Scanner\Scanner.vb (24)
243token = MakeBadToken(leadingTrivia, length, ERRID.ERR_IllegalChar) 246token = MakeBadToken(leadingTrivia, RemainingLength(), ERRID.ERR_IllegalChar) 579comment = comment.WithDiagnostics({ErrorFactory.ErrorInfo(ERRID.ERR_CommentsAfterLineContinuationNotAvailable1, 813trivia = DirectCast(trivia.SetDiagnostics({ErrorFactory.ErrorInfo(ERRID.ERR_Merge_conflict_marker_encountered)}), SyntaxTrivia) 1113commentTrivia = commentTrivia.WithDiagnostics(ErrorFactory.ErrorInfo(ERRID.WRN_XMLDocNotFirstOnLine)) 1300Dim err As ERRID = ERRID.ERR_ExpectedIdentifier 1303err = ERRID.ERR_LineContWithCommentOrNoPrecSpace 1510Return MakeBadToken(precedingTrivia, 1, ERRID.ERR_ExpectedIdentifier) 1629Return MakeBadToken(precedingTrivia, here, ERRID.ERR_MissingEndBrack) 1667Return MakeBadToken(precedingTrivia, here + 1, ERRID.ERR_ExpectedIdentifier) 1680Return MakeBadToken(precedingTrivia, here, ERRID.ERR_MissingEndBrack) 1682Return MakeBadToken(precedingTrivia, here, ERRID.ERR_ExpectedIdentifier) 1857Return MakeBadToken(precedingTrivia, here, ERRID.ERR_InvalidLiteralExponent) 1953Return MakeBadToken(precedingTrivia, here, ERRID.ERR_ObsoleteExponent) 1996Return MakeBadToken(precedingTrivia, here, ERRID.ERR_Syntax) 2120result = DirectCast(result.AddError(ErrorFactory.ErrorInfo(ERRID.ERR_Overflow)), SyntaxToken) 2124result = DirectCast(result.AddError(ErrorFactory.ErrorInfo(ERRID.ERR_Syntax)), SyntaxToken) 2489Return MakeBadToken(precedingTrivia, here, ERRID.ERR_InvalidDate) 2510Return MakeBadToken(precedingTrivia, here, ERRID.ERR_InvalidDate) 2546Return MakeBadToken(precedingTrivia, 3, ERRID.ERR_IllegalCharConstant) 2571Return MakeBadToken(precedingTrivia, length + 2, ERRID.ERR_IllegalCharConstant) 2611Dim StrTkErr = strTk.SetDiagnostics({ErrorFactory.ErrorInfo(ERRID.ERR_UnterminatedStringLiteral)}) 2691Dim errorInfo = ErrorFactory.ErrorInfo(ERRID.ERR_LanguageVersion,
Scanner\ScannerXml.vb (30)
158Return XmlMakeBadToken(leadingTrivia, 1, ERRID.ERR_IllegalXmlNameChar) 167Return XmlMakeBadToken(leadingTrivia, 1, ERRID.ERR_IllegalXmlNameChar) 388Return XmlMakeTextLiteralToken(Nothing, 3, ERRID.ERR_XmlEndCDataNotAllowedInContent) 466Return XmlMakeBadToken(Nothing, 1, ERRID.ERR_IllegalChar) 557Return XmlMakeBadToken(precedingTrivia, 1, ERRID.ERR_IllegalChar) 619Return XmlMakeBadToken(precedingTrivia, 1, ERRID.ERR_IllegalChar) 700result = XmlMakeBadToken(precedingTrivia.ToList, 1, ERRID.ERR_IllegalChar) 847Return XmlMakeBadToken(Nothing, 1, ERRID.ERR_IllegalChar) 929Dim errEmbedInfo = ErrorFactory.ErrorInfo(ERRID.ERR_QuotedEmbeddedExpression) 938Dim errInfo = ErrorFactory.ErrorInfo(If(isSingle, ERRID.ERR_ExpectedSQuote, ERRID.ERR_ExpectedQuote)) 963result = XmlMakeBadToken(precedingTrivia, 1, ERRID.ERR_IllegalChar) 1064Dim err As ERRID = ERRID.ERR_None 1091If err = ERRID.ERR_None Then 1095err = If(Not isStartNameChar(xmlCh.Char1), ERRID.ERR_IllegalXmlStartNameChar, ERRID.ERR_None) 1098err = If(Not isNameChar(xmlCh.Char1), ERRID.ERR_IllegalXmlNameChar, ERRID.ERR_None) 1100If err <> ERRID.ERR_None Then 1108err = ERRID.ERR_IllegalXmlNameChar 1122If err <> ERRID.ERR_None Then 1127Return XmlMakeBadToken(precedingTrivia, 1, ERRID.ERR_IllegalChar) 1158Dim noSemicolonError = ErrorFactory.ErrorInfo(ERRID.ERR_ExpectedSColon) 1172Dim noSemicolonError = ErrorFactory.ErrorInfo(ERRID.ERR_ExpectedSColon) 1182Dim noSemicolonError = ErrorFactory.ErrorInfo(ERRID.ERR_ExpectedSColon) 1196Dim noSemicolonError = ErrorFactory.ErrorInfo(ERRID.ERR_ExpectedSColon) 1210Dim noSemicolonError = ErrorFactory.ErrorInfo(ERRID.ERR_ExpectedSColon) 1224Dim noSemicolonError = ErrorFactory.ErrorInfo(ERRID.ERR_ExpectedSColon) 1233Dim errInfo = ErrorFactory.ErrorInfo(ERRID.ERR_XmlEntityReference)
Scanner\TokenFactories.vb (1)
738Private Function MakeBadToken(precedingTrivia As CoreInternalSyntax.SyntaxList(Of VisualBasicSyntaxNode), length As Integer, errId As ERRID) As SyntaxToken
Scanner\XmlDocComments.vb (4)
317Return XmlMakeTextLiteralToken(precedingTrivia, 3, ERRID.ERR_XmlEndCDataNotAllowedInContent) 330Return XmlMakeBadToken(precedingTrivia, 1, ERRID.ERR_IllegalChar) 420result = XmlMakeBadToken(precedingTrivia.ToList, 1, ERRID.ERR_IllegalChar) 552Return XmlMakeBadToken(precedingTrivia, 1, ERRID.ERR_IllegalXmlNameChar)
Scanner\XmlTokenFactories.vb (14)
74Private Function XmlMakeBadToken(precedingTrivia As CoreInternalSyntax.SyntaxList(Of VisualBasicSyntaxNode), length As Integer, id As ERRID) As BadTokenSyntax 78Private Function XmlMakeBadToken(subkind As SyntaxSubKind, precedingTrivia As CoreInternalSyntax.SyntaxList(Of VisualBasicSyntaxNode), length As Integer, id As ERRID) As BadTokenSyntax 87Case ERRID.ERR_IllegalXmlStartNameChar, 88ERRID.ERR_IllegalXmlNameChar 91If id = ERRID.ERR_IllegalXmlNameChar AndAlso 98id = ERRID.ERR_IllegalXmlStartNameChar 292err As ERRID 344Return XmlMakeBadToken(SyntaxSubKind.BeginDocTypeToken, precedingTrivia, 9, ERRID.ERR_DTDNotSupported) 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))
Semantics\AccessCheck.vb (10)
1057Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_InheritanceAccessMismatch5, 1067Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_InheritsTypeArgAccessMismatch7, 1079Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_InheritanceAccessMismatchOutside3, 1088Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_InheritsTypeArgAccessMismatchOutside5, 1130Binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_AccessMismatch6, 1140Binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_AccessMismatchOutsideAssembly4, 1192Binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_AccessMismatchImplementedEvent6, 1201Binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_AccessMismatch6, 1213Binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_AccessMismatchImplementedEvent4, 1220Binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_AccessMismatchOutsideAssembly4,
Semantics\Operators.vb (16)
317Dim targetMismatchError As ERRID 325targetMismatchError = ERRID.ERR_ConvParamMustBeContainingType1 330targetMismatchError = ERRID.ERR_UnaryParamMustBeContainingType1 336diagnosticsOpt.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OperatorRequiresBoolReturnType1, SyntaxFacts.GetText(SyntaxKind.IsTrueKeyword)), method.Locations(0)) 343diagnosticsOpt.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OperatorRequiresBoolReturnType1, SyntaxFacts.GetText(SyntaxKind.IsFalseKeyword)), method.Locations(0)) 355targetMismatchError = ERRID.ERR_BinaryParamMustBeContainingType1 361diagnosticsOpt.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OperatorRequiresIntegerParameter1, 403diagnosticsOpt.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ConversionFromObject), method.Locations(0)) 410diagnosticsOpt.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ConversionToObject), method.Locations(0)) 417diagnosticsOpt.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ConversionFromInterfaceType), method.Locations(0)) 424diagnosticsOpt.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ConversionToInterfaceType), method.Locations(0)) 433diagnosticsOpt.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ConversionToSameType), method.Locations(0)) 443ERRID.ERR_ConversionFromBaseType, 444ERRID.ERR_ConversionToDerivedType)), method.Locations(0)) 452ERRID.ERR_ConversionFromDerivedType, 453ERRID.ERR_ConversionToBaseType)), method.Locations(0))
Semantics\OverloadResolution.vb (1)
5305ERRID.WRN_TypeInferenceAssumed3,
Symbols\AssemblySymbol.vb (2)
295Dim diagInfo As DiagnosticInfo = New DiagnosticInfo(MessageProvider.Instance, ERRID.ERR_TypeFwdCycle2, emittedName.FullName, Me) 300Dim diagnosticInfo = New DiagnosticInfo(MessageProvider.Instance, ERRID.ERR_TypeForwardedToMultipleAssemblies, forwardingModule, Me, emittedName.FullName, destination1, destination2)
Symbols\Attributes\AttributeData.vb (9)
244diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_SecurityAttributeMissingAction), 297diagnostics.Add(ERRID.ERR_PrincipalPermissionInvalidAction, displayAndLocation.Location, displayAndLocation.ArgumentDisplay) 326diagnostics.Add(ERRID.ERR_SecurityAttributeInvalidActionTypeOrMethod, displayAndLocation.Location, displayAndLocation.ArgumentDisplay) 338diagnostics.Add(ERRID.ERR_SecurityAttributeInvalidActionTypeOrMethod, displayAndLocation.Location, displayAndLocation.ArgumentDisplay) 349diagnostics.Add(ERRID.ERR_SecurityAttributeInvalidActionAssembly, displayAndLocation.Location, displayAndLocation.ArgumentDisplay) 399DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_PermissionSetAttributeInvalidFile, argSyntaxLocation, If(fileName, "<empty>"), filePropName) 449diagnostics.Add(ERRID.ERR_BadAttribute1, location, Me.AttributeClass) 457diagnostics.Add(ERRID.ERR_BadAttribute1, location, Me.AttributeClass) 499diagnostics.Add(ERRID.ERR_BadAttributeUuid2, location, Me.AttributeClass, If(guidString, ObjectDisplay.NullLiteral))
Symbols\Attributes\PEAttributeData.vb (3)
203ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, String.Empty)) 207ErrorFactory.ErrorInfo(ERRID.ERR_MissingRuntimeHelper, AttributeClass.MetadataName & "." & WellKnownMemberNames.InstanceConstructorName)) 209Return ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, String.Empty)
Symbols\Attributes\RetargetingAttributeData.vb (1)
92ErrorFactory.ErrorInfo(ERRID.ERR_MissingRuntimeHelper, AttributeClass.MetadataName & "." & WellKnownMemberNames.InstanceConstructorName))
Symbols\BaseTypeAnalysis.vb (14)
59Return ErrorFactory.ErrorInfo(ERRID.ERR_IllegalBaseTypeReferences3, this.GetKindText(), this, GetBaseTypeReferenceDetails(dependency)) 125Return ErrorFactory.ErrorInfo(ERRID.ERR_InheritanceCycle1, this, GetInheritanceDetails(dependency)) 128Return ErrorFactory.ErrorInfo(ERRID.ERR_InterfaceCycle1, this, GetInheritanceDetails(dependency)) 134Return ErrorFactory.ErrorInfo(ERRID.ERR_CircularBaseDependencies4, 139Return ErrorFactory.ErrorInfo(ERRID.ERR_NestedBase2, this.GetKindText(), this) 144Return GetInheritanceOrDependenceDetails(chain, ERRID.ERR_InheritsFrom2) 148Return GetInheritanceOrDependenceDetails(chain, ERRID.ERR_BaseTypeReferences2) 151Private Function GetInheritanceOrDependenceDetails(chain As ConsList(Of DependencyDesc), inheritsOrDepends As ERRID) As DiagnosticInfo 155Dim detailErrId As ERRID 161detailErrId = ERRID.ERR_IsNestedIn2 174detailErrId = ERRID.ERR_IsNestedIn2 277Return ErrorFactory.ErrorInfo(ERRID.ERR_InheritanceCycleInImportedType1, this) 288Return ErrorFactory.ErrorInfo(ERRID.ERR_InheritanceCycleInImportedType1, this) 323Return ErrorFactory.ErrorInfo(ERRID.ERR_InheritanceCycleInImportedType1, this)
Symbols\ConstraintsHelper.vb (28)
122ErrorFactory.ErrorInfo(ERRID.ERR_RefAndClassTypeConstrCombined))) 139ErrorFactory.ErrorInfo(ERRID.ERR_ValueAndClassTypeConstrCombined))) 154ErrorFactory.ErrorInfo(ERRID.ERR_ConstraintAlreadyExists1, constraintType))) 171ErrorFactory.ErrorInfo(ERRID.ERR_ClassConstraintNotInheritable1))) 184ErrorFactory.ErrorInfo(ERRID.ERR_ConstraintIsRestrictedType1, constraintType))) 195ErrorFactory.ErrorInfo(ERRID.ERR_RefAndClassTypeConstrCombined))) 202ErrorFactory.ErrorInfo(ERRID.ERR_ValueAndClassTypeConstrCombined))) 209ErrorFactory.ErrorInfo(ERRID.ERR_MultipleClassConstraints1, typeParameter))) 231ErrorFactory.ErrorInfo(ERRID.ERR_ConstraintCycle2, constraintTypeParameter, GetConstraintCycleInfo(inProgress)))) 243ErrorFactory.ErrorInfo(ERRID.ERR_TypeParamWithStructConstAsConst))) 255ErrorFactory.ErrorInfo(ERRID.ERR_ConstNotClassInterfaceOrTypeParam1, constraintType))) 320ERRID.ERR_ConflictingDirectConstraints3, 338ERRID.ERR_ConstraintClashDirectIndirect3, 349ERRID.ERR_ConstraintClashIndirectDirect3, 360ERRID.ERR_ConstraintClashIndirectIndirect4, 664diagnosticsBuilder.Add(New TypeParameterDiagnosticInfo(typeParameter, ErrorFactory.ErrorInfo(ERRID.ERR_RestrictedType1, typeArgument))) 688diagnosticsBuilder.Add(New TypeParameterDiagnosticInfo(typeParameter, ErrorFactory.ErrorInfo(ERRID.ERR_UnmanagedConstraintNotSatisfied, typeArgument, typeParameter))) 710diagnosticsBuilder.Add(New TypeParameterDiagnosticInfo(typeParameter, ErrorFactory.ErrorInfo(ERRID.ERR_GenericConstraintNotSatisfied2, typeArgument, constraintType))) 948diagnosticsBuilder.Add(New TypeParameterDiagnosticInfo(typeParameter, ErrorFactory.ErrorInfo(ERRID.ERR_BadGenericParamForNewConstraint2, typeArgument, typeParameter))) 971diagnosticsBuilder.Add(New TypeParameterDiagnosticInfo(typeParameter, ErrorFactory.ErrorInfo(ERRID.ERR_NoSuitableNewForNewConstraint2, typeArgument, typeParameter))) 974diagnosticsBuilder.Add(New TypeParameterDiagnosticInfo(typeParameter, ErrorFactory.ErrorInfo(ERRID.ERR_MustInheritForNewConstraint2, typeArgument, typeParameter))) 977diagnosticsBuilder.Add(New TypeParameterDiagnosticInfo(typeParameter, ErrorFactory.ErrorInfo(ERRID.ERR_NewConstraintCannotHaveRequiredMembers, typeParameter.ContainingSymbol, typeParameter, typeArgument))) 999diagnosticsBuilder.Add(New TypeParameterDiagnosticInfo(typeParameter, ErrorFactory.ErrorInfo(ERRID.ERR_BadTypeArgForRefConstraint2, typeArgument, typeParameter))) 1023diagnosticsBuilder.Add(New TypeParameterDiagnosticInfo(typeParameter, ErrorFactory.ErrorInfo(ERRID.ERR_BadTypeArgForStructConstraintNull, typeArgument))) 1026diagnosticsBuilder.Add(New TypeParameterDiagnosticInfo(typeParameter, ErrorFactory.ErrorInfo(ERRID.ERR_BadTypeArgForStructConstraint2, typeArgument, typeParameter))) 1035diagnosticsBuilder.Add(New TypeParameterDiagnosticInfo(typeParameter, ErrorFactory.ErrorInfo(ERRID.ERR_NullableDisallowedForStructConstr1, typeParameter))) 1144builder.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ConstraintCycleLink2, typeParameter, previous)) 1148builder(0) = ErrorFactory.ErrorInfo(ERRID.ERR_ConstraintCycleLink2, cycle.Head, previous)
Symbols\EventSymbol.vb (11)
203Case ERRID.ERR_UnreferencedAssembly3 209useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnreferencedAssemblyEvent3, errorInfo.Arguments(0), Me)) 211Case ERRID.ERR_UnreferencedModule3 217useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnreferencedModuleEvent3, errorInfo.Arguments(0), Me)) 219Case ERRID.ERR_UnsupportedType1 221useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, CustomSymbolDisplayFormatter.ShortErrorName(Me))) 241Return code = ERRID.ERR_UnsupportedType1 OrElse code = ERRID.ERR_UnsupportedCompilerFeature 247Return info IsNot Nothing AndAlso (info.Code = ERRID.ERR_UnsupportedType1 OrElse info.Code = ERRID.ERR_UnsupportedEvent1 OrElse info.Code = ERRID.ERR_UnsupportedCompilerFeature)
Symbols\FieldSymbol.vb (4)
319Return code = ERRID.ERR_UnsupportedField1 OrElse code = ERRID.ERR_UnsupportedCompilerFeature 325Return info IsNot Nothing AndAlso (info.Code = ERRID.ERR_UnsupportedField1 OrElse info.Code = ERRID.ERR_UnsupportedCompilerFeature)
Symbols\Metadata\PE\PEAssemblySymbol.vb (1)
297Return info.Code = DirectCast(ERRID.ERR_UnsupportedCompilerFeature, Integer) OrElse MyBase.HasUnsupportedMetadata
Symbols\Metadata\PE\PEEventSymbol.vb (1)
71_lazyCachedUseSiteInfo.Initialize(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedEvent1, Me))
Symbols\Metadata\PE\PEFieldSymbol.vb (2)
68_lazyCachedUseSiteInfo.Initialize(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedField1, Me)) 438ERRID.ERR_UnsupportedConstant2,
Symbols\Metadata\PE\PEMethodSymbol.vb (6)
299InitializeUseSiteInfo(New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me)))) 1072InitializeUseSiteInfo(New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me)))) 1138errorInfo = ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me)) 1225If errorInfo Is Nothing OrElse errorInfo.Code <> ERRID.ERR_UnsupportedMethod1 Then 1230errorInfo = ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me)) 1276errorInfo = ErrorFactory.ErrorInfo(ERRID.ERR_RequiredMembersInvalid, ContainingType)
Symbols\Metadata\PE\PEModuleSymbol.vb (1)
514Return info.Code = DirectCast(ERRID.ERR_UnsupportedCompilerFeature, Integer) OrElse MyBase.HasUnsupportedMetadata
Symbols\Metadata\PE\PENamedTypeSymbol.vb (4)
163_lazyCachedUseSiteInfo.Initialize(If(DeriveCompilerFeatureRequiredDiagnostic(), ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, Me))) 1310Return New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, Me)) 1340Return New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_NestingViolatesCLS1, Me)) 1349If typeUseSiteInfo.DiagnosticInfo?.Code = ERRID.ERR_UnsupportedCompilerFeature Then
Symbols\Metadata\PE\PEParameterSymbol.vb (2)
674Return (info IsNot Nothing AndAlso (info.Code = ERRID.ERR_UnsupportedType1 OrElse info.Code = ERRID.ERR_UnsupportedCompilerFeature)) OrElse MyBase.HasUnsupportedMetadata
Symbols\Metadata\PE\PEPropertySymbol.vb (2)
79result._lazyCachedUseSiteInfo.Initialize(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedProperty1, CustomSymbolDisplayFormatter.QualifiedName(result))) 125_lazyCachedUseSiteInfo.Initialize(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedProperty1, CustomSymbolDisplayFormatter.QualifiedName(Me)))
Symbols\Metadata\PE\PETypeParameterSymbol.vb (4)
89_lazyCachedBoundsUseSiteInfo.Initialize(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, Me)) 201_lazyCachedBoundsUseSiteInfo.InterlockedInitializeFromSentinel(primaryDependency:=Nothing, New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, Me))) 235_lazyCachedBoundsUseSiteInfo.InterlockedInitializeFromSentinel(primaryDependency:=Nothing, New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, Me))) 396Return info IsNot Nothing AndAlso info.Code = DirectCast(ERRID.ERR_UnsupportedCompilerFeature, Integer) OrElse MyBase.HasUnsupportedMetadata
Symbols\Metadata\PE\PEUtilities.vb (1)
12Return ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedCompilerFeature, symbol, unsupportedFeature)
Symbols\MethodSymbol.vb (4)
741Return code = ERRID.ERR_UnsupportedMethod1 OrElse code = ERRID.ERR_UnsupportedCompilerFeature 747Return info IsNot Nothing AndAlso (info.Code = ERRID.ERR_UnsupportedMethod1 OrElse info.Code = ERRID.ERR_UnsupportedCompilerFeature)
Symbols\MissingMetadataTypeSymbol.vb (4)
56Return ErrorFactory.ErrorInfo(ERRID.ERR_UnreferencedAssembly3, containingAssembly.Identity, arg) 62Return ErrorFactory.ErrorInfo(ERRID.ERR_UnreferencedModule3, containingModule.Name, Me) 65Return ErrorFactory.ErrorInfo(ERRID.ERR_TypeRefResolutionError3, Me, containingModule.Name) 69ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, String.Empty)) ' This is the best we can do at this point
Symbols\NonMissingModuleSymbol.vb (1)
104ERRID.ERR_SxSIndirectRefHigherThanDirectRef3,
Symbols\NoPiaAmbiguousCanonicalTypeSymbol.vb (1)
72Return ErrorFactory.ErrorInfo(ERRID.ERR_AbsentReferenceToPIA1, CustomSymbolDisplayFormatter.QualifiedName(_firstCandidate))
Symbols\NoPiaIllegalGenericInstantiationSymbol.vb (1)
56Return ErrorFactory.ErrorInfo(ERRID.ERR_CannotUseGenericTypeAcrossAssemblyBoundaries, _underlyingSymbol)
Symbols\NoPiaMissingCanonicalTypeSymbol.vb (1)
94Return ErrorFactory.ErrorInfo(ERRID.ERR_AbsentReferenceToPIA1, _fullTypeName)
Symbols\ObsoleteAttributeHelpers.vb (11)
145Return ErrorFactory.ErrorInfo(ERRID.WRN_Experimental, New FormattedSymbol(symbol, SymbolDisplayFormat.VisualBasicErrorMessageFormat), "", "") 152Return New CustomObsoleteDiagnosticInfo(MessageProvider.Instance, ERRID.WRN_Experimental, data, New FormattedSymbol(symbol, SymbolDisplayFormat.VisualBasicErrorMessageFormat)) 154Return New CustomObsoleteDiagnosticInfo(MessageProvider.Instance, ERRID.WRN_ExperimentalWithMessage, data, New FormattedSymbol(symbol, SymbolDisplayFormat.VisualBasicErrorMessageFormat), 166Return ErrorFactory.ObsoleteErrorInfo(If(data.IsError, ERRID.ERR_UseOfObsoletePropertyAccessor2, ERRID.WRN_UseOfObsoletePropertyAccessor2), data, 169Return ErrorFactory.ObsoleteErrorInfo(If(data.IsError, ERRID.ERR_UseOfObsoletePropertyAccessor3, ERRID.WRN_UseOfObsoletePropertyAccessor3), data, 174Return ErrorFactory.ObsoleteErrorInfo(If(data.IsError, ERRID.ERR_UseOfObsoleteSymbolNoMessage1, ERRID.WRN_UseOfObsoleteSymbolNoMessage1), data, symbol) 176Return ErrorFactory.ObsoleteErrorInfo(If(data.IsError, ERRID.ERR_UseOfObsoleteSymbol2, ERRID.WRN_UseOfObsoleteSymbol2), data, symbol, data.Message)
Symbols\ParameterSymbol.vb (4)
286Return code = ERRID.ERR_UnsupportedType1 OrElse code = ERRID.ERR_UnsupportedCompilerFeature 292Return info IsNot Nothing AndAlso (info.Code = ERRID.ERR_UnsupportedType1 OrElse info.Code = ERRID.ERR_UnsupportedCompilerFeature)
Symbols\PointerTypeSymbol.vb (1)
35Return ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, String.Empty)
Symbols\PropertySymbol.vb (4)
479Return code = ERRID.ERR_UnsupportedProperty1 OrElse code = ERRID.ERR_UnsupportedCompilerFeature 485Return info IsNot Nothing AndAlso (info.Code = ERRID.ERR_UnsupportedProperty1 OrElse info.Code = ERRID.ERR_UnsupportedCompilerFeature)
Symbols\Retargeting\RetargetingSymbolTranslator.vb (1)
822Dim errorInfo = If(type.ErrorInfo, ErrorFactory.ErrorInfo(ERRID.ERR_InReferencedAssembly, If(type.ContainingAssembly?.Identity.GetDisplayName, "")))
Symbols\Source\CustomEventAccessorSymbol.vb (11)
200diagnostics.Add(ERRID.ERR_RaiseEventShapeMismatch1, location, eventType) 207diagnostics.Add(ERRID.ERR_EventAddRemoveHasOnlyOneParam, location) 216Dim errid As ERRID = If(_event.IsWindowsRuntimeEvent, ERRID.ERR_AddParamWrongForWinRT, ERRID.ERR_AddRemoveParamNotEventType) 229diagnostics.Add(ERRID.ERR_EventImplRemoveHandlerParamWrong, location, _event.Name, firstImplementedEvent.Name, firstImplementedEvent.ContainingType) 236diagnostics.Add(ERRID.ERR_RemoveParamWrongForWinRT, location) 240diagnostics.Add(ERRID.ERR_AddRemoveParamNotEventType, location) 257diagnostics.Add(ERRID.ERR_EventMethodOptionalParamIllegal1, location, token.ToString()) 263diagnostics.Add(ERRID.ERR_EventMethodOptionalParamIllegal1, location, token.ToString()) 274diagnostics.Add(ERRID.ERR_EventAddRemoveByrefParamIllegal, location, token.ToString())
Symbols\Source\ImplementsHelper.vb (16)
100Dim errorid As ERRID 102errorid = ERRID.ERR_BadInterfaceMethodFlags1 104errorid = ERRID.ERR_BadInterfacePropertyFlags1 106errorid = ERRID.ERR_InterfaceCantUseEventSpecifier1 115ERRID.ERR_ModuleMemberCantImplement) 145ERRID.ERR_MixingWinRTAndNETEvents, 185Binder.ReportDiagnostic(diagBag, interfaceName, ERRID.ERR_InterfaceNotImplemented1, 209Binder.ReportDiagnostic(diagBag, implementedMemberSyntax, ERRID.ERR_AmbiguousImplementsMember3, 291Binder.ReportDiagnostic(diagBag, implementedMemberSyntax, ERRID.ERR_AmbiguousImplements3, 305Binder.ReportDiagnostic(diagBag, implementedMemberSyntax, ERRID.ERR_AmbiguousImplementsMember3, 389Binder.ReportDiagnostic(diagBag, implementedMemberSyntax, ERRID.ERR_IdentNotMemberOfInterface4, 401Binder.ReportDiagnostic(diagBag, interfaceName, ERRID.ERR_BadImplementsType) 488Binder.ReportDiagnostic(diagBag, implementedMemberSyntax, ERRID.ERR_PropertyDoesntImplementAllAccessors, 503Binder.ReportDiagnostic(diagBag, implementedMemberSyntax, ERRID.ERR_PropertyDoesntImplementInitOnly, 513Binder.ReportDiagnostic(diagBag, implementedMemberSyntax, ERRID.ERR_ImplementingInterfaceWithDifferentTupleNames5, 547ErrorFactory.ErrorInfo(ERRID.ERR_ImplementsWithConstraintMismatch3, implementingMethod, implementedMethod.ContainingType, implementedMethod),
Symbols\Source\OverrideHidingHelper.vb (39)
156diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_NotOverridableRequiresOverrides), methodMember.Locations(0))) 164diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_NotOverridableRequiresOverrides), propMember.Locations(0))) 187diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_MustOverridesInClass1, container.Name), container.Locations(0))) 249diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_MustInheritEventNotOverridden, 255diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_UnimplementedMustOverride, member.ContainingType, member)) 264diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_BaseOnlyClassesMustBeExplicit2, 406diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.WRN_SynthMemberShadowsSynthMember7, 420diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.WRN_MemberShadowsSynthMember6, 427diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.WRN_SynthMemberShadowsMember5, 437Dim id As ERRID 439id = ERRID.WRN_MustOverride2 441id = ERRID.WRN_MustOverloadBase4 451diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.WRN_OverrideType5, 474diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_SynthMemberShadowsMustOverride5, 482diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_CantShadowAMustOverride1, hidingMember), 850ReportBadOverriding(ERRID.ERR_CannotOverrideInAccessibleMember, member, overriddenMembersResult.InaccessibleMembers(0), diagnostics) 852diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_OverrideNotNeeded3, member.GetKindText(), member.Name), 860diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverriddenCandidate1, overriddenMemb.OriginalDefinition)) 863diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_AmbiguousOverrides3, 872Dim errorId As ERRID 875ReportBadOverriding(ERRID.ERR_CantOverrideNotOverridable2, member, overriddenMember, diagnostics) 877ReportBadOverriding(ERRID.ERR_CantOverride4, member, overriddenMember, diagnostics) 879ReportBadOverriding(ERRID.ERR_OverrideWithByref2, member, overriddenMember, diagnostics) 881ReportBadOverriding(ERRID.ERR_OverrideWithOptional2, member, overriddenMember, diagnostics) 883ReportBadOverriding(ERRID.ERR_InvalidOverrideDueToReturn2, member, overriddenMember, diagnostics) 885ReportBadOverriding(ERRID.ERR_OverridingPropertyKind2, member, overriddenMember, diagnostics) 887ReportBadOverriding(ERRID.ERR_OverridingInitOnlyProperty, member, overriddenMember, diagnostics) 889ReportBadOverriding(ERRID.ERR_OverrideWithArrayVsParamArray2, member, overriddenMember, diagnostics) 891ReportBadOverriding(ERRID.ERR_OverrideWithOptionalTypes2, member, overriddenMember, diagnostics) 893ReportBadOverriding(ERRID.ERR_OverrideWithDefault2, member, overriddenMember, diagnostics) 895ReportBadOverriding(ERRID.ERR_OverrideWithConstraintMismatch2, member, overriddenMember, diagnostics) 900ReportBadOverriding(ERRID.WRN_InvalidOverrideDueToTupleNames2, member, overriddenMember, diagnostics) 907diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_InAccessibleOverridingMethod5, 985ReportBadOverriding(ERRID.ERR_CannotOverrideInAccessibleMember, overridingAccessor, overriddenAccessor, diagnostics) 987Dim errorId As ERRID 999Private Shared Sub ReportBadOverriding(id As ERRID, 1008Private Shared Function ConsistentAccessibility(overriding As Symbol, overridden As Symbol, ByRef errorId As ERRID) As Boolean 1010errorId = ERRID.ERR_FriendAssemblyBadAccessOverride2 1013errorId = ERRID.ERR_BadOverrideAccess2
Symbols\Source\SourceAssemblySymbol.vb (31)
267diagnostics.Add(ERRID.WRN_AssemblyAttributeFromModuleIsOverridden, NoLocation.Singleton, attribute.AttributeClass, netModuleName) 271diagnostics.Add(ERRID.ERR_InvalidMultipleAttributeUsageInNetModule2, NoLocation.Singleton, attribute.AttributeClass.Name, netModuleName) 889bag.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_FriendRefNotEqualToThis, 894bag.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_FriendRefSigningMismatch, 963diagnostics.Add(ERRID.ERR_FriendAssemblyNameInvalid, If(nodeOpt IsNot Nothing, nodeOpt.GetLocation(), NoLocation.Singleton), "") 970diagnostics.Add(ERRID.ERR_FriendAssemblyNameInvalid, If(nodeOpt IsNot Nothing, nodeOpt.GetLocation(), NoLocation.Singleton), displayName) 978diagnostics.Add(ERRID.ERR_FriendAssemblyBadArguments, If(nodeOpt IsNot Nothing, nodeOpt.GetLocation(), NoLocation.Singleton), displayName) 1032diagnostics.Add(ERRID.ERR_InvalidSignaturePublicKey, GetAssemblyAttributeFirstArgumentLocation(arguments.AttributeSyntaxOpt)) 1047diagnostics.Add(ERRID.ERR_InvalidVersionFormatDeterministic, attributeArgumentSyntaxLocation) 1049diagnostics.Add(ERRID.ERR_InvalidVersionFormat, attributeArgumentSyntaxLocation) 1058diagnostics.Add(ERRID.WRN_InvalidVersionFormat, GetAssemblyAttributeFirstArgumentLocation(arguments.AttributeSyntaxOpt)) 1072diagnostics.Add(ERRID.ERR_InvalidAssemblyCultureForExe, GetAssemblyAttributeFirstArgumentLocation(arguments.AttributeSyntaxOpt)) 1074diagnostics.Add(ERRID.ERR_InvalidAssemblyCulture, GetAssemblyAttributeFirstArgumentLocation(arguments.AttributeSyntaxOpt)) 1091diagnostics.Add(ERRID.ERR_InvalidVersionFormat2, GetAssemblyAttributeFirstArgumentLocation(arguments.AttributeSyntaxOpt)) 1178diagnostics.Add(ERRID.ERR_BadAttribute1, VisualBasicAttributeData.GetArgumentLocation(nodeOpt, i), attrData.AttributeClass) 1248diagnostics.Add(ERRID.WRN_DelaySignButNoKey, NoLocation.Singleton) 1253diagnostics.Add(ERRID.ERR_PublicSignNetModule, NoLocation.Singleton) 1255diagnostics.Add(ERRID.ERR_PublicSignNoKey, NoLocation.Singleton) 1272diagnostics.Add(ERRID.ERR_SignButNoPrivateKey, NoLocation.Singleton, StrongNameKeys.KeyFilePath) 1293diagnostics.Add(ERRID.ERR_CmdOptionConflictsSource, NoLocation.Singleton, 1320diagnostics.Add(ERRID.ERR_CmdOptionConflictsSource, NoLocation.Singleton, AttributeDescription.AssemblyKeyNameAttribute.FullName, "CryptoKeyContainer") 1338diagnostics.Add(ERRID.ERR_CmdOptionConflictsSource, NoLocation.Singleton, AttributeDescription.AssemblyKeyFileAttribute.FullName, "CryptoKeyFile") 1343diagnostics.Add(ERRID.WRN_AttributeIgnoredWhenPublicSigning, NoLocation.Singleton, AttributeDescription.AssemblyKeyNameAttribute.FullName) 1347diagnostics.Add(ERRID.WRN_AttributeIgnoredWhenPublicSigning, NoLocation.Singleton, AttributeDescription.AssemblyKeyFileAttribute.FullName) 1362diagnostics.Add(ERRID.ERR_NetModuleNameMismatch, NoLocation.Singleton, moduleName, fileName) 1376diagnostics.Add(ERRID.ERR_NetModuleNameMustBeUnique, NoLocation.Singleton, m.Name) 1386diagnostics.Add(ERRID.ERR_AgnosticToMachineModule, NoLocation.Singleton, m) 1390diagnostics.Add(ERRID.ERR_ConflictingMachineModule, NoLocation.Singleton, m) 1404diagnostics.Add(ERRID.ERR_MissingNetModuleReference, NoLocation.Singleton, referencedModuleName) 1408diagnostics.Add(ERRID.ERR_UnsupportedModule1, NoLocation.Singleton, m) 1438diagnostics.Add(ERRID.ERR_FriendAssemblyStrongNameRequired, oneKey.Value.Item1, oneKey.Value.Item2)
Symbols\Source\SourceComplexParameterSymbol.vb (3)
166Binder.ReportDiagnostic(diagnostics, defaultSyntax.Value, ERRID.ERR_CircularEvaluation1, Me) 344Binder.ReportDiagnostic(diagnostics, syntax.Identifier, ERRID.ERR_ParamArrayNotArray) 349Binder.ReportDiagnostic(diagnostics, syntax.Identifier.Identifier, ERRID.ERR_ParamArrayRank)
Symbols\Source\SourceEnumConstantSymbol.vb (2)
41diagnostics.Add(ERRID.ERR_ClashWithReservedEnumMember1, syntax.Identifier.GetLocation(), Me.Name) 147diagnostics.Add(ERRID.ERR_ExpressionOverflow1, Locations(0), Me)
Symbols\Source\SourceEventSymbol.vb (19)
91Binder.ReportDiagnostic(diagnostics, identifier, ERRID.ERR_TypecharNotallowed) 108diagnostics.Add(ERRID.ERR_DuplicateAddHandlerDef, accessor.Locations(0)) 115diagnostics.Add(ERRID.ERR_DuplicateRemoveHandlerDef, accessor.Locations(0)) 122diagnostics.Add(ERRID.ERR_DuplicateRaiseEventDef, accessor.Locations(0)) 131diagnostics.Add(ERRID.ERR_MissingAddHandlerDef1, location, Me) 135diagnostics.Add(ERRID.ERR_MissingRemoveHandlerDef1, location, Me) 139diagnostics.Add(ERRID.ERR_MissingRaiseEventDef1, location, Me) 173Binder.ReportDiagnostic(diagnostics, syntax.AsClause.Type, ERRID.ERR_EventTypeNotDelegate) 177Binder.ReportDiagnostic(diagnostics, syntax.AsClause.Type, ERRID.ERR_UnsupportedType1, type.Name) 180Binder.ReportDiagnostic(diagnostics, syntax.AsClause.Type, ERRID.ERR_EventDelegatesCantBeFunctions) 187Binder.ReportDiagnostic(diagnostics, syntax.Identifier, ERRID.ERR_WinRTEventWithoutDelegate) 192Binder.ReportDiagnostic(diagnostics, syntax.Identifier, ERRID.ERR_WinRTEventWithoutDelegate) 211ERRID.ERR_MultipleEventImplMismatch3, 261Binder.ReportDiagnostic(diagnostics, implementsKeyword, ERRID.ERR_InterfaceEventCantUse1, implementsKeyword.ValueText) 265Binder.ReportDiagnostic(diagnostics, syntax.Modifiers.First(SyntaxKind.SharedKeyword), ERRID.ERR_SharedOnProcThatImpl) 299diagnostics.Add(ERRID.ERR_EventImplMismatch5, errLocation, {Me, implemented, implemented.ContainingType, type, implemented.Type}) 658DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_ExplicitTupleElementNamesAttribute, arguments.AttributeSyntaxOpt.Location) 668DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_InvalidNonSerializedUsage, arguments.AttributeSyntaxOpt.GetLocation()) 713ERRID.ERR_BadEventFlags1,
Symbols\Source\SourceFieldSymbol.vb (7)
246diagnostics.Add(ERRID.ERR_CircularEvaluation1, Locations(0), CustomSymbolDisplayFormatter.ShortErrorName(Me)) 737diagnostics.Add(ERRID.ERR_ExplicitTupleElementNamesAttribute, arguments.AttributeSyntaxOpt.Location) 747diagnostics.Add(ERRID.ERR_InvalidNonSerializedUsage, arguments.AttributeSyntaxOpt.GetLocation()) 753diagnostics.Add(ERRID.ERR_BadAttribute1, VisualBasicAttributeData.GetFirstArgumentLocation(arguments.AttributeSyntaxOpt), attrData.AttributeClass) 785diagnostics.Add(ERRID.ERR_FieldHasMultipleDistinctConstantValues, arguments.AttributeSyntaxOpt.GetLocation()) 788diagnostics.Add(ERRID.ERR_FieldHasMultipleDistinctConstantValues, arguments.AttributeSyntaxOpt.GetLocation()) 799diagnostics.Add(ERRID.ERR_FieldHasMultipleDistinctConstantValues, arguments.AttributeSyntaxOpt.GetLocation())
Symbols\Source\SourceFile.vb (4)
207Binder.ReportDiagnostic(diagBag, optionStmtSyntax, ERRID.ERR_DuplicateOption1, "Strict") 214Binder.ReportDiagnostic(diagBag, optionStmtSyntax, ERRID.ERR_DuplicateOption1, "Infer") 221Binder.ReportDiagnostic(diagBag, optionStmtSyntax, ERRID.ERR_DuplicateOption1, "Explicit") 228Binder.ReportDiagnostic(diagBag, optionStmtSyntax, ERRID.ERR_DuplicateOption1, "Compare")
Symbols\Source\SourceMemberContainerTypeSymbol.vb (85)
394diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_VarianceInterfaceNesting), Locations(0))) 685AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceOutByValDisallowed1, type.Name)) 691ERRID.ERR_VarianceOutByRefDisallowed1, 692ERRID.ERR_VarianceInByRefDisallowed1), 698AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceInReturnDisallowed1, type.Name)) 703AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceOutConstraintDisallowed1, type.Name)) 709ERRID.ERR_VarianceOutNullableDisallowed2, 710ERRID.ERR_VarianceInNullableDisallowed2), 717AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceInReadOnlyPropertyDisallowed1, type.Name)) 722AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceOutWriteOnlyPropertyDisallowed1, type.Name)) 728ERRID.ERR_VarianceOutPropertyDisallowed1, 729ERRID.ERR_VarianceInPropertyDisallowed1), 750ERRID.ERR_VarianceOutParamDisallowed1, 751ERRID.ERR_VarianceInParamDisallowed1), 760ERRID.ERR_VarianceOutParamDisallowed1, 761ERRID.ERR_VarianceInParamDisallowed1), 770ERRID.ERR_VarianceOutParamDisallowedForGeneric3, 771ERRID.ERR_VarianceInParamDisallowedForGeneric3), 784ERRID.ERR_VarianceOutParamDisallowedHere2, 785ERRID.ERR_VarianceInParamDisallowedHere2), 796ERRID.ERR_VarianceOutParamDisallowedHereForGeneric4, 797ERRID.ERR_VarianceInParamDisallowedHereForGeneric4), 859AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceTypeDisallowed2, 864AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceTypeDisallowed2, 869AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceTypeDisallowedForGeneric4, 878AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceTypeDisallowedHere3, 884AppendVarianceDiagnosticInfo(diagnostics, ErrorFactory.ErrorInfo(ERRID.ERR_VarianceTypeDisallowedHereForGeneric5, 1752diagnostics.Add(ERRID.ERR_PartialMethodsMustBeSub1, method.NonMergedLocation, method.Name) 1814diagnostics.Add(ERRID.ERR_OnlyOnePartialMethodAllowed2, 1839diagnostics.Add(ERRID.ERR_OnlyOneImplementingMethodAllowed3, 1862diagnostics.Add(ERRID.ERR_PartialMethodMustBeEmpty, bestPartialMethodLocation) 1901diagnostics.Add(ERRID.ERR_ImplementationMustBePrivate2, 1921diagnostics.Add(ERRID.ERR_PartialMethodParamNamesMustMatch3, 1942diagnostics.Add(ERRID.ERR_PartialMethodTypeParamNameMismatch3, 1953diagnostics.Add(ERRID.ERR_PartialMethodGenericConstraints2, 2154diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_RecordEmbeds2, 2166diagnostics.Add(ERRID.ERR_RecordCycle2, 2291diagBag.Add(ERRID.ERR_DuplicateDefaultProps1, propertySymbol.Locations(0), GetKindText()) 2308diagBag.Add(ERRID.ERR_DefaultMissingFromProperty2, propertySymbol.Locations(0), defaultProperty, propertySymbol) 2337diagBag.Add(ERRID.WRN_DefaultnessShadowed4, location, 2448diagBag.Add(ERRID.ERR_MustShadow2, symbol.Locations(0), symbol.GetKindText(), symbol.Name) 2453diagBag.Add(ERRID.ERR_MustBeOverloads2, symbol.Locations(0), symbol.GetKindText(), symbol.Name) 2551diagBag.Add(ERRID.ERR_InvalidInNamespace, fieldDecl.GetLocation()) 2566diagBag.Add(ERRID.ERR_InvalidInNamespace, methodDecl.GetLocation()) 2585diagBag.Add(ERRID.ERR_InvalidInNamespace, methodDecl.GetLocation()) 2597diagBag.Add(ERRID.ERR_InvalidInNamespace, propertyDecl.PropertyStatement.GetLocation()) 2606diagBag.Add(ERRID.ERR_InvalidInNamespace, propertyDecl.GetLocation()) 2633diagBag.Add(ERRID.ERR_InvalidInNamespace, memberSyntax.GetLocation()) 2675Binder.ReportDiagnostic(diagBag, syntax.Identifier, ERRID.ERR_AutoPropertyInitializedInStructure) 2953ERRID.ERR_SyntMemberShadowsGenericParam3, 2959Binder.ReportDiagnostic(diagBag, sym.Locations(0), ERRID.ERR_ShadowingGenericParamWithMember1, sym.Name) 3054ERRID.ERR_SynthMemberClashesWithMember5, 3074ERRID.ERR_SynthMemberClashesWithSynth7, 3090ERRID.ERR_MemberClashesWithSynth6, 3110ERRID.ERR_MultiplyDefinedEnumMember2, 3122ERRID.ERR_MultiplyDefinedType3, 3392Dim diag = ErrorFactory.ErrorInfo(ERRID.ERR_MethodAlreadyImplemented2, 3416Dim diag = If(useSiteInfo.DiagnosticInfo, ErrorFactory.ErrorInfo(If(ifaceMember.IsShared, ERRID.ERR_UnimplementedSharedMember, ERRID.ERR_UnimplementedMember3), 3717diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_MatchingOperatorExpected2, 3846diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_DuplicateProcDef1, firstMember), location) 3853diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_DuplicateProcDefWithDifferentTupleNames2, firstMember, secondMember), location) 3857diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadWithByref2, firstMember, secondMember), location) 3861diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadWithReturnType2, firstMember, secondMember), location) 3865diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadWithArrayVsParamArray2, firstMember, secondMember), location) 3870diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadWithOptional2, firstMember, secondMember), location) 3882diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadWithDefault2, firstMember, secondMember), location) 3886diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadingPropertyKind2, firstMember, secondMember), location) 3912diag = ErrorFactory.ErrorInfo(If(isInterface, ERRID.ERR_InterfaceUnifiesWithInterface2, ERRID.ERR_InterfacePossiblyImplTwice2), 3916diag = ErrorFactory.ErrorInfo(If(isInterface, ERRID.ERR_InterfaceUnifiesWithBase3, ERRID.ERR_ClassInheritsInterfaceUnifiesWithBase3), 3921diag = ErrorFactory.ErrorInfo(If(isInterface, ERRID.ERR_BaseUnifiesWithInterfaces3, ERRID.ERR_ClassInheritsBaseUnifiesWithInterfaces3), 3927diag = ErrorFactory.ErrorInfo(If(isInterface, ERRID.ERR_InterfaceBaseUnifiesWithBase4, ERRID.ERR_ClassInheritsInterfaceBaseUnifiesWithBase4), 3961diag = ErrorFactory.ErrorInfo(ERRID.WRN_VarianceDeclarationAmbiguous3, 3993diag = ErrorFactory.ErrorInfo(If(IsInterface, ERRID.ERR_InterfaceInheritedTwiceWithDifferentTupleNames2, ERRID.ERR_InterfaceImplementedTwiceWithDifferentTupleNames2), 3997diag = ErrorFactory.ErrorInfo(If(IsInterface, ERRID.ERR_InterfaceInheritedTwiceWithDifferentTupleNames3, ERRID.ERR_InterfaceImplementedTwiceWithDifferentTupleNames3), 4002diag = ErrorFactory.ErrorInfo(If(IsInterface, ERRID.ERR_InterfaceInheritedTwiceWithDifferentTupleNamesReverse3, ERRID.ERR_InterfaceImplementedTwiceWithDifferentTupleNamesReverse3), 4008diag = ErrorFactory.ErrorInfo(If(IsInterface, ERRID.ERR_InterfaceInheritedTwiceWithDifferentTupleNames4, ERRID.ERR_InterfaceImplementedTwiceWithDifferentTupleNames4),
Symbols\Source\SourceMemberFieldSymbol.vb (21)
129binder.ReportDiagnostic(diagBag, modifiedIdentifier.Identifier, ERRID.ERR_ConstAsNonConstant) 132binder.ReportDiagnostic(diagBag, declarator.AsClause.Type, ERRID.ERR_ConstAsNonConstant) 136binder.ReportDiagnostic(diagBag, modifiedIdentifier, ERRID.ERR_ConstantWithNoValue) 142binder.ReportDiagnostic(diagBag, declarator.AsClause.Type, ERRID.ERR_RestrictedType1, restrictedType) 226binder.ReportDiagnostic(diagnostics, modifiedIdentifier, ERRID.ERR_EventSourceIsArray) 235binder.ReportDiagnostic(diagnostics, identifier, ERRID.ERR_WithEventsAsStruct) 421Dim errorId = ERRID.ERR_BadDimFlags1 425errorId = ERRID.ERR_BadWithEventsFlags1 429errorId = ERRID.ERR_BadDimFlags1 442binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_StructCantUseVarSpecifier1, diagBag.DiagnosticBag, SyntaxKind.ProtectedKeyword) 448binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_StructCantUseVarSpecifier1, diagBag.DiagnosticBag, SyntaxKind.WithEventsKeyword) 455binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_ModuleCantUseVariableSpecifier1, diagBag.DiagnosticBag, 479binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_BadConstFlags1, diagBag.DiagnosticBag, SyntaxKind.SharedKeyword) 483binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_BadConstFlags1, diagBag.DiagnosticBag, SyntaxKind.ReadOnlyKeyword) 487binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_BadConstFlags1, diagBag.DiagnosticBag, SyntaxKind.WithEventsKeyword) 491binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_BadConstFlags1, diagBag.DiagnosticBag, SyntaxKind.DimKeyword) 511binder.ReportDiagnostic(diagBag, declarator, ERRID.ERR_InitWithMultipleDeclarators) 535ERRID.ERR_InitializerInStruct) 537binder.ReportDiagnostic(diagBag, DirectCast(asClauseOpt, AsNewClauseSyntax).NewExpression.NewKeyword, ERRID.ERR_SharedStructMemberCannotSpecifyNew) 619binder.ReportDiagnostic(diagBag, modifiedIdentifier, ERRID.ERR_ArrayInitInStruct) 634binder.ReportDiagnostic(diagBag, modifiedIdentifier, ERRID.ERR_InitWithExplicitArraySizes)
Symbols\Source\SourceMemberMethodSymbol.vb (16)
233Binder.ReportDiagnostic(diagnostics, location, ERRID.ERR_SecurityCriticalAsyncInClassOrStruct) 246Binder.ReportDiagnostic(diagnostics, location, ERRID.ERR_SynchronizedAsyncMethod) 262Binder.ReportDiagnostic(diagnostics, location, ERRID.ERR_PartialMethodParamArrayMismatch2, methodImpl, Me) 264Binder.ReportDiagnostic(diagnostics, location, ERRID.ERR_PartialMethodDefaultParameterValueMismatch2, methodImpl, Me) 320Binder.DisallowTypeCharacter(ident, diagBag, ERRID.ERR_TypeCharOnGenericParam) 326Binder.ReportDiagnostic(diagBag, typeParamSyntax, ERRID.ERR_TypeParamNameFunctionNameCollision) 367diagnostics.Add(ERRID.ERR_PartialDeclarationImplements1, 400ERRID.ERR_SharedOnProcThatImpl, 612Binder.ReportDiagnostic(diagBag, singleHandleClause, ERRID.ERR_HandlesSyntaxInModule) 654Binder.ReportDiagnostic(diagBag, singleHandleClause.EventContainer, ERRID.ERR_NoWithEventsVarOnHandlesList) 665Binder.ReportDiagnostic(diagBag, singleHandleClause.EventContainer, ERRID.ERR_SharedEventNeedsSharedHandler) 670Binder.ReportDiagnostic(diagBag, singleHandleClause.EventContainer, ERRID.ERR_SharedEventNeedsHandlerInTheSameType) 684Binder.ReportDiagnostic(diagBag, singleHandleClause.EventContainer, ERRID.ERR_HandlesSyntaxInClass) 702Binder.ReportDiagnostic(diagBag, singleHandleClause.EventContainer, ERRID.ERR_HandlesSyntaxInClass) 726Binder.ReportDiagnostic(diagBag, singleHandleClause.EventMember, ERRID.ERR_EventNotFound1, eventName) 834Binder.ReportDiagnostic(diagBag, singleHandleClause.EventMember, ERRID.ERR_EventHandlerSignatureIncompatible2, Me.Name, eventName)
Symbols\Source\SourceMethodSymbol.vb (69)
99binder.ReportDiagnostic(diagBag, syntax.Identifier, ERRID.ERR_StructsCannotHandleEvents) 103binder.ReportDiagnostic(diagBag, syntax.HandlesClause, ERRID.ERR_BadInterfaceMethodFlags1, syntax.HandlesClause.HandlesKeyword.ToString) 107binder.ReportDiagnostic(diagBag, syntax.Identifier, ERRID.ERR_HandlesInvalidOnGenericMethod) 126binder.ReportDiagnostic(diagBag, syntax.Identifier, ERRID.ERR_PartialMethodsMustNotBeAsync1, name) 164ERRID.ERR_OnlyPrivatePartialMethods1, 184ERRID.ERR_OnlyPrivatePartialMethods1, 210binder.ReportDiagnostic(diagBag, partialToken, ERRID.ERR_PartialMethodsMustBePrivate) 225ERRID.ERR_BadDeclareFlags1, 233diagBag.Add(ERRID.ERR_OverloadsModifierInModule, keyword.GetLocation(), keyword.ValueText) 236diagBag.Add(ERRID.ERR_ModuleCantUseDLLDeclareSpecifier1, keyword.GetLocation(), keyword.ValueText) 241diagBag.Add(ERRID.ERR_StructCantUseDLLDeclareSpecifier1, keyword.GetLocation(), keyword.ValueText) 247diagBag.Add(ERRID.ERR_DeclaresCantBeInGeneric, syntax.Identifier.GetLocation()) 263diagBag.Add(ERRID.ERR_BadAttribute1, syntax.LibraryName.GetLocation(), name) 272diagBag.Add(ERRID.ERR_BadAttribute1, syntax.LibraryName.GetLocation(), name) 321Dim paramCountMismatchERRID As ERRID 326paramCountMismatchERRID = ERRID.ERR_OneParameterRequired1 329paramCountMismatchERRID = ERRID.ERR_OneOrTwoParametersRequired1 337paramCountMismatchERRID = ERRID.ERR_TwoParametersRequired1 344Case ERRID.ERR_OneParameterRequired1 349Case ERRID.ERR_TwoParametersRequired1 355Case ERRID.ERR_OneOrTwoParametersRequired1 396binder.ReportDiagnostic(diagBag, syntax.ParameterList, ERRID.ERR_SharedConstructorWithParams) 408binder.ReportDiagnostic(diagBag, syntax.NewKeyword, ERRID.ERR_NewInStruct) 427ERRID.ERR_BadMethodFlags1, 435binder.ReportModifierError(modifiers, ERRID.ERR_InvalidAsyncIteratorModifiers, diagBag, InvalidAsyncIterator) 455Dim operatorModifiers = binder.DecodeModifiers(syntax.Modifiers, allowModifiers, ERRID.ERR_BadOperatorFlags1, Accessibility.Public, diagBag) 463binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_OperatorMustBePublic, diagBag, 470binder.ReportDiagnostic(diagBag, syntax.OperatorToken, ERRID.ERR_OperatorMustBeShared) 476binder.ReportDiagnostic(diagBag, syntax.OperatorToken, ERRID.ERR_ConvMustBeWideningOrNarrowing) 480binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_InvalidSpecifierOnNonConversion1, diagBag, 502binder.ReportModifierError(modifiers, ERRID.ERR_BadFlagsOnNew1, diagBag, 508binder.ReportModifierError(modifiers, ERRID.ERR_CantOverrideConstructor, diagBag, SyntaxKind.OverridesKeyword) 513binder.ReportModifierError(modifiers, ERRID.ERR_ConstructorCannotBeDeclaredPartial, diagBag, SyntaxKind.PartialKeyword) 518binder.ReportModifierError(modifiers, ERRID.ERR_BadFlagsOnNewOverloads, diagBag, SyntaxKind.OverloadsKeyword) 523binder.ReportModifierError(modifiers, ERRID.ERR_ConstructorAsync, diagBag, SyntaxKind.AsyncKeyword) 530binder.ReportModifierError(modifiers, ERRID.ERR_SharedConstructorIllegalSpec1, diagBag, 899binder.ReportDiagnostic(diagnostics, syntax.VarianceKeyword, ERRID.ERR_VarianceDisallowedHere) 1594DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_ExplicitTupleElementNamesAttribute, arguments.AttributeSyntaxOpt.Location) 1597DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_UnmanagedCallersOnlyNotSupported, arguments.AttributeSyntaxOpt.Location) 1624diagnostics.Add(ERRID.ERR_ExtensionOnlyAllowedOnModuleSubOrFunction, arguments.AttributeSyntaxOpt.GetLocation()) 1627diagnostics.Add(ERRID.ERR_ExtensionMethodNotInModule, arguments.AttributeSyntaxOpt.GetLocation()) 1630diagnostics.Add(ERRID.ERR_ExtensionMethodNoParams, Me.Locations(0)) 1638diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ExtensionMethodOptionalFirstArg), firstParam.Locations(0)) 1641diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ExtensionMethodParamArrayFirstArg), firstParam.Locations(0)) 1644diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ExtensionMethodUncallable1, Me.Name), Me.Locations(0)) 1654diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_InvalidOptionalParameterUsage1, "WebMethod"), Me.Locations(0)) 1670diagnostics.Add(ERRID.ERR_BadAttribute1, VisualBasicAttributeData.GetFirstArgumentLocation(arguments.AttributeSyntaxOpt), attrData.AttributeClass) 1693diagnostics.Add(ERRID.ERR_BadAttribute1, arguments.AttributeSyntaxOpt.ArgumentList.Arguments(position).GetLocation(), attrData.AttributeClass) 1746diagnostics.Add(ERRID.WRN_ConditionalNotValidOnFunction, Me.Locations(0)) 1751diagnostics.Add(ERRID.WRN_AttributeNotSupportedInVB, arguments.AttributeSyntaxOpt.Location, AttributeDescription.ModuleInitializerAttribute.FullName) 1756ERRID.ERR_CannotApplyOverloadResolutionPriorityToOverride, 1757ERRID.ERR_CannotApplyOverloadResolutionPriorityToMember), 1770Binder.ReportDiagnostic(diagnostics, arguments.AttributeSyntaxOpt.GetLocation(), ERRID.ERR_SecurityCriticalAsync, "SecurityCritical") 1773Binder.ReportDiagnostic(diagnostics, arguments.AttributeSyntaxOpt.GetLocation(), ERRID.ERR_SecurityCriticalAsync, "SecuritySafeCritical") 1787DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_ObsoleteInvalidOnEventMember, Me.Locations(0), description.FullName) 1809diagnostics.Add(ERRID.ERR_DllImportNotLegalOnDeclare, syntax.Name.GetLocation()) 1813diagnostics.Add(ERRID.ERR_DllImportNotLegalOnGetOrSet, syntax.Name.GetLocation()) 1817diagnostics.Add(ERRID.ERR_DllImportNotLegalOnEventMethod, syntax.Name.GetLocation()) 1822diagnostics.Add(ERRID.ERR_DllImportOnInterfaceMethod, syntax.Name.GetLocation()) 1827diagnostics.Add(ERRID.ERR_DllImportOnGenericSubOrFunction, syntax.Name.GetLocation()) 1832diagnostics.Add(ERRID.ERR_DllImportOnInstanceMethod, syntax.Name.GetLocation()) 1845Binder.ReportDiagnostic(diagnostics, location, ERRID.ERR_DllImportOnResumableMethod) 1851diagnostics.Add(ERRID.ERR_DllImportOnNonEmptySubOrFunction, syntax.Name.GetLocation()) 1876diagnostics.Add(ERRID.ERR_STAThreadAndMTAThread0, Me.NonMergedLocation) 2312binder.DisallowTypeCharacter(GetNameToken(methodStatement), diagBag, ERRID.ERR_TypeCharOnSub) 2346binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_RestrictedType1, restrictedType) 2352binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_BadIteratorReturn) 2361binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_BadAsyncReturn) 2372binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_BadIteratorReturn)
Symbols\Source\SourceModuleSymbol.vb (5)
394If d.Code <> ERRID.ERR_DuplicateImport1 Then 781diagnostics.Add(ERRID.ERR_PIAHasNoAssemblyGuid1, 788diagnostics.Add(ERRID.ERR_PIAHasNoTypeLibAttribute1, 1080DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_ExplicitTupleElementNamesAttribute, arguments.AttributeSyntaxOpt.Location) 1086DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_BadAttribute1, VisualBasicAttributeData.GetFirstArgumentLocation(arguments.AttributeSyntaxOpt), attrData.AttributeClass)
Symbols\Source\SourceNamedTypeSymbol.vb (63)
297ERRID.ERR_PartialTypeAccessMismatch3, 316Binder.ReportDiagnostic(diagBag, id, ERRID.ERR_PartialTypeBadMustInherit1, id.ToString()) 331binder.ReportModifierError(modifiers, ERRID.ERR_ModuleCantUseTypeSpecifier1, diagBag, InvalidModifiersInModule) 337Dim err As ERRID = ERRID.ERR_None 341err = ERRID.ERR_BadInterfaceClassSpecifier1 343err = ERRID.ERR_BadInterfaceDelegateSpecifier1 345err = ERRID.ERR_BadInterfaceStructSpecifier1 347err = ERRID.ERR_BadInterfaceEnumSpecifier1 355binder.ReportModifierError(modifiers, ERRID.ERR_BadInterfaceInterfaceSpecifier1, diagBag, 364If err <> ERRID.ERR_None Then 381Binder.ReportDiagnostic(diagBag, id, ERRID.ERR_PrivateTypeOutsideType) 385Binder.ReportDiagnostic(diagBag, id, ERRID.ERR_ShadowingTypeOutsideClass1, id.ToString()) 394Binder.ReportDiagnostic(diagBag, id, ERRID.ERR_ProtectedTypeOutsideClass) 407Dim err = ERRID.ERR_None 412err = ERRID.ERR_BadModuleFlags1 419err = ERRID.ERR_BadClassFlags1 426err = ERRID.ERR_BadRecordFlags1 433err = ERRID.ERR_BadInterfaceFlags1 440err = ERRID.ERR_BadEnumFlags1 447err = ERRID.ERR_BadDelegateFlags1 528Binder.ReportDiagnostic(diagBag, id, ERRID.ERR_TypeClashesWithVbCoreType4, 541Binder.ReportDiagnostic(diagBag, location, ERRID.ERR_TypeClashesWithVbCoreType4, 560Binder.ReportDiagnostic(diagBag, id, ERRID.ERR_TypeConflict6, 562container.GetKindText(), Me.ContainingSymbol.ToErrorMessageArgument(ERRID.ERR_TypeConflict6)) 615Binder.ReportDiagnostic(diagBag, id, ERRID.ERR_CollisionWithPublicTypeInModule, Me, collision.ContainingModule) 625Binder.ReportDiagnostic(diagBag, id, ERRID.ERR_ShadowingGenericParamWithMember1, Me.Name) 673Dim errorCode = If(foundPartial, ERRID.WRN_TypeConflictButMerged6, ERRID.ERR_TypeConflict6) 717Binder.ReportDiagnostic(diagnostics, syntax.EnumStatement.Identifier, ERRID.ERR_BadEmptyEnum1, syntax.EnumStatement.Identifier.ValueText) 830Binder.DisallowTypeCharacter(identSymbol, diagBag, ERRID.ERR_TypeCharOnGenericParam) 840Binder.ReportDiagnostic(diagBag, varianceKeyword, ERRID.ERR_VarianceDisallowedHere) 850Binder.ReportDiagnostic(diagBag, identSymbol, ERRID.ERR_PartialTypeTypeParamNameMismatch3, name, typeParameter.Name, Me.Name) 855Binder.ReportDiagnostic(diagBag, identSymbol, ERRID.ERR_PartialTypeConstraintMismatch1, Me.Name) 962Binder.ReportDiagnostic(diagBag, s.Locations(0), ERRID.WRN_ShadowingGenericParamWithParam1, s.Name) 965Binder.ReportDiagnostic(diagBag, s.Locations(0), ERRID.ERR_DuplicateTypeParamName1, s.Name) 1016CheckNoBase(inheritsSyntax, ERRID.ERR_StructCantInherit, diagBag) 1020CheckNoBase(inheritsSyntax, ERRID.ERR_ModuleCantInherit, diagBag) 1051CheckNoBase(implementsSyntax, ERRID.ERR_ModuleCantImplement, diagBag) 1058errId As ERRID, 1089Binder.ReportDiagnostic(diagBag, inheritsDeclaration, ERRID.ERR_MultipleExtends) 1111Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_GenericParamBase2, "Class", Me.Name) 1115Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_InheritsFromNonClass) 1123Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_InheritsFromRestrictedType1, baseClassType) 1127Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_InheritsFromCantInherit3, Me.Name, baseClassType.Name, baseClassType.GetKindText()) 1135Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_BaseMismatchForPartialClass3, 1173Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_DuplicateInInherits1, typeSymbol) 1182Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_GenericParamBase2, "Interface", Me.Name) 1198Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_InheritsFromNonInterface) 1228Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_InterfaceImplementedTwice1, typeSymbol) 1233Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_ImplementsGenericParam, "Interface", Me.Name) 1243Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_BadImplementsType) 1410diagnostics.Add(ERRID.ERR_CannotInheritFromTypeWithRequiredMembers, GetInheritsLocation(Me), declaredOrDefaultBase) 1647Binder.ReportDiagnostic(diagnostics, location, ERRID.ERR_GenericClassCannotInheritAttr) 1793Binder.ReportDiagnostic(diagnostics, underlyingType.Type, ERRID.ERR_InvalidEnumBase) 2182diagnostics.Add(ERRID.ERR_ExplicitTupleElementNamesAttribute, arguments.AttributeSyntaxOpt.Location) 2190diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ExtensionOnlyAllowedOnModuleSubOrFunction), Me.Locations(0)) 2195diagnostics.Add(ERRID.ERR_ComClassOnGeneric, Me.Locations(0)) 2207diagnostics.Add(ERRID.ERR_DefaultEventNotFound1, arguments.AttributeSyntaxOpt.GetLocation(), eventName) 2243diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.ERR_InvalidAttributeUsage2, AttributeDescription.VisualBasicComClassAttribute.Name, Me.Name), Me.Locations(0)) 2257diagnostics.Add(ERRID.ERR_ConflictDefaultPropertyAttribute, Locations(0), Me) 2275diagnostics.Add(ERRID.ERR_StructLayoutAttributeNotAllowed, arguments.AttributeSyntaxOpt.GetLocation(), Me) 2306diagnostics.Add(ERRID.ERR_CantUseRequiredAttribute, arguments.AttributeSyntaxOpt.GetLocation(), Me)
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (16)
139Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassDuplicateGuids1, comClass.Name) 145Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassAndReservedAttribute1, AttributeDescription.GuidAttribute.Name) 150Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassAndReservedAttribute1, AttributeDescription.ClassInterfaceAttribute.Name) 155Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassAndReservedAttribute1, AttributeDescription.ComSourceInterfacesAttribute.Name) 160Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassAndReservedAttribute1, AttributeDescription.ComVisibleAttribute.Name & "(False)") 165Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassRequiresPublicClass1, comClass.Name) 171Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassRequiresPublicClass2, 182Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassCantBeAbstract0) 193Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.WRN_ComClassNoMembers1, comClass.Name) 288Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_BadAttributeUuid2, AttributeDescription.VisualBasicComClassAttribute.Name, id) 330Binder.ReportDiagnostic(diagnostics, member.Locations(0), ERRID.ERR_MemberConflictWithSynth4, 344Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.WRN_ComClassInterfaceShadows5, 427Binder.ReportDiagnostic(diagnostics, prop.Locations(0), ERRID.WRN_ComClassPropertySetObject1, prop) 453Binder.ReportDiagnostic(diagnostics, member.Locations(0), ERRID.ERR_ComClassGenericMethod) 494Binder.ReportDiagnostic(diagnostics, target.Locations(0), ERRID.ERR_ComClassReservedDispIdZero1, target.Name) 500Binder.ReportDiagnostic(diagnostics, target.Locations(0), ERRID.ERR_ComClassReservedDispId1, target.Name)
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (3)
147binder.ReportDiagnostic(diagnostics, attr, ERRID.ERR_MyGroupCollectionAttributeCycle) 170binder.ReportDiagnostic(diagnostics, expression, ERRID.ERR_LiteralExpected) 405binder.ReportDiagnostic(diagnostics, attributeSyntax, ERRID.ERR_PropertyNameConflictInMyCollection, conflictsWith, targetType)
Symbols\Source\SourceNamespaceSymbol.vb (4)
406Dim diag = New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_TypecharNotallowed), node.GetLocation()) 424Dim diag = New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.WRN_NamespaceCaseMismatch3, node.Identifier.ValueText, Me.Name, path), node.GetLocation()) 443Dim diag = New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_NestedGlobalNamespace), node.GetLocation()) 467path = New LocalizableErrorArgument(ERRID.IDS_ProjectSettingsLocationName)
Symbols\Source\SourceParameterSymbol.vb (4)
343DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_ExplicitTupleElementNamesAttribute, arguments.AttributeSyntaxOpt.Location) 364DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.WRN_CallerArgumentExpressionAttributeSelfReferential, arguments.AttributeSyntaxOpt.Location, Me.Name) 366DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.WRN_CallerArgumentExpressionAttributeHasInvalidParameterName, arguments.AttributeSyntaxOpt.Location, Me.Name) 397Binder.ReportDiagnostic(diagnostics, syntax, ERRID.ERR_ParamDefaultValueDiffersFromAttribute)
Symbols\Source\SourcePropertyAccessorSymbol.vb (6)
80ERRID.ERR_BadPropertyAccessorFlags, 92binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_StructCantUseVarSpecifier1, diagnostics, SyntaxKind.ProtectedKeyword) 98binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_BadFlagsOnStdModuleProperty1, diagnostics, SyntaxKind.ProtectedKeyword) 436diagnostics.Add(ERRID.ERR_SetValueNotPropertyType, valueParameter.Locations(0)) 451diagnostics.Add(ERRID.ERR_SetHasOnlyOneParam, location) 467diagnostics.Add(ERRID.ERR_SetHasToBeByVal1, location, token.ToString())
Symbols\Source\SourcePropertySymbol.vb (27)
121diagnostics.Add(ERRID.ERR_DuplicatePropertyGet, accessorMethod.Locations(0)) 128diagnostics.Add(ERRID.ERR_DuplicatePropertySet, accessorMethod.Locations(0)) 141diagnostics.Add(ERRID.ERR_ReadOnlyNoAccessorFlag, GetAccessorBlockBeginLocation(getMethod)) 144diagnostics.Add(ERRID.ERR_ReadOnlyHasNoGet, location) 147diagnostics.Add(ERRID.ERR_ReadOnlyHasSet, setMethod.Locations(0)) 154diagnostics.Add(ERRID.ERR_WriteOnlyNoAccessorFlag, GetAccessorBlockBeginLocation(setMethod)) 157diagnostics.Add(ERRID.ERR_WriteOnlyHasNoWrite, location) 160diagnostics.Add(ERRID.ERR_WriteOnlyHasGet, getMethod.Locations(0)) 168diagnostics.Add(ERRID.ERR_OnlyOneAccessorForGetSet, GetAccessorBlockBeginLocation(accessor)) 172bodyBinder.ReportModifierError(syntax.Modifiers, ERRID.ERR_BadPropertyAccessorFlags3, diagnostics, s_overridableModifierKinds) 181diagnostics.Add(ERRID.ERR_PropMustHaveGetSet, location) 189diagnostics.Add(ERRID.ERR_AutoPropertyCantBeWriteOnly, location) 382Binder.ReportDiagnostic(diagnostics, errorLocation, ERRID.ERR_RestrictedType1, restrictedType) 394Binder.ReportDiagnostic(diagnostics, errorLocation, ERRID.ERR_BadIteratorReturn) 579diagnostics.Add(ERRID.ERR_ExplicitTupleElementNamesAttribute, arguments.AttributeSyntaxOpt.Location) 590diagnostics.Add(ERRID.WRN_ReturnTypeAttributeOnWriteOnlyProperty, arguments.AttributeSyntaxOpt.GetLocation()) 611diagnostics.Add(ERRID.WRN_DebuggerHiddenIgnoredOnProperties, arguments.AttributeSyntaxOpt.GetLocation()) 618ERRID.ERR_CannotApplyOverloadResolutionPriorityToOverride, 619ERRID.ERR_CannotApplyOverloadResolutionPriorityToMember), 885diagnostics.Add(ERRID.ERR_DefaultPropertyWithNoParams, _location) 1082ReportAccessorAccessibilityError(bodyBinder, syntax, ERRID.ERR_BadPropertyAccessorFlagsRestrict, diagnostics) 1084ReportAccessorAccessibilityError(bodyBinder, syntax, ERRID.ERR_BadPropertyAccessorFlags1, diagnostics) 1086ReportAccessorAccessibilityError(bodyBinder, syntax, ERRID.ERR_BadPropertyAccessorFlags2, diagnostics) 1130ERRID.ERR_BadPropertyFlags1, 1138binder.ReportModifierError(modifiers, ERRID.ERR_BadFlagsWithDefault1, diagBag, InvalidModifiersIfDefault) 1159ERRID.ERR_SharedOnProcThatImpl, 1205errorId As ERRID,
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
201ErrorFactory.ErrorInfo(ERRID.ERR_MissingRuntimeHelper, type.MetadataName & "." & methodName),
Symbols\Source\UnboundLambdaParameterSymbol.vb (3)
71Binder.ReportDiagnostic(diagBag, GetModifierToken(syntax.Modifiers, SyntaxKind.ParamArrayKeyword), ERRID.ERR_ParamArrayIllegal1, StringConstants.Lambda) 76Binder.ReportDiagnostic(diagBag, GetModifierToken(syntax.Modifiers, SyntaxKind.OptionalKeyword), ERRID.ERR_OptionalIllegal1, StringConstants.Lambda) 80Binder.ReportDiagnostic(diagBag, syntax.AttributeLists.Node, ERRID.ERR_LambdasCannotHaveAttributes)
Symbols\Symbol.vb (5)
983Case ERRID.ERR_UnsupportedType1 998useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedField1, CustomSymbolDisplayFormatter.ShortErrorName(Me))) 1001useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me))) 1004useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedProperty1, CustomSymbolDisplayFormatter.ShortErrorName(Me))) 1096useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, String.Empty))
Symbols\Symbol_Attributes.vb (14)
202DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.WRN_AttributeNotSupportedInVB, arguments.AttributeSyntaxOpt.Location, AttributeDescription.SkipLocalsInitAttribute.FullName) 204DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_DoNotUseCompilerFeatureRequired, arguments.AttributeSyntaxOpt.Location) 206DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_DoNotUseRequiredMember, arguments.AttributeSyntaxOpt.Location) 210DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_InvalidExperimentalDiagID, attrArgumentLocation) 513diagnostics.Add(ERRID.ERR_InvalidMultipleAttributeUsage1, node.GetLocation(), CustomSymbolDisplayFormatter.ShortErrorName(attributeType)) 539diagnostics.Add(ERRID.ERR_InvalidAssemblyAttribute1, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType)) 542diagnostics.Add(ERRID.ERR_InvalidModuleAttribute1, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType)) 552diagnostics.Add(ERRID.ERR_InvalidAttributeUsageOnAccessor, node.Name.GetLocation, 559diagnostics.Add(ERRID.ERR_InvalidAttributeUsage2, node.Name.GetLocation, 571diagnostics.Add(ERRID.ERR_InvalidAttributeUsage2, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType), ownerName) 574diagnostics.Add(ERRID.ERR_InvalidAttributeUsage2, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType), 575New LocalizableErrorArgument(ERRID.IDS_FunctionReturnType)) 578diagnostics.Add(ERRID.ERR_InvalidAttributeUsage2, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType), 591diagnostics.Add(ERRID.ERR_SecurityAttributeInvalidTarget, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType))
Symbols\SymbolExtensions.vb (3)
99Friend Function ToErrorMessageArgument(target As Symbol, Optional errorCode As ERRID = ERRID.ERR_None) As Object 107If errorCode = ERRID.ERR_TypeConflict6 Then
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
419diagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_VariancePreventsSynthesizedEvents2,
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionConstructorSymbol.vb (1)
71diagnostics.Add(ERRID.ERR_EncUpdateFailedMissingSymbol,
Symbols\Tuples\TupleFieldSymbol.vb (1)
244Return New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_TupleInferredNamesNotAvailable, _name,
Symbols\Tuples\TupleTypeSymbol.vb (3)
649Binder.ReportDiagnostic(diagnostics, syntax, ERRID.ERR_MissingRuntimeHelper, type.Name & "."c & descriptor.Name) 833ErrorFactory.ErrorInfo(ERRID.ERR_MissingRuntimeHelper, 1124diagnostics.Add(ERRID.WRN_TupleLiteralNameMismatch, literal.Arguments(i).Syntax.Parent.Location, sourceName, destination)
Symbols\TypeSymbol.vb (4)
524Return code = ERRID.ERR_UnsupportedType1 OrElse code = ERRID.ERR_UnsupportedCompilerFeature 530Return info IsNot Nothing AndAlso (info.Code = ERRID.ERR_UnsupportedType1 OrElse info.Code = ERRID.ERR_UnsupportedCompilerFeature)
Symbols\UnsupportedMetadataTypeSymbol.vb (1)
38Return ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, String.Empty)
Symbols\WellKnownMembers.vb (4)
106ctorError = ErrorFactory.ErrorInfo(ERRID.ERR_MissingRuntimeHelper, 114ctorError = ErrorFactory.ErrorInfo(ERRID.ERR_ExtensionAttributeInvalid) 397delayedErrorInfo = Function(t) ErrorFactory.ErrorInfo(ERRID.ERR_ValueTupleTypeRefResolutionError1, t) 400delayedErrorInfo = Function(t) ErrorFactory.ErrorInfo(ERRID.ERR_ValueTupleResolutionAmbiguous3, t, capturedConflicts.Item1, capturedConflicts.Item2)
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (7)
132Friend Function AddLeadingSyntax(Of TSyntax As VisualBasicSyntaxNode)(node As TSyntax, unexpected As CoreInternalSyntax.SyntaxList(Of GreenNode), errorId As ERRID) As TSyntax 149Friend Function AddLeadingSyntax(Of TSyntax As VisualBasicSyntaxNode)(node As TSyntax, unexpected As SyntaxToken, errorId As ERRID) As TSyntax 162Friend Function AddLeadingSyntax(Of TSyntax As VisualBasicSyntaxNode)(node As TSyntax, unexpected As GreenNode, errorId As ERRID) As TSyntax 214Friend Function AddTrailingSyntax(Of TSyntax As VisualBasicSyntaxNode)(node As TSyntax, unexpected As CoreInternalSyntax.SyntaxList(Of SyntaxToken), errorId As ERRID) As TSyntax 231Friend Function AddTrailingSyntax(Of TSyntax As VisualBasicSyntaxNode)(node As TSyntax, unexpected As SyntaxToken, errorId As ERRID) As TSyntax 250Friend Function AddTrailingSyntax(Of TSyntax As GreenNode)(node As TSyntax, unexpected As GreenNode, errorId As ERRID) As TSyntax 275Friend Function AddError(Of TSyntax As VisualBasicSyntaxNode)(node As TSyntax, errorId As ERRID) As TSyntax
Syntax\SyntaxFactory.vb (6)
1081Select Case DirectCast(err.Code, ERRID) 1082Case ERRID.ERR_LbExpectedEndIf, 1083ERRID.ERR_ExpectedEndRegion 1085Case ERRID.ERR_ExpectedEOS 1113Select Case DirectCast(err.Code, ERRID) 1114Case ERRID.ERR_UnterminatedStringLiteral
Syntax\SyntaxTreeDiagnosticEnumerator.vb (1)
60di = ErrorFactory.ErrorInfo(ERRID.WRN_XMLDocParseError1, di)
VisualBasicCompilationOptions.vb (11)
1031builder.Add(Diagnostic.Create(MessageProvider.Instance, ERRID.ERR_VBCoreNetModuleConflict)) 1035builder.Add(Diagnostic.Create(MessageProvider.Instance, ERRID.ERR_InvalidSwitchValue, NameOf(Platform), Platform.ToString())) 1039MetadataHelpers.CheckAssemblyOrModuleName(ModuleName, MessageProvider.Instance, ERRID.ERR_BadModuleName, builder) 1043builder.Add(Diagnostic.Create(MessageProvider.Instance, ERRID.ERR_InvalidSwitchValue, NameOf(OutputKind), OutputKind.ToString())) 1047builder.Add(Diagnostic.Create(MessageProvider.Instance, ERRID.ERR_InvalidSwitchValue, NameOf(OptimizationLevel), OptimizationLevel.ToString())) 1051builder.Add(Diagnostic.Create(MessageProvider.Instance, ERRID.ERR_InvalidSwitchValue, NameOf(ScriptClassName), If(ScriptClassName, "Nothing"))) 1055builder.Add(Diagnostic.Create(MessageProvider.Instance, ERRID.ERR_InvalidSwitchValue, NameOf(MainTypeName), MainTypeName)) 1059builder.Add(Diagnostic.Create(MessageProvider.Instance, ERRID.ERR_InvalidSwitchValue, NameOf(RootNamespace), RootNamespace)) 1063builder.Add(Diagnostic.Create(MessageProvider.Instance, ERRID.ERR_InvalidSwitchValue, NameOf(OptionStrict), OptionStrict.ToString())) 1068builder.Add(Diagnostic.Create(MessageProvider.Instance, ERRID.ERR_LibAnycpu32bitPreferredConflict, NameOf(Platform), Platform.ToString())) 1072builder.Add(Diagnostic.Create(MessageProvider.Instance, ERRID.ERR_InvalidSwitchValue, NameOf(MetadataImportOptions), MetadataImportOptions.ToString()))
VisualBasicParseOptions.vb (4)
250builder.Add(Diagnostic.Create(MessageProvider.Instance, ERRID.ERR_BadLanguageVersion, LanguageVersion.ToString)) 256builder.Add(Diagnostic.Create(ErrorFactory.ErrorInfo(ERRID.ERR_ConditionalCompilationConstantNotValid, 257ErrorFactory.ErrorInfo(ERRID.ERR_ExpectedIdentifier), 264builder.Add(Diagnostic.Create(MessageProvider.Instance, ERRID.ERR_InvalidPreprocessorConstantType, symbol.Key, symbol.Value.GetType))