// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// THIS FILE IS GENERATED. DO NOT EDIT.
//
// Instead modify 'pkg/analyzer/messages.yaml' and run
// 'dart run pkg/analyzer/tool/messages/generate.dart' to update.

// Generated comments don't quite align with flutter style.
// ignore_for_file: flutter_style_todos

part of 'diagnostic_code_values.dart';

@AnalyzerPublicApi(message: 'exported by lib/error/error.dart')
const List<DiagnosticCode> diagnosticCodeValues = [
  diag.abiSpecificIntegerInvalid,
  diag.abiSpecificIntegerMappingExtra,
  diag.abiSpecificIntegerMappingMissing,
  diag.abiSpecificIntegerMappingUnsupported,
  diag.abstractClassMember,
  diag.abstractExternalField,
  diag.abstractFieldConstructorInitializer,
  diag.abstractFieldInitializer,
  diag.abstractFinalBaseClass,
  diag.abstractFinalInterfaceClass,
  diag.abstractLateField,
  diag.abstractSealedClass,
  diag.abstractStaticField,
  diag.abstractStaticMethod,
  diag.abstractSuperMemberReference,
  diag.addressPosition,
  diag.addressReceiver,
  diag.ambiguousExport,
  diag.ambiguousExtensionMemberAccessThreeOrMore,
  diag.ambiguousExtensionMemberAccessTwo,
  diag.ambiguousImport,
  diag.ambiguousSetOrMapLiteralBoth,
  diag.ambiguousSetOrMapLiteralEither,
  diag.analysisOptionDeprecated,
  diag.analysisOptionDeprecatedWithReplacement,
  diag.annotationOnPointerField,
  diag.annotationOnTypeArgument,
  diag.annotationSpaceBeforeParenthesis,
  diag.annotationWithTypeArguments,
  diag.annotationWithTypeArgumentsUninstantiated,
  diag.argumentMustBeAConstant,
  diag.argumentMustBeNative,
  diag.argumentTypeNotAssignable,
  diag.argumentTypeNotAssignableToErrorHandler,
  diag.assertInRedirectingConstructor,
  diag.assetDirectoryDoesNotExist,
  diag.assetDoesNotExist,
  diag.assetFieldNotList,
  diag.assetMissingPath,
  diag.assetNotString,
  diag.assetNotStringOrMap,
  diag.assetPathNotString,
  diag.assignmentOfDoNotStore,
  diag.assignmentToConst,
  diag.assignmentToFinal,
  diag.assignmentToFinalLocal,
  diag.assignmentToFinalNoSetter,
  diag.assignmentToFunction,
  diag.assignmentToMethod,
  diag.assignmentToType,
  diag.asyncForInWrongContext,
  diag.asyncKeywordUsedAsIdentifier,
  diag.augmentationExtendsClauseAlreadyPresent,
  diag.augmentationModifierExtra,
  diag.augmentationModifierMissing,
  diag.augmentationOfDifferentDeclarationKind,
  diag.augmentationTypeParameterBound,
  diag.augmentationTypeParameterCount,
  diag.augmentationTypeParameterName,
  diag.augmentationWithoutDeclaration,
  diag.augmentedExpressionIsNotSetter,
  diag.augmentedExpressionIsSetter,
  diag.augmentedExpressionNotOperator,
  diag.awaitInLateLocalVariableInitializer,
  diag.awaitInWrongContext,
  diag.awaitOfIncompatibleType,
  diag.baseClassImplementedOutsideOfLibrary,
  diag.baseEnum,
  diag.baseMixinImplementedOutsideOfLibrary,
  diag.binaryOperatorWrittenOut,
  diag.bodyMightCompleteNormally,
  diag.bodyMightCompleteNormallyCatchError,
  diag.bodyMightCompleteNormallyNullable,
  diag.breakLabelOnSwitchMember,
  diag.breakOutsideOfLoop,
  diag.builtInIdentifierAsExtensionName,
  diag.builtInIdentifierAsExtensionTypeName,
  diag.builtInIdentifierAsPrefixName,
  diag.builtInIdentifierAsType,
  diag.builtInIdentifierAsTypeName,
  diag.builtInIdentifierAsTypeParameterName,
  diag.builtInIdentifierAsTypedefName,
  diag.cameraPermissionsIncompatible,
  diag.caseExpressionTypeImplementsEquals,
  diag.caseExpressionTypeIsNotSwitchExpressionSubtype,
  diag.castFromNullAlwaysFails,
  diag.castFromNullableAlwaysFails,
  diag.castToNonType,
  diag.catchSyntax,
  diag.catchSyntaxExtraParameters,
  diag.classInClass,
  diag.classInstantiationAccessToInstanceMember,
  diag.classInstantiationAccessToStaticMember,
  diag.classInstantiationAccessToUnknownMember,
  diag.classUsedAsMixin,
  diag.colonInPlaceOfIn,
  diag.compoundImplementsFinalizable,
  diag.concreteClassHasEnumSuperinterface,
  diag.concreteClassWithAbstractMember,
  diag.conflictingConstructorAndStaticField,
  diag.conflictingConstructorAndStaticGetter,
  diag.conflictingConstructorAndStaticMethod,
  diag.conflictingConstructorAndStaticSetter,
  diag.conflictingFieldAndMethod,
  diag.conflictingGenericInterfaces,
  diag.conflictingInheritedMethodAndSetter,
  diag.conflictingMethodAndField,
  diag.conflictingModifiers,
  diag.conflictingStaticAndInstance,
  diag.conflictingTypeVariableAndClass,
  diag.conflictingTypeVariableAndEnum,
  diag.conflictingTypeVariableAndExtension,
  diag.conflictingTypeVariableAndExtensionType,
  diag.conflictingTypeVariableAndMemberClass,
  diag.conflictingTypeVariableAndMemberEnum,
  diag.conflictingTypeVariableAndMemberExtension,
  diag.conflictingTypeVariableAndMemberExtensionType,
  diag.conflictingTypeVariableAndMemberMixin,
  diag.conflictingTypeVariableAndMixin,
  diag.constAndFinal,
  diag.constClass,
  diag.constConstructorConstantFromDeferredLibrary,
  diag.constConstructorFieldTypeMismatch,
  diag.constConstructorParamTypeMismatch,
  diag.constConstructorThrowsException,
  diag.constConstructorWithBody,
  diag.constConstructorWithFieldInitializedByNonConst,
  diag.constConstructorWithMixinWithField,
  diag.constConstructorWithMixinWithFields,
  diag.constConstructorWithNonConstSuper,
  diag.constConstructorWithNonFinalField,
  diag.constDeferredClass,
  diag.constEvalAssertionFailure,
  diag.constEvalAssertionFailureWithMessage,
  diag.constEvalExtensionMethod,
  diag.constEvalExtensionTypeMethod,
  diag.constEvalForElement,
  diag.constEvalMethodInvocation,
  diag.constEvalPrimitiveEquality,
  diag.constEvalPropertyAccess,
  diag.constEvalThrowsException,
  diag.constEvalThrowsIdbze,
  diag.constEvalTypeBool,
  diag.constEvalTypeBoolInt,
  diag.constEvalTypeBoolNumString,
  diag.constEvalTypeInt,
  diag.constEvalTypeNum,
  diag.constEvalTypeNumString,
  diag.constEvalTypeString,
  diag.constEvalTypeType,
  diag.constFactory,
  diag.constFieldInitializerNotAssignable,
  diag.constInitializedWithNonConstantValue,
  diag.constInitializedWithNonConstantValueFromDeferredLibrary,
  diag.constInstanceField,
  diag.constMapKeyNotPrimitiveEquality,
  diag.constMethod,
  diag.constNotInitialized,
  diag.constSetElementNotPrimitiveEquality,
  diag.constSpreadExpectedListOrSet,
  diag.constSpreadExpectedMap,
  diag.constTypeParameter,
  diag.constWithNonConst,
  diag.constWithNonConstantArgument,
  diag.constWithNonType,
  diag.constWithTypeParameters,
  diag.constWithTypeParametersConstructorTearoff,
  diag.constWithTypeParametersFunctionTearoff,
  diag.constWithUndefinedConstructor,
  diag.constWithUndefinedConstructorDefault,
  diag.constWithoutPrimaryConstructor,
  diag.constantPatternNeverMatchesValueType,
  diag.constantPatternWithNonConstantExpression,
  diag.constructorWithReturnType,
  diag.constructorWithTypeArguments,
  diag.continueLabelInvalid,
  diag.continueOutsideOfLoop,
  diag.continueWithoutLabelInCase,
  diag.couldNotInfer,
  diag.covariantAndStatic,
  diag.covariantConstructor,
  diag.covariantMember,
  diag.creationOfStructOrUnion,
  diag.deadCode,
  diag.deadCodeCatchFollowingCatch,
  diag.deadCodeLateWildcardVariableInitializer,
  diag.deadCodeOnCatchSubtype,
  diag.deadNullAwareExpression,
  diag.defaultInSwitchExpression,
  diag.defaultValueInFunctionType,
  diag.defaultValueInRedirectingFactoryConstructor,
  diag.defaultValueOnRequiredParameter,
  diag.deferredAfterPrefix,
  diag.deferredImportOfExtension,
  diag.definitelyUnassignedLateLocalVariable,
  diag.dependenciesFieldNotMap,
  diag.deprecatedColonForDefaultValue,
  diag.deprecatedExportUse,
  diag.deprecatedExtend,
  diag.deprecatedExtendsFunction,
  diag.deprecatedFactoryMethod,
  diag.deprecatedField,
  diag.deprecatedImplement,
  diag.deprecatedImplementsFunction,
  diag.deprecatedInstantiate,
  diag.deprecatedLint,
  diag.deprecatedLintWithReplacement,
  diag.deprecatedMemberUse,
  diag.deprecatedMemberUseWithMessage,
  diag.deprecatedMixin,
  diag.deprecatedMixinFunction,
  diag.deprecatedNewInCommentReference,
  diag.deprecatedOptional,
  diag.deprecatedSubclass,
  diag.directiveAfterDeclaration,
  diag.disallowedTypeInstantiationExpression,
  diag.docDirectiveArgumentWrongFormat,
  diag.docDirectiveHasExtraArguments,
  diag.docDirectiveHasUnexpectedNamedArgument,
  diag.docDirectiveMissingClosingBrace,
  diag.docDirectiveMissingClosingTag,
  diag.docDirectiveMissingOneArgument,
  diag.docDirectiveMissingOpeningTag,
  diag.docDirectiveMissingThreeArguments,
  diag.docDirectiveMissingTwoArguments,
  diag.docDirectiveUnknown,
  diag.docImportCannotBeDeferred,
  diag.docImportCannotHaveCombinators,
  diag.docImportCannotHaveConfigurations,
  diag.docImportCannotHavePrefix,
  diag.dotShorthandMissingContext,
  diag.dotShorthandUndefinedGetter,
  diag.dotShorthandUndefinedInvocation,
  diag.duplicateConstructorDefault,
  diag.duplicateConstructorName,
  diag.duplicateDeferred,
  diag.duplicateDefinition,
  diag.duplicateExport,
  diag.duplicateFieldFormalParameter,
  diag.duplicateFieldName,
  diag.duplicateHiddenName,
  diag.duplicateIgnore,
  diag.duplicateImport,
  diag.duplicateLabelInSwitchStatement,
  diag.duplicateNamedArgument,
  diag.duplicatePart,
  diag.duplicatePatternAssignmentVariable,
  diag.duplicatePatternField,
  diag.duplicatePrefix,
  diag.duplicateRestElementInPattern,
  diag.duplicateRule,
  diag.duplicateShownName,
  diag.duplicateVariablePattern,
  diag.duplicatedModifier,
  diag.emptyEnumBody,
  diag.emptyMapPattern,
  diag.emptyRecordLiteralWithComma,
  diag.emptyRecordTypeNamedFieldsList,
  diag.emptyRecordTypeWithComma,
  diag.emptyStruct,
  diag.encoding,
  diag.enumConstantInvokesFactoryConstructor,
  diag.enumConstantSameNameAsEnclosing,
  diag.enumInClass,
  diag.enumInstantiatedToBoundsIsNotWellBounded,
  diag.enumMixinWithInstanceVariable,
  diag.enumWithAbstractMember,
  diag.enumWithNameValues,
  diag.enumWithoutConstants,
  diag.equalElementsInConstSet,
  diag.equalElementsInSet,
  diag.equalKeysInConstMap,
  diag.equalKeysInMap,
  diag.equalKeysInMapPattern,
  diag.equalityCannotBeEqualityOperand,
  diag.expectedCaseOrDefault,
  diag.expectedCatchClauseBody,
  diag.expectedClassBody,
  diag.expectedClassMember,
  diag.expectedElseOrComma,
  diag.expectedExecutable,
  diag.expectedExtensionBody,
  diag.expectedExtensionTypeBody,
  diag.expectedFinallyClauseBody,
  diag.expectedIdentifierButGotKeyword,
  diag.expectedInstead,
  diag.expectedListOrMapLiteral,
  diag.expectedMixinBody,
  diag.expectedNamedTypeExtends,
  diag.expectedNamedTypeImplements,
  diag.expectedNamedTypeOn,
  diag.expectedNamedTypeWith,
  diag.expectedOneListPatternTypeArguments,
  diag.expectedOneListTypeArguments,
  diag.expectedOneSetTypeArguments,
  diag.expectedRepresentationField,
  diag.expectedRepresentationType,
  diag.expectedStringLiteral,
  diag.expectedSwitchExpressionBody,
  diag.expectedSwitchStatementBody,
  diag.expectedToken,
  diag.expectedTryStatementBody,
  diag.expectedTwoMapPatternTypeArguments,
  diag.expectedTwoMapTypeArguments,
  diag.expectedTypeName,
  diag.experimentNotEnabled,
  diag.experimentNotEnabledOffByDefault,
  diag.experimentalMemberUse,
  diag.exportDirectiveAfterPartDirective,
  diag.exportInternalLibrary,
  diag.exportOfNonLibrary,
  diag.expressionInMap,
  diag.extendsDeferredClass,
  diag.extendsDisallowedClass,
  diag.extendsNonClass,
  diag.extendsTypeAliasExpandsToTypeParameter,
  diag.extensionAsExpression,
  diag.extensionAugmentationHasOnClause,
  diag.extensionConflictingStaticAndInstance,
  diag.extensionDeclaresAbstractMember,
  diag.extensionDeclaresConstructor,
  diag.extensionDeclaresInstanceField,
  diag.extensionDeclaresMemberOfObject,
  diag.extensionOverrideAccessToStaticMember,
  diag.extensionOverrideArgumentNotAssignable,
  diag.extensionOverrideWithCascade,
  diag.extensionOverrideWithoutAccess,
  diag.extensionTypeConstructorWithSuperFormalParameter,
  diag.extensionTypeConstructorWithSuperInvocation,
  diag.extensionTypeDeclaresInstanceField,
  diag.extensionTypeDeclaresMemberOfObject,
  diag.extensionTypeExtends,
  diag.extensionTypeImplementsDisallowedType,
  diag.extensionTypeImplementsItself,
  diag.extensionTypeImplementsNotSupertype,
  diag.extensionTypeImplementsRepresentationNotSupertype,
  diag.extensionTypeInheritedMemberConflict,
  diag.extensionTypeRepresentationDependsOnItself,
  diag.extensionTypeRepresentationTypeBottom,
  diag.extensionTypeWith,
  diag.extensionTypeWithAbstractMember,
  diag.externalClass,
  diag.externalConstructorWithFieldInitializers,
  diag.externalConstructorWithInitializer,
  diag.externalEnum,
  diag.externalFactoryRedirection,
  diag.externalFactoryWithBody,
  diag.externalFieldConstructorInitializer,
  diag.externalFieldInitializer,
  diag.externalGetterWithBody,
  diag.externalLateField,
  diag.externalMethodWithBody,
  diag.externalOperatorWithBody,
  diag.externalSetterWithBody,
  diag.externalTypedef,
  diag.externalVariableInitializer,
  diag.extraAnnotationOnStructField,
  diag.extraPositionalArguments,
  diag.extraPositionalArgumentsCouldBeNamed,
  diag.extraSizeAnnotationCarray,
  diag.extraneousModifier,
  diag.extraneousModifierInExtensionType,
  diag.extraneousModifierInPrimaryConstructor,
  diag.factoryConstructorNewName,
  diag.factoryTopLevelDeclaration,
  diag.factoryWithInitializers,
  diag.factoryWithoutBody,
  diag.ffiNativeInvalidDuplicateDefaultAsset,
  diag.ffiNativeInvalidMultipleAnnotations,
  diag.ffiNativeMustBeExternal,
  diag.ffiNativeOnlyClassesExtendingNativefieldwrapperclass1CanBePointer,
  diag.ffiNativeUnexpectedNumberOfParameters,
  diag.ffiNativeUnexpectedNumberOfParametersWithReceiver,
  diag.fieldInitializedByMultipleInitializers,
  diag.fieldInitializedInInitializerAndDeclaration,
  diag.fieldInitializedInParameterAndInitializer,
  diag.fieldInitializedOutsideDeclaringClass,
  diag.fieldInitializerFactoryConstructor,
  diag.fieldInitializerNotAssignable,
  diag.fieldInitializerOutsideConstructor,
  diag.fieldInitializerRedirectingConstructor,
  diag.fieldInitializingFormalNotAssignable,
  diag.fieldMustBeExternalInStruct,
  diag.finalAndCovariant,
  diag.finalAndCovariantLateWithInitializer,
  diag.finalAndVar,
  diag.finalClassExtendedOutsideOfLibrary,
  diag.finalClassImplementedOutsideOfLibrary,
  diag.finalClassUsedAsMixinConstraintOutsideOfLibrary,
  diag.finalConstructor,
  diag.finalEnum,
  diag.finalInitializedInDeclarationAndConstructor,
  diag.finalMethod,
  diag.finalMixin,
  diag.finalMixinClass,
  diag.finalNotInitialized,
  diag.finalNotInitializedConstructor1,
  diag.finalNotInitializedConstructor2,
  diag.finalNotInitializedConstructor3Plus,
  diag.fixme,
  diag.flutterFieldNotMap,
  diag.forInOfInvalidElementType,
  diag.forInOfInvalidType,
  diag.forInWithConstVariable,
  diag.functionTypedParameterVar,
  diag.genericFunctionTypeCannotBeBound,
  diag.genericFunctionTypeCannotBeTypeArgument,
  diag.genericMethodTypeInstantiationOnDynamic,
  diag.genericStructSubclass,
  diag.getterConstructor,
  diag.getterInFunction,
  diag.getterNotAssignableSetterTypes,
  diag.getterNotSubtypeSetterTypes,
  diag.getterWithParameters,
  diag.hack,
  diag.ifElementConditionFromDeferredLibrary,
  diag.illegalAssignmentToNonAssignable,
  diag.illegalAsyncGeneratorReturnType,
  diag.illegalAsyncReturnType,
  diag.illegalCharacter,
  diag.illegalConcreteEnumMemberDeclaration,
  diag.illegalConcreteEnumMemberInheritance,
  diag.illegalEnumValuesDeclaration,
  diag.illegalEnumValuesInheritance,
  diag.illegalLanguageVersionOverride,
  diag.illegalPatternAssignmentVariableName,
  diag.illegalPatternIdentifierName,
  diag.illegalPatternVariableName,
  diag.illegalSyncGeneratorReturnType,
  diag.implementsBeforeExtends,
  diag.implementsBeforeOn,
  diag.implementsBeforeWith,
  diag.implementsDeferredClass,
  diag.implementsDisallowedClass,
  diag.implementsNonClass,
  diag.implementsRepeated,
  diag.implementsSuperClass,
  diag.implementsTypeAliasExpandsToTypeParameter,
  diag.implicitSuperInitializerMissingArguments,
  diag.implicitThisReferenceInInitializer,
  diag.importDeferredLibraryWithLoadFunction,
  diag.importDirectiveAfterPartDirective,
  diag.importInternalLibrary,
  diag.importOfNonLibrary,
  diag.includeFileNotFound,
  diag.includedFileParseError,
  diag.includedFileWarning,
  diag.incompatibleLint,
  diag.incompatibleLintFiles,
  diag.incompatibleLintIncluded,
  diag.inconsistentCaseExpressionTypes,
  diag.inconsistentInheritance,
  diag.inconsistentInheritanceGetterAndMethod,
  diag.inconsistentLanguageVersionOverride,
  diag.inconsistentPatternVariableLogicalOr,
  diag.inferenceFailureOnCollectionLiteral,
  diag.inferenceFailureOnFunctionInvocation,
  diag.inferenceFailureOnFunctionReturnType,
  diag.inferenceFailureOnGenericInvocation,
  diag.inferenceFailureOnInstanceCreation,
  diag.inferenceFailureOnUninitializedVariable,
  diag.inferenceFailureOnUntypedParameter,
  diag.initializedVariableInForEach,
  diag.initializerForNonExistentField,
  diag.initializerForStaticField,
  diag.initializingFormalForNonExistentField,
  diag.instanceAccessToStaticMember,
  diag.instanceAccessToStaticMemberOfUnnamedExtension,
  diag.instanceMemberAccessFromFactory,
  diag.instanceMemberAccessFromStatic,
  diag.instantiateAbstractClass,
  diag.instantiateEnum,
  diag.instantiateTypeAliasExpandsToTypeParameter,
  diag.integerLiteralImpreciseAsDouble,
  diag.integerLiteralOutOfRange,
  diag.interfaceClassExtendedOutsideOfLibrary,
  diag.interfaceEnum,
  diag.interfaceMixin,
  diag.interfaceMixinClass,
  diag.invalidAnnotation,
  diag.invalidAnnotationConstantValueFromDeferredLibrary,
  diag.invalidAnnotationFromDeferredLibrary,
  diag.invalidAnnotationTarget,
  diag.invalidAssignment,
  diag.invalidAwaitInFor,
  diag.invalidAwaitNotRequiredAnnotation,
  diag.invalidCastFunction,
  diag.invalidCastFunctionExpr,
  diag.invalidCastLiteral,
  diag.invalidCastLiteralList,
  diag.invalidCastLiteralMap,
  diag.invalidCastLiteralSet,
  diag.invalidCastMethod,
  diag.invalidCastNewExpr,
  diag.invalidCodePoint,
  diag.invalidCommentReference,
  diag.invalidConstant,
  diag.invalidConstantConstPrefix,
  diag.invalidConstantPatternBinary,
  diag.invalidConstantPatternDuplicateConst,
  diag.invalidConstantPatternEmptyRecordLiteral,
  diag.invalidConstantPatternGeneric,
  diag.invalidConstantPatternNegation,
  diag.invalidConstantPatternUnary,
  diag.invalidConstructorName,
  diag.invalidDependency,
  diag.invalidDeprecatedExtendAnnotation,
  diag.invalidDeprecatedImplementAnnotation,
  diag.invalidDeprecatedInstantiateAnnotation,
  diag.invalidDeprecatedMixinAnnotation,
  diag.invalidDeprecatedOptionalAnnotation,
  diag.invalidDeprecatedSubclassAnnotation,
  diag.invalidExceptionValue,
  diag.invalidExportOfInternalElement,
  diag.invalidExportOfInternalElementIndirectly,
  diag.invalidExtensionArgumentCount,
  diag.invalidFactoryMethodDecl,
  diag.invalidFactoryMethodImpl,
  diag.invalidFactoryNameNotAClass,
  diag.invalidFieldNameFromObject,
  diag.invalidFieldNamePositional,
  diag.invalidFieldNamePrivate,
  diag.invalidFieldTypeInStruct,
  diag.invalidGenericFunctionType,
  diag.invalidHexEscape,
  diag.invalidImplementationOverride,
  diag.invalidImplementationOverrideSetter,
  diag.invalidInitializer,
  diag.invalidInlineFunctionType,
  diag.invalidInsideUnaryPattern,
  diag.invalidInternalAnnotation,
  diag.invalidLanguageVersionOverrideAtSign,
  diag.invalidLanguageVersionOverrideEquals,
  diag.invalidLanguageVersionOverrideGreater,
  diag.invalidLanguageVersionOverrideLocation,
  diag.invalidLanguageVersionOverrideLowerCase,
  diag.invalidLanguageVersionOverrideNumber,
  diag.invalidLanguageVersionOverridePrefix,
  diag.invalidLanguageVersionOverrideTrailingCharacters,
  diag.invalidLanguageVersionOverrideTwoSlashes,
  diag.invalidLiteralAnnotation,
  diag.invalidLiteralInConfiguration,
  diag.invalidModifierOnConstructor,
  diag.invalidModifierOnSetter,
  diag.invalidNonVirtualAnnotation,
  diag.invalidNullAwareElement,
  diag.invalidNullAwareMapEntryKey,
  diag.invalidNullAwareMapEntryValue,
  diag.invalidNullAwareOperator,
  diag.invalidNullAwareOperatorAfterShortCircuit,
  diag.invalidOperator,
  diag.invalidOperatorForSuper,
  diag.invalidOperatorQuestionmarkPeriodForSuper,
  diag.invalidOption,
  diag.invalidOverride,
  diag.invalidOverrideOfNonVirtualMember,
  diag.invalidOverrideSetter,
  diag.invalidPlatformsField,
  diag.invalidReferenceToGenerativeEnumConstructor,
  diag.invalidReferenceToGenerativeEnumConstructorTearoff,
  diag.invalidReferenceToThis,
  diag.invalidReopenAnnotation,
  diag.invalidSectionFormat,
  diag.invalidStarAfterAsync,
  diag.invalidSuperFormalParameterLocation,
  diag.invalidSuperInInitializer,
  diag.invalidSync,
  diag.invalidThisInInitializer,
  diag.invalidTypeArgumentInConstList,
  diag.invalidTypeArgumentInConstMap,
  diag.invalidTypeArgumentInConstSet,
  diag.invalidUnicodeEscapeStarted,
  diag.invalidUnicodeEscapeUBracket,
  diag.invalidUnicodeEscapeUNoBracket,
  diag.invalidUnicodeEscapeUStarted,
  diag.invalidUri,
  diag.invalidUseOfCovariant,
  diag.invalidUseOfCovariantInExtension,
  diag.invalidUseOfDoNotSubmitMember,
  diag.invalidUseOfIdentifierAugmented,
  diag.invalidUseOfInternalMember,
  diag.invalidUseOfNullValue,
  diag.invalidUseOfProtectedMember,
  diag.invalidUseOfVisibleForOverridingMember,
  diag.invalidUseOfVisibleForTemplateMember,
  diag.invalidUseOfVisibleForTestingMember,
  diag.invalidVisibilityAnnotation,
  diag.invalidVisibleOutsideTemplateAnnotation,
  diag.invalidWidgetPreviewApplication,
  diag.invalidWidgetPreviewPrivateArgument,
  diag.invocationOfExtensionWithoutCall,
  diag.invocationOfNonFunction,
  diag.invocationOfNonFunctionExpression,
  diag.labelInOuterScope,
  diag.labelUndefined,
  diag.lateFinalFieldWithConstConstructor,
  diag.lateFinalLocalAlreadyAssigned,
  diag.latePatternVariableDeclaration,
  diag.leafCallMustNotReturnHandle,
  diag.leafCallMustNotTakeHandle,
  diag.libraryDirectiveNotFirst,
  diag.listElementTypeNotAssignable,
  diag.listElementTypeNotAssignableNullability,
  diag.literalWithClass,
  diag.literalWithClassAndNew,
  diag.literalWithNew,
  diag.localFunctionDeclarationModifier,
  diag.mainFirstPositionalParameterType,
  diag.mainHasRequiredNamedParameters,
  diag.mainHasTooManyRequiredPositionalParameters,
  diag.mainIsNotFunction,
  diag.mapEntryNotInMap,
  diag.mapKeyTypeNotAssignable,
  diag.mapKeyTypeNotAssignableNullability,
  diag.mapValueTypeNotAssignable,
  diag.mapValueTypeNotAssignableNullability,
  diag.memberWithClassName,
  diag.mismatchedAnnotationOnStructField,
  diag.missingAnnotationOnStructField,
  diag.missingAssignableSelector,
  diag.missingAssignmentInInitializer,
  diag.missingCatchOrFinally,
  diag.missingClosingParenthesis,
  diag.missingConstFinalVarOrType,
  diag.missingConstInListLiteral,
  diag.missingConstInMapLiteral,
  diag.missingConstInSetLiteral,
  diag.missingDartLibrary,
  diag.missingDefaultValueForParameter,
  diag.missingDefaultValueForParameterPositional,
  diag.missingDefaultValueForParameterWithAnnotation,
  diag.missingDependency,
  diag.missingDigit,
  diag.missingEnumBody,
  diag.missingEnumConstantInSwitch,
  diag.missingExceptionValue,
  diag.missingExpressionInInitializer,
  diag.missingExpressionInThrow,
  diag.missingFieldTypeInStruct,
  diag.missingFunctionBody,
  diag.missingFunctionKeyword,
  diag.missingFunctionParameters,
  diag.missingGet,
  diag.missingHexDigit,
  diag.missingIdentifier,
  diag.missingInitializer,
  diag.missingKeywordOperator,
  diag.missingMethodParameters,
  diag.missingName,
  diag.missingNameForNamedParameter,
  diag.missingNameInLibraryDirective,
  diag.missingNameInPartOfDirective,
  diag.missingNamedPatternFieldName,
  diag.missingOverrideOfMustBeOverriddenOne,
  diag.missingOverrideOfMustBeOverriddenThreePlus,
  diag.missingOverrideOfMustBeOverriddenTwo,
  diag.missingPrefixInDeferredImport,
  diag.missingPrimaryConstructor,
  diag.missingPrimaryConstructorParameters,
  diag.missingQuote,
  diag.missingRequiredArgument,
  diag.missingRequiredParam,
  diag.missingRequiredParamWithDetails,
  diag.missingSizeAnnotationCarray,
  diag.missingStarAfterSync,
  diag.missingStatement,
  diag.missingTerminatorForParameterGroup,
  diag.missingTypedefParameters,
  diag.missingVariableInForEach,
  diag.missingVariablePattern,
  diag.mixedParameterGroups,
  diag.mixinApplicationConcreteSuperInvokedMemberType,
  diag.mixinApplicationNoConcreteSuperInvokedMember,
  diag.mixinApplicationNoConcreteSuperInvokedSetter,
  diag.mixinApplicationNotImplementedInterface,
  diag.mixinClassDeclarationExtendsNotObject,
  diag.mixinClassDeclaresConstructor,
  diag.mixinDeclaresConstructor,
  diag.mixinDeferredClass,
  diag.mixinInheritsFromNotObject,
  diag.mixinInstantiate,
  diag.mixinOfDisallowedClass,
  diag.mixinOfNonClass,
  diag.mixinOfTypeAliasExpandsToTypeParameter,
  diag.mixinOnSealedClass,
  diag.mixinOnTypeAliasExpandsToTypeParameter,
  diag.mixinSubtypeOfBaseIsNotBase,
  diag.mixinSubtypeOfFinalIsNotBase,
  diag.mixinSuperClassConstraintDeferredClass,
  diag.mixinSuperClassConstraintDisallowedClass,
  diag.mixinSuperClassConstraintNonInterface,
  diag.mixinWithClause,
  diag.mixinWithNonClassSuperclass,
  diag.mixinsSuperClass,
  diag.modifierOutOfOrder,
  diag.multipleClauses,
  diag.multipleCombinators,
  diag.multipleExtendsClauses,
  diag.multipleImplementsClauses,
  diag.multipleLibraryDirectives,
  diag.multipleNamedParameterGroups,
  diag.multipleOnClauses,
  diag.multiplePartOfDirectives,
  diag.multiplePlugins,
  diag.multiplePositionalParameterGroups,
  diag.multipleRedirectingConstructorInvocations,
  diag.multipleRepresentationFields,
  diag.multipleSuperInitializers,
  diag.multipleVariablesInForEach,
  diag.multipleVarianceModifiers,
  diag.multipleWithClauses,
  diag.mustBeANativeFunctionType,
  diag.mustBeASubtype,
  diag.mustBeImmutable,
  diag.mustCallSuper,
  diag.mustReturnVoid,
  diag.nameNotString,
  diag.namedFunctionExpression,
  diag.namedFunctionType,
  diag.namedParameterOutsideGroup,
  diag.nativeClauseInNonSdkCode,
  diag.nativeClauseShouldBeAnnotation,
  diag.nativeFieldInvalidType,
  diag.nativeFieldMissingType,
  diag.nativeFieldNotStatic,
  diag.nativeFunctionBodyInNonSdkCode,
  diag.nativeFunctionMissingType,
  diag.negativeVariableDimension,
  diag.newConstructorNewName,
  diag.newConstructorQualifiedName,
  diag.newWithNonType,
  diag.newWithUndefinedConstructor,
  diag.newWithUndefinedConstructorDefault,
  diag.noAnnotationConstructorArguments,
  diag.noCombinedSuperSignature,
  diag.noDefaultSuperConstructorExplicit,
  diag.noDefaultSuperConstructorImplicit,
  diag.noGenerativeConstructorsInSuperclass,
  diag.noTouchscreenFeature,
  diag.nonAbstractClassInheritsAbstractMemberFivePlus,
  diag.nonAbstractClassInheritsAbstractMemberFour,
  diag.nonAbstractClassInheritsAbstractMemberOne,
  diag.nonAbstractClassInheritsAbstractMemberThree,
  diag.nonAbstractClassInheritsAbstractMemberTwo,
  diag.nonBoolCondition,
  diag.nonBoolExpression,
  diag.nonBoolNegationExpression,
  diag.nonBoolOperand,
  diag.nonConstArgumentForConstParameter,
  diag.nonConstCallToLiteralConstructor,
  diag.nonConstCallToLiteralConstructorUsingNew,
  diag.nonConstGenerativeEnumConstructor,
  diag.nonConstMapAsExpressionStatement,
  diag.nonConstantAnnotationConstructor,
  diag.nonConstantCaseExpression,
  diag.nonConstantCaseExpressionFromDeferredLibrary,
  diag.nonConstantDefaultValue,
  diag.nonConstantDefaultValueFromDeferredLibrary,
  diag.nonConstantListElement,
  diag.nonConstantListElementFromDeferredLibrary,
  diag.nonConstantMapElement,
  diag.nonConstantMapKey,
  diag.nonConstantMapKeyFromDeferredLibrary,
  diag.nonConstantMapPatternKey,
  diag.nonConstantMapValue,
  diag.nonConstantMapValueFromDeferredLibrary,
  diag.nonConstantRecordField,
  diag.nonConstantRecordFieldFromDeferredLibrary,
  diag.nonConstantRelationalPatternExpression,
  diag.nonConstantSetElement,
  diag.nonConstantTypeArgument,
  diag.nonConstructorFactory,
  diag.nonCovariantTypeParameterPositionInRepresentationType,
  diag.nonExhaustiveSwitchExpression,
  diag.nonExhaustiveSwitchExpressionPrivate,
  diag.nonExhaustiveSwitchStatement,
  diag.nonExhaustiveSwitchStatementPrivate,
  diag.nonFinalFieldInEnum,
  diag.nonGenerativeConstructor,
  diag.nonGenerativeImplicitConstructor,
  diag.nonIdentifierLibraryName,
  diag.nonNativeFunctionTypeArgumentToPointer,
  diag.nonNullableEqualsParameter,
  diag.nonPartOfDirectiveInPart,
  diag.nonPositiveArrayDimension,
  diag.nonRedirectingGenerativeConstructorWithPrimary,
  diag.nonResizableActivity,
  diag.nonSizedTypeArgument,
  diag.nonStringLiteralAsUri,
  diag.nonSyncFactory,
  diag.nonTypeAsTypeArgument,
  diag.nonTypeInCatchClause,
  diag.nonUserDefinableOperator,
  diag.nonVoidReturnForOperator,
  diag.nonVoidReturnForSetter,
  diag.normalBeforeOptionalParameters,
  diag.notAType,
  diag.notAssignedPotentiallyNonNullableLocalVariable,
  diag.notBinaryOperator,
  diag.notEnoughPositionalArgumentsNamePlural,
  diag.notEnoughPositionalArgumentsNameSingular,
  diag.notEnoughPositionalArgumentsPlural,
  diag.notEnoughPositionalArgumentsSingular,
  diag.notInitializedNonNullableInstanceField,
  diag.notInitializedNonNullableInstanceFieldConstructor,
  diag.notInitializedNonNullableVariable,
  diag.notInstantiatedBound,
  diag.notIterableSpread,
  diag.notMapSpread,
  diag.notNullAwareNullSpread,
  diag.nullArgumentToNonNullType,
  diag.nullAwareCascadeOutOfOrder,
  diag.nullCheckAlwaysFails,
  diag.nullableTypeInCatchClause,
  diag.nullableTypeInExtendsClause,
  diag.nullableTypeInImplementsClause,
  diag.nullableTypeInOnClause,
  diag.nullableTypeInWithClause,
  diag.objectCannotExtendAnotherClass,
  diag.obsoleteColonForDefaultValue,
  diag.onRepeated,
  diag.optionalParameterInOperator,
  diag.outOfOrderClauses,
  diag.overrideOnNonOverridingField,
  diag.overrideOnNonOverridingGetter,
  diag.overrideOnNonOverridingMethod,
  diag.overrideOnNonOverridingSetter,
  diag.packedAnnotation,
  diag.packedAnnotationAlignment,
  diag.parseError,
  diag.partOfDifferentLibrary,
  diag.partOfName,
  diag.partOfNonPart,
  diag.partOfUnnamedLibrary,
  diag.pathDoesNotExist,
  diag.pathNotPosix,
  diag.pathPubspecDoesNotExist,
  diag.patternAssignmentDeclaresVariable,
  diag.patternAssignmentNotLocalVariable,
  diag.patternConstantFromDeferredLibrary,
  diag.patternNeverMatchesValueType,
  diag.patternTypeMismatchInIrrefutableContext,
  diag.patternVariableAssignmentInsideGuard,
  diag.patternVariableDeclarationOutsideFunctionOrMethod,
  diag.patternVariableSharedCaseScopeDifferentFinalityOrType,
  diag.patternVariableSharedCaseScopeHasLabel,
  diag.patternVariableSharedCaseScopeNotAllCases,
  diag.permissionImpliesUnsupportedHardware,
  diag.platformValueDisallowed,
  diag.pluginsInInnerOptions,
  diag.positionalAfterNamedArgument,
  diag.positionalFieldInObjectPattern,
  diag.positionalParameterOutsideGroup,
  diag.positionalSuperFormalParameterWithPositionalArgument,
  diag.prefixAfterCombinator,
  diag.prefixCollidesWithTopLevelMember,
  diag.prefixIdentifierNotFollowedByDot,
  diag.prefixShadowedByLocalDeclaration,
  diag.primaryConstructorBodyWithoutDeclaration,
  diag.privateCollisionInMixinApplication,
  diag.privateNamedNonFieldParameter,
  diag.privateNamedParameterDuplicatePublicName,
  diag.privateNamedParameterWithoutPublicName,
  diag.privateOptionalParameter,
  diag.privateSetter,
  diag.readPotentiallyUnassignedFinal,
  diag.receiverOfTypeNever,
  diag.recordLiteralOnePositionalNoTrailingComma,
  diag.recordLiteralOnePositionalNoTrailingCommaByType,
  diag.recordTypeOnePositionalNoTrailingComma,
  diag.recursiveCompileTimeConstant,
  diag.recursiveConstantConstructor,
  diag.recursiveConstructorRedirect,
  diag.recursiveFactoryRedirect,
  diag.recursiveIncludeFile,
  diag.recursiveInterfaceInheritance,
  diag.recursiveInterfaceInheritanceExtends,
  diag.recursiveInterfaceInheritanceImplements,
  diag.recursiveInterfaceInheritanceOn,
  diag.recursiveInterfaceInheritanceWith,
  diag.redeclareOnNonRedeclaringMember,
  diag.redirectGenerativeToMissingConstructor,
  diag.redirectGenerativeToNonGenerativeConstructor,
  diag.redirectToAbstractClassConstructor,
  diag.redirectToInvalidFunctionType,
  diag.redirectToInvalidReturnType,
  diag.redirectToMissingConstructor,
  diag.redirectToNonClass,
  diag.redirectToNonConstConstructor,
  diag.redirectToTypeAliasExpandsToTypeParameter,
  diag.redirectingConstructorWithBody,
  diag.redirectionInNonFactoryConstructor,
  diag.referencedBeforeDeclaration,
  diag.refutablePatternInIrrefutableContext,
  diag.relationalPatternOperandTypeNotAssignable,
  diag.relationalPatternOperatorReturnTypeNotAssignableToBool,
  diag.removedLint,
  diag.removedLintUse,
  diag.replacedLint,
  diag.replacedLintUse,
  diag.representationFieldModifier,
  diag.representationFieldTrailingComma,
  diag.restElementInMapPattern,
  diag.rethrowOutsideCatch,
  diag.returnInGenerativeConstructor,
  diag.returnInGenerator,
  diag.returnOfDoNotStore,
  diag.returnOfInvalidTypeFromCatchError,
  diag.returnOfInvalidTypeFromClosure,
  diag.returnOfInvalidTypeFromConstructor,
  diag.returnOfInvalidTypeFromFunction,
  diag.returnOfInvalidTypeFromMethod,
  diag.returnTypeInvalidForCatchError,
  diag.returnWithoutValue,
  diag.sdkVersionConstructorTearoffs,
  diag.sdkVersionGtGtGtOperator,
  diag.sdkVersionSince,
  diag.sealedClassSubtypeOutsideOfLibrary,
  diag.sealedEnum,
  diag.sealedMixin,
  diag.sealedMixinClass,
  diag.setElementFromDeferredLibrary,
  diag.setElementTypeNotAssignable,
  diag.setElementTypeNotAssignableNullability,
  diag.setterConstructor,
  diag.setterInFunction,
  diag.settingOrientationOnActivity,
  diag.sharedDeferredPrefix,
  diag.sizeAnnotationDimensions,
  diag.spreadExpressionFromDeferredLibrary,
  diag.stackOverflow,
  diag.staticAccessToInstanceMember,
  diag.staticConstructor,
  diag.staticGetterWithoutBody,
  diag.staticOperator,
  diag.staticSetterWithoutBody,
  diag.strictRawType,
  diag.subtypeOfBaseIsNotBaseFinalOrSealed,
  diag.subtypeOfFinalIsNotBaseFinalOrSealed,
  diag.subtypeOfSealedClass,
  diag.subtypeOfStructClassInExtends,
  diag.subtypeOfStructClassInImplements,
  diag.subtypeOfStructClassInWith,
  diag.superFormalParameterTypeIsNotSubtypeOfAssociated,
  diag.superFormalParameterWithoutAssociatedNamed,
  diag.superFormalParameterWithoutAssociatedPositional,
  diag.superInEnumConstructor,
  diag.superInExtension,
  diag.superInExtensionType,
  diag.superInInvalidContext,
  diag.superInRedirectingConstructor,
  diag.superInitializerInObject,
  diag.superInvocationNotLast,
  diag.switchCaseCompletesNormally,
  diag.switchHasCaseAfterDefaultCase,
  diag.switchHasMultipleDefaultCases,
  diag.tearoffOfGenerativeConstructorOfAbstractClass,
  diag.textDirectionCodePointInComment,
  diag.textDirectionCodePointInLiteral,
  diag.throwOfInvalidType,
  diag.todo,
  diag.topLevelCycle,
  diag.topLevelOperator,
  diag.typeAliasCannotReferenceItself,
  diag.typeAnnotationDeferredClass,
  diag.typeArgumentNotMatchingBounds,
  diag.typeArgumentsOnTypeVariable,
  diag.typeBeforeFactory,
  diag.typeCheckIsNotNull,
  diag.typeCheckIsNull,
  diag.typeParameterOnConstructor,
  diag.typeParameterOnOperator,
  diag.typeParameterReferencedByStatic,
  diag.typeParameterSupertypeOfItsBound,
  diag.typeTestWithNonType,
  diag.typeTestWithUndefinedName,
  diag.typedefInClass,
  diag.unableGetContent,
  diag.uncheckedInvocationOfNullableValue,
  diag.uncheckedMethodInvocationOfNullableValue,
  diag.uncheckedOperatorInvocationOfNullableValue,
  diag.uncheckedPropertyAccessOfNullableValue,
  diag.uncheckedUseOfNullableValueAsCondition,
  diag.uncheckedUseOfNullableValueAsIterator,
  diag.uncheckedUseOfNullableValueInSpread,
  diag.uncheckedUseOfNullableValueInYieldEach,
  diag.undefinedAnnotation,
  diag.undefinedClass,
  diag.undefinedClassBoolean,
  diag.undefinedConstructorInInitializer,
  diag.undefinedConstructorInInitializerDefault,
  diag.undefinedEnumConstant,
  diag.undefinedEnumConstructorNamed,
  diag.undefinedEnumConstructorUnnamed,
  diag.undefinedExtensionGetter,
  diag.undefinedExtensionMethod,
  diag.undefinedExtensionOperator,
  diag.undefinedExtensionSetter,
  diag.undefinedFunction,
  diag.undefinedGetter,
  diag.undefinedGetterOnFunctionType,
  diag.undefinedHiddenName,
  diag.undefinedIdentifier,
  diag.undefinedIdentifierAwait,
  diag.undefinedLint,
  diag.undefinedMethod,
  diag.undefinedMethodOnFunctionType,
  diag.undefinedNamedParameter,
  diag.undefinedOperator,
  diag.undefinedPrefixedName,
  diag.undefinedReferencedParameter,
  diag.undefinedSetter,
  diag.undefinedSetterOnFunctionType,
  diag.undefinedShownName,
  diag.undefinedSuperGetter,
  diag.undefinedSuperMethod,
  diag.undefinedSuperOperator,
  diag.undefinedSuperSetter,
  diag.undone,
  diag.unexpectedDollarInString,
  diag.unexpectedSeparatorInNumber,
  diag.unexpectedTerminatorForParameterGroup,
  diag.unexpectedToken,
  diag.unexpectedTokens,
  diag.unignorableIgnore,
  diag.unknownPlatform,
  diag.unnecessaryCast,
  diag.unnecessaryCastPattern,
  diag.unnecessaryDevDependency,
  diag.unnecessaryFinal,
  diag.unnecessaryImport,
  diag.unnecessaryNanComparisonFalse,
  diag.unnecessaryNanComparisonTrue,
  diag.unnecessaryNoSuchMethod,
  diag.unnecessaryNonNullAssertion,
  diag.unnecessaryNullAssertPattern,
  diag.unnecessaryNullCheckPattern,
  diag.unnecessaryNullComparisonAlwaysNullFalse,
  diag.unnecessaryNullComparisonAlwaysNullTrue,
  diag.unnecessaryNullComparisonNeverNullFalse,
  diag.unnecessaryNullComparisonNeverNullTrue,
  diag.unnecessaryQuestionMark,
  diag.unnecessarySetLiteral,
  diag.unnecessaryTypeCheckFalse,
  diag.unnecessaryTypeCheckTrue,
  diag.unnecessaryWildcardPattern,
  diag.unqualifiedReferenceToNonLocalStaticMember,
  diag.unqualifiedReferenceToStaticMemberOfExtendedType,
  diag.unreachableSwitchCase,
  diag.unreachableSwitchDefault,
  diag.unrecognizedErrorCode,
  diag.unsupportedChromeOsFeature,
  diag.unsupportedChromeOsHardware,
  diag.unsupportedOperator,
  diag.unsupportedOptionWithLegalValue,
  diag.unsupportedOptionWithLegalValues,
  diag.unsupportedOptionWithoutValues,
  diag.unsupportedValue,
  diag.unterminatedMultiLineComment,
  diag.unterminatedStringLiteral,
  diag.unusedCatchClause,
  diag.unusedCatchStack,
  diag.unusedElement,
  diag.unusedElementParameter,
  diag.unusedField,
  diag.unusedFieldFromPrimaryConstructor,
  diag.unusedImport,
  diag.unusedLabel,
  diag.unusedLocalVariable,
  diag.unusedResult,
  diag.unusedResultWithMessage,
  diag.unusedShownName,
  diag.uriDoesNotExist,
  diag.uriDoesNotExistInDocImport,
  diag.uriHasNotBeenGenerated,
  diag.uriWithInterpolation,
  diag.useOfNativeExtension,
  diag.useOfVoidResult,
  diag.valuesDeclarationInEnum,
  diag.varAndType,
  diag.varAsTypeName,
  diag.varClass,
  diag.varEnum,
  diag.varReturnType,
  diag.varTypedef,
  diag.variableLengthArrayNotLast,
  diag.variablePatternKeywordInDeclarationContext,
  diag.variableTypeMismatch,
  diag.voidWithTypeArguments,
  diag.withBeforeExtends,
  diag.workspaceFieldNotList,
  diag.workspaceValueNotString,
  diag.workspaceValueNotSubdirectory,
  diag.wrongExplicitTypeParameterVarianceInSuperinterface,
  diag.wrongNumberOfParametersForOperator,
  diag.wrongNumberOfParametersForOperatorMinus,
  diag.wrongNumberOfParametersForSetter,
  diag.wrongNumberOfTypeArguments,
  diag.wrongNumberOfTypeArgumentsAnonymousFunction,
  diag.wrongNumberOfTypeArgumentsConstructor,
  diag.wrongNumberOfTypeArgumentsDotShorthandConstructor,
  diag.wrongNumberOfTypeArgumentsEnum,
  diag.wrongNumberOfTypeArgumentsExtension,
  diag.wrongNumberOfTypeArgumentsFunction,
  diag.wrongNumberOfTypeArgumentsMethod,
  diag.wrongSeparatorForPositionalParameter,
  diag.wrongTerminatorForParameterGroup,
  diag.wrongTypeParameterVarianceInSuperinterface,
  diag.wrongTypeParameterVariancePosition,
  diag.yieldEachInNonGenerator,
  diag.yieldEachOfInvalidType,
  diag.yieldInNonGenerator,
  diag.yieldOfInvalidType,
];

final sharedAnalyzerCodes = <DiagnosticCode>[
  diag.abstractClassMember,
  diag.abstractExternalField,
  diag.abstractFinalBaseClass,
  diag.abstractFinalInterfaceClass,
  diag.abstractLateField,
  diag.abstractSealedClass,
  diag.abstractStaticField,
  diag.annotationOnTypeArgument,
  diag.annotationSpaceBeforeParenthesis,
  diag.annotationWithTypeArguments,
  diag.annotationWithTypeArgumentsUninstantiated,
  diag.baseEnum,
  diag.binaryOperatorWrittenOut,
  diag.breakOutsideOfLoop,
  diag.catchSyntax,
  diag.catchSyntaxExtraParameters,
  diag.classInClass,
  diag.colonInPlaceOfIn,
  diag.conflictingModifiers,
  diag.constAndFinal,
  diag.constClass,
  diag.constFactory,
  diag.constMethod,
  diag.constWithoutPrimaryConstructor,
  diag.constructorWithReturnType,
  diag.constructorWithTypeArguments,
  diag.continueOutsideOfLoop,
  diag.continueWithoutLabelInCase,
  diag.covariantAndStatic,
  diag.covariantMember,
  diag.defaultInSwitchExpression,
  diag.deferredAfterPrefix,
  diag.directiveAfterDeclaration,
  diag.duplicateDeferred,
  diag.duplicateLabelInSwitchStatement,
  diag.duplicatePrefix,
  diag.duplicatedModifier,
  diag.emptyRecordLiteralWithComma,
  diag.emptyRecordTypeNamedFieldsList,
  diag.emptyRecordTypeWithComma,
  diag.enumInClass,
  diag.equalityCannotBeEqualityOperand,
  diag.expectedCatchClauseBody,
  diag.expectedClassBody,
  diag.expectedElseOrComma,
  diag.expectedExtensionBody,
  diag.expectedExtensionTypeBody,
  diag.expectedFinallyClauseBody,
  diag.expectedIdentifierButGotKeyword,
  diag.expectedInstead,
  diag.expectedMixinBody,
  diag.expectedSwitchExpressionBody,
  diag.expectedSwitchStatementBody,
  diag.expectedTryStatementBody,
  diag.experimentNotEnabled,
  diag.experimentNotEnabledOffByDefault,
  diag.exportDirectiveAfterPartDirective,
  diag.extensionAugmentationHasOnClause,
  diag.extensionDeclaresAbstractMember,
  diag.extensionDeclaresConstructor,
  diag.extensionTypeExtends,
  diag.extensionTypeWith,
  diag.externalClass,
  diag.externalConstructorWithFieldInitializers,
  diag.externalConstructorWithInitializer,
  diag.externalEnum,
  diag.externalFactoryRedirection,
  diag.externalFactoryWithBody,
  diag.externalLateField,
  diag.externalMethodWithBody,
  diag.externalTypedef,
  diag.extraneousModifier,
  diag.extraneousModifierInExtensionType,
  diag.extraneousModifierInPrimaryConstructor,
  diag.factoryConstructorNewName,
  diag.factoryTopLevelDeclaration,
  diag.fieldInitializedOutsideDeclaringClass,
  diag.fieldInitializerOutsideConstructor,
  diag.finalAndCovariant,
  diag.finalAndCovariantLateWithInitializer,
  diag.finalAndVar,
  diag.finalEnum,
  diag.finalMixin,
  diag.finalMixinClass,
  diag.functionTypedParameterVar,
  diag.getterConstructor,
  diag.illegalAssignmentToNonAssignable,
  diag.illegalPatternAssignmentVariableName,
  diag.illegalPatternIdentifierName,
  diag.illegalPatternVariableName,
  diag.implementsBeforeExtends,
  diag.implementsBeforeOn,
  diag.implementsBeforeWith,
  diag.importDirectiveAfterPartDirective,
  diag.initializedVariableInForEach,
  diag.interfaceEnum,
  diag.interfaceMixin,
  diag.interfaceMixinClass,
  diag.invalidAwaitInFor,
  diag.invalidConstantConstPrefix,
  diag.invalidConstantPatternBinary,
  diag.invalidConstantPatternDuplicateConst,
  diag.invalidConstantPatternEmptyRecordLiteral,
  diag.invalidConstantPatternGeneric,
  diag.invalidConstantPatternNegation,
  diag.invalidConstantPatternUnary,
  diag.invalidConstructorName,
  diag.invalidHexEscape,
  diag.invalidInitializer,
  diag.invalidInsideUnaryPattern,
  diag.invalidOperator,
  diag.invalidOperatorQuestionmarkPeriodForSuper,
  diag.invalidSuperInInitializer,
  diag.invalidThisInInitializer,
  diag.invalidUnicodeEscapeStarted,
  diag.invalidUnicodeEscapeUBracket,
  diag.invalidUnicodeEscapeUNoBracket,
  diag.invalidUnicodeEscapeUStarted,
  diag.invalidUseOfCovariantInExtension,
  diag.latePatternVariableDeclaration,
  diag.libraryDirectiveNotFirst,
  diag.literalWithClass,
  diag.literalWithClassAndNew,
  diag.literalWithNew,
  diag.memberWithClassName,
  diag.missingAssignableSelector,
  diag.missingAssignmentInInitializer,
  diag.missingCatchOrFinally,
  diag.missingConstFinalVarOrType,
  diag.missingExpressionInThrow,
  diag.missingInitializer,
  diag.missingKeywordOperator,
  diag.missingPrefixInDeferredImport,
  diag.missingPrimaryConstructor,
  diag.missingPrimaryConstructorParameters,
  diag.missingStatement,
  diag.mixinDeclaresConstructor,
  diag.mixinWithClause,
  diag.modifierOutOfOrder,
  diag.multipleClauses,
  diag.multipleExtendsClauses,
  diag.multipleLibraryDirectives,
  diag.multipleOnClauses,
  diag.multiplePartOfDirectives,
  diag.multipleVarianceModifiers,
  diag.multipleWithClauses,
  diag.nativeClauseShouldBeAnnotation,
  diag.newConstructorNewName,
  diag.newConstructorQualifiedName,
  diag.nullAwareCascadeOutOfOrder,
  diag.outOfOrderClauses,
  diag.patternAssignmentDeclaresVariable,
  diag.patternVariableDeclarationOutsideFunctionOrMethod,
  diag.prefixAfterCombinator,
  diag.recordLiteralOnePositionalNoTrailingComma,
  diag.recordTypeOnePositionalNoTrailingComma,
  diag.redirectingConstructorWithBody,
  diag.redirectionInNonFactoryConstructor,
  diag.sealedEnum,
  diag.sealedMixin,
  diag.sealedMixinClass,
  diag.setterConstructor,
  diag.stackOverflow,
  diag.staticConstructor,
  diag.staticOperator,
  diag.switchHasCaseAfterDefaultCase,
  diag.switchHasMultipleDefaultCases,
  diag.topLevelOperator,
  diag.typeArgumentsOnTypeVariable,
  diag.typeBeforeFactory,
  diag.typeParameterOnConstructor,
  diag.typeParameterOnOperator,
  diag.typedefInClass,
  diag.unexpectedTokens,
  diag.varAndType,
  diag.varAsTypeName,
  diag.varReturnType,
  diag.variablePatternKeywordInDeclarationContext,
  diag.voidWithTypeArguments,
  diag.withBeforeExtends,
];
@AnalyzerPublicApi(message: 'exported by lib/error/error.dart')
@Deprecated("Use 'diagnosticCodeValues' instead")
List<DiagnosticCode> get errorCodeValues => diagnosticCodeValues;
