Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review compiler errors/warnings to identify candidates for code fixes #23326

Closed
sharwell opened this issue Nov 21, 2017 · 5 comments
Closed

Review compiler errors/warnings to identify candidates for code fixes #23326

sharwell opened this issue Nov 21, 2017 · 5 comments
Labels
Milestone

Comments

@sharwell
Copy link
Member

We should enumerate all current diagnostics (errors/warnings) produced by the C# and VB compilers, and identify candidates for code fixes.

Filed in response to #23323, but definitely not the only time it's come up for me.

@gafter @kuhlenh

@AdamSpeight2008
Copy link
Contributor

Sounds like a good candidate for Up for Grabs Community contributions. Especially if reward targeted.

The great big C# and VB fixer upper challenge.

@MaStr11
Copy link
Contributor

MaStr11 commented Dec 21, 2017

I don't know if this is helpful but here you can find an Excel sheet with all C# compiler errors (extracted from ErrorCode.cs). I joined the CSharpResources.resx to get a description and looked up the corresponding github.com/dotnet/docs/tree/master/docs/csharp/language-reference/compiler-messages markdown file. I have also binged the error code like this site:stackoverflow.com cs1503 and took the number of matches as a score how often the error troubles customers. This sheet was created via a PowerQuery script but because it contains a bing API key I only published the raw data.

@sharwell
Copy link
Member Author

sharwell commented Dec 22, 2017

These are sorted by ID, but we can use the priority from the spreadsheet as the order to actually file issues.

Errors

Name ID Code Fix (issue or status)
ERR_NoMetadataFile CS0006
ERR_NoTypeDef CS0012
ERR_OutputWriteFailed CS0016
ERR_MultipleEntryPoints CS0017
ERR_BadBinaryOps CS0019
ERR_IntDivByZero CS0020
ERR_BadIndexLHS CS0021
ERR_BadIndexCount CS0022
ERR_BadUnaryOp CS0023
ERR_ThisInStaticMeth CS0026
ERR_ThisInBadContext CS0027
ERR_NoImplicitConv CS0029
ERR_NoExplicitConv CS0030
ERR_ConstOutOfRange CS0031
ERR_AmbigBinaryOps CS0034
ERR_AmbigUnaryOp CS0035
ERR_InAttrOnOutParam CS0036
ERR_ValueCantBeNull CS0037
ERR_NoExplicitBuiltinConv CS0039
ERR_BadVisReturnType CS0050
ERR_BadVisParamType CS0051
ERR_BadVisFieldType CS0052
ERR_BadVisPropertyType CS0053
ERR_BadVisIndexerReturn CS0054
ERR_BadVisIndexerParam CS0055
ERR_BadVisOpReturn CS0056
ERR_BadVisOpParam CS0057
ERR_BadVisDelegateReturn CS0058
ERR_BadVisDelegateParam CS0059
ERR_BadVisBaseClass CS0060
ERR_BadVisBaseInterface CS0061
ERR_EventNeedsBothAccessors CS0065
ERR_EventNotDelegate CS0066
ERR_InterfaceEventInitializer CS0068
ERR_EventPropertyInInterface CS0069
ERR_BadEventUsage CS0070
ERR_ExplicitEventFieldImpl CS0071
ERR_CantOverrideNonEvent CS0072
ERR_AddRemoveMustHaveBody CS0073
ERR_AbstractEventInitializer CS0074
ERR_PossibleBadNegCast CS0075
ERR_ReservedEnumerator CS0076
ERR_AsMustHaveReferenceType CS0077
ERR_BadEventUsageNoField CS0079
ERR_ConstraintOnlyAllowedOnGenericDecl CS0080
ERR_TypeParamMustBeIdentifier CS0081
ERR_MemberReserved CS0082
ERR_DuplicateParamName CS0100
ERR_DuplicateNameInNS CS0101
ERR_DuplicateNameInClass CS0102
ERR_NameNotInContext CS0103
ERR_AmbigContext CS0104
ERR_BadMemberFlag CS0106
ERR_BadMemberProtection CS0107
ERR_CircConstValue CS0110
ERR_MemberAlreadyExists CS0111
ERR_StaticNotVirtual CS0112
ERR_OverrideNotNew CS0113
ERR_OverrideNotExpected CS0115
ERR_NamespaceUnexpected CS0116
ERR_NoSuchMember CS0117
ERR_BadSKknown CS0118
ERR_BadSKunknown CS0119
ERR_ObjectRequired CS0120
ERR_AmbigCall CS0121
ERR_BadAccess CS0122
ERR_MethDelegateMismatch CS0123
ERR_RetObjectRequired CS0126
ERR_RetNoObjectRequired CS0127
ERR_LocalDuplicate CS0128
ERR_AssgLvalueExpected CS0131
ERR_StaticConstParam CS0132
ERR_NotConstantExpression CS0133
ERR_NotNullConstRefField CS0134
ERR_LocalIllegallyOverrides CS0136
ERR_BadUsingNamespace CS0138
ERR_NoBreakOrCont CS0139
ERR_DuplicateLabel CS0140
ERR_NoConstructors CS0143
ERR_NoNewAbstract CS0144
ERR_ConstValueRequired CS0145
ERR_CircularBase CS0146
ERR_BadDelegateConstructor CS0148
ERR_MethodNameExpected CS0149
ERR_ConstantExpected CS0150
ERR_V6SwitchGoverningTypeValueExpected CS0151
ERR_DuplicateCaseLabel CS0152
ERR_InvalidGotoCase CS0153
ERR_PropertyLacksGet CS0154
ERR_BadExceptionType CS0155
ERR_BadEmptyThrow CS0156
ERR_BadFinallyLeave CS0157
ERR_LabelShadow CS0158
ERR_LabelNotFound CS0159
ERR_UnreachableCatch CS0160
ERR_ReturnExpected CS0161
ERR_SwitchFallThrough CS0163
ERR_UseDefViolation CS0165
ERR_UseDefViolationField CS0170
ERR_UnassignedThis CS0171
ERR_AmbigQM CS0172
ERR_InvalidQM CS0173
ERR_NoBaseClass CS0174
ERR_BaseIllegal CS0175
ERR_ObjectProhibited CS0176
ERR_ParamUnassigned CS0177
ERR_InvalidArray CS0178
ERR_ExternHasBody CS0179
ERR_AbstractAndExtern CS0180
ERR_BadAttributeParamType CS0181
ERR_BadAttributeArgument CS0182
ERR_LockNeedsReference CS0185
ERR_NullNotValid CS0186
ERR_UseDefViolationThis CS0188
ERR_ArgsInvalid CS0190
ERR_AssgReadonly CS0191
ERR_RefReadonly CS0192
ERR_PtrExpected CS0193
ERR_PtrIndexSingle CS0196
ERR_AssgReadonlyStatic CS0198
ERR_RefReadonlyStatic CS0199
ERR_AssgReadonlyProp CS0200
ERR_IllegalStatement CS0201
ERR_BadGetEnumerator CS0202
ERR_TooManyLocals CS0204
ERR_AbstractBaseCall CS0205
ERR_RefProperty CS0206
ERR_ManagedAddr CS0208
ERR_BadFixedInitType CS0209
ERR_FixedMustInit CS0210
ERR_InvalidAddrOp CS0211
ERR_FixedNeeded CS0212
ERR_FixedNotNeeded CS0213
ERR_UnsafeNeeded CS0214
ERR_OpTFRetType CS0215
ERR_OperatorNeedsMatch CS0216
ERR_BadBoolOp CS0217
ERR_MustHaveOpTF CS0218
ERR_CheckedOverflow CS0220
ERR_ConstOutOfRangeChecked CS0221
ERR_BadVarargs CS0224
ERR_ParamsMustBeArray CS0225
ERR_IllegalArglist CS0226
ERR_IllegalUnsafe CS0227
ERR_AmbigMember CS0229
ERR_BadForeachDecl CS0230
ERR_ParamsLast CS0231
ERR_SizeofUnsafe CS0233
ERR_DottedTypeNameNotFoundInNS CS0234
ERR_FieldInitRefNonstatic CS0236
ERR_SealedNonOverride CS0238
ERR_CantOverrideSealed CS0239
ERR_VoidError CS0242
ERR_ConditionalOnOverride CS0243
ERR_PointerInAsOrIs CS0244
ERR_CallingFinalizeDeprecated CS0245
ERR_SingleTypeNameNotFound CS0246
ERR_NegativeStackAllocSize CS0247
ERR_NegativeArraySize CS0248
ERR_OverrideFinalizeDeprecated CS0249
ERR_CallingBaseFinalizeDeprecated CS0250
ERR_BadCastInFixed CS0254
ERR_StackallocInCatchFinally CS0255
ERR_VarargsLast CS0257
ERR_MissingPartial CS0260
ERR_PartialTypeKindConflict CS0261
ERR_PartialModifierConflict CS0262
ERR_PartialMultipleBases CS0263
ERR_PartialWrongTypeParams CS0264
ERR_PartialWrongConstraints CS0265
ERR_NoImplicitConvCast CS0266
ERR_PartialMisplaced CS0267
ERR_ImportedCircularBase CS0268
ERR_UseDefViolationOut CS0269
ERR_ArraySizeInDeclaration CS0270
ERR_InaccessibleGetter CS0271
ERR_InaccessibleSetter CS0272
ERR_InvalidPropertyAccessMod CS0273
ERR_DuplicatePropertyAccessMods CS0274
ERR_PropertyAccessModInInterface CS0275
ERR_AccessModMissingAccessor CS0276
ERR_UnimplementedInterfaceAccessor CS0277
ERR_FriendRefNotEqualToThis CS0281
ERR_BadConstType CS0283
ERR_NoNewTyvar CS0304
ERR_BadArity CS0305
ERR_BadTypeArgument CS0306
ERR_TypeArgsNotAllowed CS0307
ERR_HasNoTypeVars CS0308
ERR_NewConstraintNotSatisfied CS0310
ERR_GenericConstraintNotSatisfiedRefType CS0311
ERR_GenericConstraintNotSatisfiedNullableEnum CS0312
ERR_GenericConstraintNotSatisfiedNullableInterface CS0313
ERR_GenericConstraintNotSatisfiedTyVar CS0314
ERR_GenericConstraintNotSatisfiedValType CS0315
ERR_DuplicateGeneratedName CS0316
ERR_GlobalSingleTypeNameNotFound CS0400
ERR_NewBoundMustBeLast CS0401
ERR_TypeVarCantBeNull CS0403
ERR_AttributeCantBeGeneric CS0404
ERR_DuplicateBound CS0405
ERR_ClassBoundNotFirst CS0406
ERR_BadRetType CS0407
ERR_DuplicateConstraintClause CS0409
ERR_CantInferMethTypeArgs CS0411
ERR_LocalSameNameAsTypeParam CS0412
ERR_AsWithTypeVar CS0413
ERR_BadIndexerNameAttr CS0415
ERR_AttrArgWithTypeVars CS0416
ERR_NewTyvarWithArgs CS0417
ERR_AbstractSealedStatic CS0418
ERR_ComImportWithImpl CS0423
ERR_ComImportWithBase CS0424
ERR_ImplBadConstraints CS0425
ERR_DottedTypeNameNotFoundInAgg CS0426
ERR_MethGrpToNonDel CS0428
ERR_BadExternAlias CS0430
ERR_ColColWithTypeAlias CS0431
ERR_AliasNotFound CS0432
ERR_SameFullNameAggAgg CS0433
ERR_SameFullNameNsAgg CS0434
ERR_SameFullNameThisAggThisNs CS0438
ERR_ExternAfterElements CS0439
ERR_SealedStaticClass CS0441
ERR_PrivateAbstractAccessor CS0442
ERR_ValueExpected CS0443
ERR_UnboxNotLValue CS0445
ERR_AnonMethGrpInForEach CS0446
ERR_BadIncDecRetType CS0448
ERR_RefValBoundMustBeFirst CS0449
ERR_RefValBoundWithClass CS0450
ERR_NewBoundWithVal CS0451
ERR_RefConstraintNotSatisfied CS0452
ERR_ValConstraintNotSatisfied CS0453
ERR_CircularConstraint CS0454
ERR_BaseConstraintConflict CS0455
ERR_ConWithValCon CS0456
ERR_AmbigUDConv CS0457
ERR_OverrideWithConstraints CS0460
ERR_AmbigOverride CS0462
ERR_DecConstError CS0463
ERR_ExplicitImplParams CS0466
ERR_MethodImplementingAccessor CS0470
ERR_AbstractHasBody CS0500
ERR_ConcreteMissingBody CS0501
ERR_AbstractAndSealed CS0502
ERR_AbstractNotVirtual CS0503
ERR_StaticConstant CS0504
ERR_CantOverrideNonFunction CS0505
ERR_CantOverrideNonVirtual CS0506
ERR_CantChangeAccessOnOverride CS0507
ERR_CantChangeReturnTypeOnOverride CS0508
ERR_CantDeriveFromSealedType CS0509
ERR_AbstractInConcreteClass CS0513
ERR_StaticConstructorWithExplicitConstructorCall CS0514
ERR_StaticConstructorWithAccessModifiers CS0515
ERR_RecursiveConstructorCall CS0516
ERR_ObjectCallingBaseConstructor CS0517
ERR_PredefinedTypeNotFound CS0518
ERR_StructWithBaseConstructorCall CS0522
ERR_StructLayoutCycle CS0523
ERR_InterfacesCannotContainTypes CS0524
ERR_InterfacesCantContainFields CS0525
ERR_InterfacesCantContainConstructors CS0526
ERR_NonInterfaceInInterfaceList CS0527
ERR_DuplicateInterfaceInBaseList CS0528
ERR_CycleInInterfaceInheritance CS0529
ERR_InterfaceMemberHasBody CS0531
ERR_HidingAbstractMethod CS0533
ERR_UnimplementedAbstractMethod CS0534
ERR_UnimplementedInterfaceMember CS0535
ERR_ObjectCantHaveBases CS0537
ERR_ExplicitInterfaceImplementationNotInterface CS0538
ERR_InterfaceMemberNotFound CS0539
ERR_ClassDoesntImplementInterface CS0540
ERR_ExplicitInterfaceImplementationInNonClassOrStruct CS0541
ERR_MemberNameSameAsType CS0542
ERR_EnumeratorOverflow CS0543
ERR_CantOverrideNonProperty CS0544
ERR_NoGetToOverride CS0545
ERR_NoSetToOverride CS0546
ERR_PropertyCantHaveVoidType CS0547
ERR_PropertyWithNoAccessors CS0548
ERR_NewVirtualInSealed CS0549
ERR_ExplicitPropertyAddingAccessor CS0550
ERR_ExplicitPropertyMissingAccessor CS0551
ERR_ConversionWithInterface CS0552
ERR_ConversionWithBase CS0553
ERR_ConversionWithDerived CS0554
ERR_IdentityConversion CS0555
ERR_ConversionNotInvolvingContainedType CS0556
ERR_DuplicateConversionInClass CS0557
ERR_OperatorsMustBeStatic CS0558
ERR_BadIncDecSignature CS0559
ERR_BadUnaryOperatorSignature CS0562
ERR_BadBinaryOperatorSignature CS0563
ERR_BadShiftOperatorSignature CS0564
ERR_InterfacesCantContainOperators CS0567
ERR_StructsCantContainDefaultConstructor CS0568
ERR_CantOverrideBogusMethod CS0569
ERR_BindToBogus CS0570
ERR_CantCallSpecialMethod CS0571
ERR_BadTypeReference CS0572
ERR_FieldInitializerInStruct CS0573
ERR_BadDestructorName CS0574
ERR_OnlyClassesCanContainDestructors CS0575
ERR_ConflictAliasAndMember CS0576
ERR_ConditionalOnSpecialMethod CS0577
ERR_ConditionalMustReturnVoid CS0578
ERR_DuplicateAttribute CS0579
ERR_ConditionalOnInterfaceMethod CS0582
ERR_OperatorCantReturnVoid CS0590
ERR_InvalidAttributeArgument CS0591
ERR_AttributeOnBadSymbolType CS0592
ERR_FloatOverflow CS0594
ERR_InvalidReal CS0595
ERR_ComImportWithoutUuidAttribute CS0596
ERR_InvalidNamedArgument CS0599
ERR_DllImportOnInvalidMethod CS0601
ERR_FieldCantBeRefAny CS0610
ERR_ArrayElementCantBeRefAny CS0611
ERR_NotAnAttributeClass CS0616
ERR_BadNamedAttributeArgument CS0617
ERR_DeprecatedSymbolStr CS0619
ERR_IndexerCantHaveVoidType CS0620
ERR_VirtualPrivate CS0621
ERR_ArrayInitToNonArrayType CS0622
ERR_ArrayInitInBadPlace CS0623
ERR_MissingStructOffset CS0625
ERR_InterfaceImplementedByConditional CS0629
ERR_IllegalRefParam CS0631
ERR_BadArgumentToAttribute CS0633
ERR_StructOffsetOnBadStruct CS0636
ERR_StructOffsetOnBadField CS0637
ERR_AttributeUsageOnNonAttributeClass CS0641
ERR_DuplicateNamedAttributeArgument CS0643
ERR_DeriveFromEnumOrValueType CS0644
ERR_DefaultMemberOnIndexedType CS0646
ERR_BogusType CS0648
ERR_CStyleArray CS0650
ERR_AbstractAttributeClass CS0653
ERR_BadNamedAttributeArgumentType CS0655
ERR_MissingPredefinedMember CS0656
ERR_OutAttrOnRefParam CS0662
ERR_OverloadRefKind CS0663
ERR_LiteralDoubleCast CS0664
ERR_ProtectedInStruct CS0666
ERR_InconsistentIndexerNames CS0668
ERR_ComImportWithUserCtor CS0669
ERR_FieldCantHaveVoidType CS0670
ERR_SystemVoid CS0673
ERR_ExplicitParamArray CS0674
ERR_VolatileStruct CS0677
ERR_VolatileAndReadonly CS0678
ERR_AbstractField CS0681
ERR_BogusExplicitImpl CS0682
ERR_ExplicitMethodImplAccessor CS0683
ERR_ConditionalWithOutParam CS0685
ERR_AccessorImplementingMethod CS0686
ERR_AliasQualAsExpression CS0687
ERR_DerivingFromATyVar CS0689
ERR_DuplicateTypeParameter CS0692
ERR_TypeVariableSameAsParent CS0694
ERR_UnifyingInterfaceInstantiations CS0695
ERR_GenericDerivingFromAttribute CS0698
ERR_TyVarNotFoundInConstraint CS0699
ERR_BadBoundType CS0701
ERR_SpecialTypeAsBound CS0702
ERR_BadVisBound CS0703
ERR_LookupInTypeVariable CS0704
ERR_BadConstraintType CS0706
ERR_InstanceMemberInStaticClass CS0708
ERR_StaticBaseClass CS0709
ERR_ConstructorInStaticClass CS0710
ERR_DestructorInStaticClass CS0711
ERR_InstantiatingStaticClass CS0712
ERR_StaticDerivedFromNonObject CS0713
ERR_StaticClassInterfaceImpl CS0714
ERR_OperatorInStaticClass CS0715
ERR_ConvertToStaticClass CS0716
ERR_ConstraintIsStaticClass CS0717
ERR_GenericArgIsStaticClass CS0718
ERR_ArrayOfStaticClass CS0719
ERR_IndexerInStaticClass CS0720
ERR_ParameterIsStaticClass CS0721
ERR_ReturnTypeIsStaticClass CS0722
ERR_VarDeclIsStaticClass CS0723
ERR_BadEmptyThrowInFinally CS0724
ERR_InvalidSpecifier CS0726
ERR_ForwardedTypeInThisAssembly CS0729
ERR_ForwardedTypeIsNested CS0730
ERR_CycleInTypeForwarder CS0731
ERR_AssemblyNameOnNonModule CS0734
ERR_InvalidFwdType CS0735
ERR_CloseUnimplementedInterfaceMemberStatic CS0736
ERR_CloseUnimplementedInterfaceMemberNotPublic CS0737
ERR_CloseUnimplementedInterfaceMemberWrongReturnType CS0738
ERR_DuplicateTypeForwarder CS0739
ERR_ExpectedSelectOrGroup CS0742
ERR_ExpectedContextualKeywordOn CS0743
ERR_ExpectedContextualKeywordEquals CS0744
ERR_ExpectedContextualKeywordBy CS0745
ERR_InvalidAnonymousTypeMemberDeclarator CS0746
ERR_InvalidInitializerElementInitializer CS0747
ERR_InconsistentLambdaParameterUsage CS0748
ERR_PartialMethodInvalidModifier CS0750
ERR_PartialMethodOnlyInPartialClass CS0751
ERR_PartialMethodCannotHaveOutParameters CS0752
ERR_PartialMethodNotExplicit CS0754
ERR_PartialMethodExtensionDifference CS0755
ERR_PartialMethodOnlyOneLatent CS0756
ERR_PartialMethodOnlyOneActual CS0757
ERR_PartialMethodParamsDifference CS0758
ERR_PartialMethodMustHaveLatent CS0759
ERR_PartialMethodInconsistentConstraints CS0761
ERR_PartialMethodToDelegate CS0762
ERR_PartialMethodStaticDifference CS0763
ERR_PartialMethodUnsafeDifference CS0764
ERR_PartialMethodInExpressionTree CS0765
ERR_PartialMethodMustReturnVoid CS0766
ERR_ExplicitImplCollisionOnRefOut CS0767
ERR_IndirectRecursiveConstructorCall CS0768
ERR_ImplicitlyTypedVariableAssignedBadValue CS0815
ERR_ImplicitlyTypedVariableWithNoInitializer CS0818
ERR_ImplicitlyTypedVariableMultipleDeclarator CS0819
ERR_ImplicitlyTypedVariableAssignedArrayInitializer CS0820
ERR_ImplicitlyTypedLocalCannotBeFixed CS0821
ERR_ImplicitlyTypedVariableCannotBeConst CS0822
ERR_TypeVarNotFound CS0825
ERR_ImplicitlyTypedArrayNoBestType CS0826
ERR_AnonymousTypePropertyAssignedBadValue CS0828
ERR_ExpressionTreeContainsBaseAccess CS0831
ERR_ExpressionTreeContainsAssignment CS0832
ERR_AnonymousTypeDuplicatePropertyName CS0833
ERR_StatementLambdaToExpressionTree CS0834
ERR_ExpressionTreeMustHaveDelegate CS0835
ERR_AnonymousTypeNotAvailable CS0836
ERR_LambdaInIsAs CS0837
ERR_ExpressionTreeContainsMultiDimensionalArrayInitializer CS0838
ERR_MissingArgument CS0839
ERR_VariableUsedBeforeDeclaration CS0841
ERR_ExplicitLayoutAndAutoImplementedProperty CS0842
ERR_UnassignedThisAutoProperty CS0843
ERR_VariableUsedBeforeDeclarationAndHidesField CS0844
ERR_ExpressionTreeContainsBadCoalesce CS0845
ERR_ArrayInitializerExpected CS0846
ERR_ArrayInitializerIncorrectLength CS0847
ERR_ExpressionTreeContainsNamedArgument CS0853
ERR_ExpressionTreeContainsOptionalArgument CS0854
ERR_ExpressionTreeContainsIndexedProperty CS0855
ERR_IndexedPropertyRequiresParams CS0856
ERR_IndexedPropertyMustHaveAllOptionalParams CS0857
ERR_IdentifierExpected CS1001
ERR_SemicolonExpected CS1002
ERR_SyntaxError CS1003
ERR_DuplicateModifier CS1004
ERR_DuplicateAccessor CS1007
ERR_IntegralTypeExpected CS1008
ERR_IllegalEscape CS1009
ERR_NewlineInConst CS1010
ERR_EmptyCharConst CS1011
ERR_TooManyCharsInConst CS1012
ERR_InvalidNumber CS1013
ERR_GetOrSetExpected CS1014
ERR_ClassTypeExpected CS1015
ERR_NamedArgumentExpected CS1016
ERR_TooManyCatches CS1017
ERR_ThisOrBaseExpected CS1018
ERR_OvlUnaryOperatorExpected CS1019
ERR_OvlBinaryOperatorExpected CS1020
ERR_IntOverflow CS1021
ERR_EOFExpected CS1022
ERR_BadEmbeddedStmt CS1023
ERR_PPDirectiveExpected CS1024
ERR_EndOfPPLineExpected CS1025
ERR_CloseParenExpected CS1026
ERR_EndifDirectiveExpected CS1027
ERR_UnexpectedDirective CS1028
ERR_ErrorDirective CS1029
ERR_TypeExpected CS1031
ERR_PPDefFollowsToken CS1032
ERR_OpenEndedComment CS1035
ERR_OvlOperatorExpected CS1037
ERR_EndRegionDirectiveExpected CS1038
ERR_UnterminatedStringLit CS1039
ERR_BadDirectivePlacement CS1040
ERR_IdentifierExpectedKW CS1041
ERR_SemiOrLBraceExpected CS1043
ERR_MultiTypeInDeclaration CS1044
ERR_AddOrRemoveExpected CS1055
ERR_UnexpectedCharacter CS1056
ERR_ProtectedInStatic CS1057
ERR_IncrementLvalueExpected CS1059
ERR_NoSuchMemberOrExtension CS1061
ERR_DeprecatedCollectionInitAddStr CS1063
ERR_DefaultValueNotAllowed CS1065
ERR_PartialWrongTypeParamsVariance CS1067
ERR_GlobalSingleTypeNameNotFoundFwd CS1068
ERR_DottedTypeNameNotFoundInNSFwd CS1069
ERR_SingleTypeNameNotFoundFwd CS1070
ERR_UnexpectedToken CS1073
ERR_BadThisParam CS1100
ERR_BadTypeforThis CS1103
ERR_BadParamModThis CS1104
ERR_BadExtensionMeth CS1105
ERR_BadExtensionAgg CS1106
ERR_DupParamMod CS1107
ERR_ExtensionMethodsDecl CS1109
ERR_ExtensionAttrNotFound CS1110
ERR_ExplicitExtension CS1112
ERR_ValueTypeExtDelegate CS1113
ERR_BadArgCount CS1501
ERR_BadArgType CS1503
ERR_NoSourceFile CS1504
ERR_CantRefResource CS1507
ERR_ResourceNotUnique CS1508
ERR_ImportNonAssembly CS1509
ERR_RefLvalueExpected CS1510
ERR_BaseInStaticMeth CS1511
ERR_BaseInBadContext CS1512
ERR_RbraceExpected CS1513
ERR_LbraceExpected CS1514
ERR_InExpected CS1515
ERR_InvalidPreprocExpr CS1517
ERR_InvalidMemberDecl CS1519
ERR_MemberNeedsType CS1520
ERR_BadBaseType CS1521
ERR_ExpectedEndTry CS1524
ERR_InvalidExprTerm CS1525
ERR_BadNewExpr CS1526
ERR_NoNamespacePrivate CS1527
ERR_BadVarDecl CS1528
ERR_UsingAfterElements CS1529
ERR_BadBinOpArgs CS1534
ERR_BadUnOpArgs CS1535
ERR_NoVoidParameter CS1536
ERR_DuplicateAlias CS1537
ERR_BadProtectedAccess CS1540
ERR_AddModuleAssembly CS1542
ERR_BindToBogusProp2 CS1545
ERR_BindToBogusProp1 CS1546
ERR_NoVoidHere CS1547
ERR_IndexerNeedsParam CS1551
ERR_BadArraySyntax CS1552
ERR_BadOperatorSyntax CS1553
ERR_MainClassNotFound CS1555
ERR_MainClassNotClass CS1556
ERR_NoMainInClass CS1558
ERR_OutputNeedsName CS1562
ERR_CantHaveWin32ResAndManifest CS1564
ERR_CantHaveWin32ResAndIcon CS1565
ERR_CantReadResource CS1566
ERR_DocFileGen CS1569
ERR_BadStackAllocExpr CS1575
ERR_InvalidLineNumber CS1576
ERR_MissingPPFile CS1578
ERR_ForEachMissingMember CS1579
ERR_BadWin32Res CS1583
ERR_BadModifierLocation CS1585
ERR_MissingArraySize CS1586
ERR_BadDelArgCount CS1593
ERR_UnexpectedSemicolon CS1597
ERR_MethodReturnCantBeRefAny CS1599
ERR_CompileCancelled CS1600
ERR_MethodArgCantBeRefAny CS1601
ERR_AssgReadonlyLocal CS1604
ERR_RefReadonlyLocal CS1605
ERR_CantUseRequiredAttribute CS1608
ERR_NoModifiersOnAccessor CS1609
ERR_ParamsCantBeWithModifier CS1611
ERR_ReturnNotLValue CS1612
ERR_MissingCoClass CS1613
ERR_AmbiguousAttribute CS1614
ERR_BadArgExtraRef CS1615 #44187
ERR_BadCompatMode CS1617
ERR_DelegateOnConditional CS1618
ERR_CantMakeTempFile CS1619
ERR_BadArgRef CS1620
ERR_YieldInAnonMeth CS1621
ERR_ReturnInIterator CS1622
ERR_BadIteratorArgType CS1623
ERR_BadIteratorReturn CS1624
ERR_BadYieldInFinally CS1625
ERR_BadYieldInTryOfCatch CS1626
ERR_EmptyYield CS1627
ERR_AnonDelegateCantUse CS1628
ERR_IllegalInnerUnsafe CS1629
ERR_BadYieldInCatch CS1631
ERR_BadDelegateLeave CS1632
ERR_VarargsIterator CS1636
ERR_UnsafeIteratorArgType CS1637
ERR_BadCoClassSig CS1639
ERR_MultipleIEnumOfT CS1640
ERR_FixedDimsRequired CS1641
ERR_FixedNotInStruct CS1642
ERR_AnonymousReturnExpected CS1643
ERR_ExpectedVerbatimLiteral CS1646
ERR_AssgReadonly2 CS1648
ERR_RefReadonly2 CS1649
ERR_AssgReadonlyStatic2 CS1650
ERR_RefReadonlyStatic2 CS1651
ERR_AssgReadonlyLocal2Cause CS1654
ERR_RefReadonlyLocal2Cause CS1655
ERR_AssgReadonlyLocalCause CS1656
ERR_RefReadonlyLocalCause CS1657
ERR_AnonMethToNonDel CS1660
ERR_CantConvAnonMethParams CS1661
ERR_CantConvAnonMethReturns CS1662
ERR_IllegalFixedType CS1663
ERR_FixedOverflow CS1664
ERR_InvalidFixedArraySize CS1665
ERR_FixedBufferNotFixed CS1666
ERR_AttributeNotOnAccessor CS1667
ERR_IllegalVarArgs CS1669
ERR_IllegalParams CS1670
ERR_BadModifiersOnNamespace CS1671
ERR_BadPlatformType CS1672
ERR_ThisStructNotInAnonMeth CS1673
ERR_NoConvToIDisp CS1674
ERR_BadParamRef CS1676
ERR_BadParamExtraRef CS1677
ERR_BadParamType CS1678
ERR_BadExternIdentifier CS1679
ERR_AliasMissingFile CS1680
ERR_GlobalExternAlias CS1681
ERR_LocalCantBeFixedAndHoisted CS1686
ERR_CantConvAnonMethNoParams CS1688
ERR_ConditionalOnNonAttributeClass CS1689
ERR_DuplicateImport CS1703
ERR_DuplicateImportSimple CS1704
ERR_AssemblyMatchBadVersion CS1705
ERR_FixedNeedsLvalue CS1708
ERR_CantChangeTypeOnOverride CS1715
ERR_DoNotUseFixedBufferAttr CS1716
ERR_CantOpenWin32Res CS1719
ERR_NoMultipleInheritance CS1721
ERR_BaseClassMustBeFirst CS1722
ERR_FriendAssemblyBadArgs CS1725
ERR_FriendAssemblySNReq CS1726
ERR_DelegateOnNullable CS1728
ERR_BadCtorArgCount CS1729
ERR_GlobalAttributesNotFirst CS1730
ERR_ExpressionExpected CS1733
ERR_DefaultValueMustBeConstant CS1736
ERR_DefaultValueBeforeRequiredValue CS1737
ERR_NamedArgumentSpecificationBeforeFixedArgument CS1738
ERR_BadNamedArgument CS1739
ERR_DuplicateNamedArgument CS1740
ERR_RefOutDefaultValue CS1741
ERR_NamedArgumentForArray CS1742
ERR_DefaultValueForExtensionParameter CS1743
ERR_NamedArgumentUsedInPositional CS1744
ERR_DefaultValueUsedWithAttributes CS1745
ERR_BadNamedArgumentForDelegateInvoke CS1746
ERR_NoPIAAssemblyMissingAttribute CS1747
ERR_NoCanonicalView CS1748
ERR_NoConversionForDefaultParam CS1750
ERR_DefaultValueForParamsParameter CS1751
ERR_NewCoClassOnLink CS1752
ERR_NoPIANestedType CS1754
ERR_InteropTypeMissingAttribute CS1756
ERR_InteropStructContainsMethods CS1757
ERR_InteropTypesWithSameNameAndGuid CS1758
ERR_NoPIAAssemblyMissingAttributes CS1759
ERR_AssemblySpecifiedForLinkAndRef CS1760
ERR_LocalTypeNameClash CS1761
ERR_NotNullRefDefaultParameter CS1763
ERR_FixedLocalInLambda CS1764
ERR_MissingMethodOnSourceInterface CS1766
ERR_MissingSourceInterface CS1767
ERR_GenericsUsedInNoPIAType CS1768
ERR_GenericsUsedAcrossAssemblies CS1769
ERR_NoConversionForNubDefaultParam CS1770
ERR_InvalidSubsystemVersion CS1773
ERR_InteropMethodWithBody CS1774
ERR_BadWarningLevel CS1900
ERR_BadDebugType CS1902
ERR_BadResourceVis CS1906
ERR_DefaultValueTypeMustMatch CS1908
ERR_DefaultValueBadValueType CS1910
ERR_MemberAlreadyInitialized CS1912
ERR_MemberCannotBeInitialized CS1913
ERR_StaticMemberInObjectInitializer CS1914
ERR_ReadonlyValueTypeInObjectInitializer CS1917
ERR_ValueTypePropertyInObjectInitializer CS1918
ERR_UnsafeTypeInObjectCreation CS1919
ERR_EmptyElementInitializer CS1920
ERR_InitializerAddHasWrongSignature CS1921
ERR_CollectionInitRequiresIEnumerable CS1922
ERR_CantOpenWin32Manifest CS1926
ERR_BadInstanceArgType CS1929
ERR_QueryDuplicateRangeVariable CS1930
ERR_QueryRangeVariableOverrides CS1931
ERR_QueryRangeVariableAssignedBadValue CS1932
ERR_QueryNoProviderCastable CS1934
ERR_QueryNoProviderStandard CS1935
ERR_QueryNoProvider CS1936
ERR_QueryOuterKey CS1937
ERR_QueryInnerKey CS1938
ERR_QueryOutRefRangeVariable CS1939
ERR_QueryMultipleProviders CS1940
ERR_QueryTypeInferenceFailedMulti CS1941
ERR_QueryTypeInferenceFailed CS1942
ERR_QueryTypeInferenceFailedSelectMany CS1943
ERR_ExpressionTreeContainsPointerOp CS1944
ERR_ExpressionTreeContainsAnonymousMethod CS1945
ERR_AnonymousMethodToExpressionTree CS1946
ERR_QueryRangeVariableReadOnly CS1947
ERR_QueryRangeVariableSameAsTypeParam CS1948
ERR_TypeVarNotFoundRangeVariable CS1949
ERR_BadArgTypesForCollectionAdd CS1950
ERR_ByRefParameterInExpressionTree CS1951
ERR_VarArgsInExpressionTree CS1952
ERR_InitializerAddHasParamModifiers CS1954
ERR_NonInvocableMemberCalled CS1955
ERR_ObjectOrCollectionInitializerWithDelegateCreation CS1958
ERR_InvalidConstantDeclarationType CS1959
ERR_IllegalVarianceSyntax CS1960
ERR_UnexpectedVariance CS1961
ERR_BadDynamicTypeof CS1962
ERR_ExpressionTreeContainsDynamicOperation CS1963
ERR_BadDynamicConversion CS1964
ERR_DeriveFromDynamic CS1965
ERR_DeriveFromConstructedDynamic CS1966
ERR_DynamicTypeAsBound CS1967
ERR_ConstructedDynamicTypeAsBound CS1968
ERR_DynamicRequiredTypesMissing CS1969
ERR_ExplicitDynamicAttr CS1970
ERR_NoDynamicPhantomOnBase CS1971
ERR_NoDynamicPhantomOnBaseIndexer CS1972
ERR_BadArgTypeDynamicExtension CS1973
ERR_NoDynamicPhantomOnBaseCtor CS1975
ERR_BadDynamicMethodArgMemgrp CS1976
ERR_BadDynamicMethodArgLambda CS1977
ERR_BadDynamicMethodArg CS1978
ERR_BadDynamicQuery CS1979
ERR_DynamicAttributeMissing CS1980
ERR_BadAsyncReturn CS1983
ERR_BadAwaitInFinally CS1984
ERR_BadAwaitInCatch CS1985
ERR_BadAwaitArg CS1986
ERR_BadAsyncArgType CS1988
ERR_BadAsyncExpressionTree CS1989
ERR_MixingWinRTEventWithRegular CS1991
ERR_BadAwaitWithoutAsync CS1992
ERR_BadAsyncLacksBody CS1994
ERR_BadAwaitInQuery CS1995
ERR_BadAwaitInLock CS1996
ERR_TaskRetNoObjectRequired CS1997
ERR_FileNotFound CS2001
ERR_NoFileSpec CS2005
ERR_SwitchNeedsString CS2006
ERR_BadSwitch CS2007
ERR_OpenResponseFile CS2011
ERR_CantOpenFileWrite CS2012
ERR_BadBaseNumber CS2013
ERR_BinaryFile CS2015
ERR_NoMainOnDLL CS2017
ERR_InvalidFileAlignment CS2024
ERR_OneAliasPerReference CS2034
ERR_SwitchNeedsNumber CS2035
ERR_MissingDebugSwitch CS2036
ERR_ComRefCallInExpressionTree CS2037
ERR_InvalidFormatForGuidForOption CS2039
ERR_MissingGuidForOption CS2040
ERR_InvalidOutputName CS2041
ERR_InvalidDebugInformationFormat CS2042
ERR_LegacyObjectIdSyntax CS2043
ERR_SourceLinkRequiresPdb CS2044
ERR_CannotEmbedWithoutPdb CS2045
ERR_BadAwaitArgIntrinsic CS4001
ERR_BadAwaitAsIdentifier CS4003
ERR_AwaitInUnsafeContext CS4004
ERR_UnsafeAsyncArgType CS4005
ERR_VarargsAsync CS4006
ERR_ByRefTypeAndAwait CS4007
ERR_BadAwaitArgVoidCall CS4008
ERR_NonTaskMainCantBeAsync CS4009
ERR_CantConvAsyncAnonFuncReturns CS4010
ERR_BadAwaiterPattern CS4011
ERR_BadSpecialByRefLocal CS4012
ERR_SpecialByRefInLambda CS4013
ERR_SynchronizedAsyncMethod CS4015
ERR_BadAsyncReturnExpression CS4016
ERR_NoConversionForCallerLineNumberParam CS4017
ERR_NoConversionForCallerFilePathParam CS4018
ERR_NoConversionForCallerMemberNameParam CS4019
ERR_BadCallerLineNumberParamWithoutDefaultValue CS4020
ERR_BadCallerFilePathParamWithoutDefaultValue CS4021
ERR_BadCallerMemberNameParamWithoutDefaultValue CS4022
ERR_BadPrefer32OnLib CS4023
ERR_DoesntImplementAwaitInterface CS4027
ERR_BadAwaitArg_NeedSystem CS4028
ERR_CantReturnVoid CS4029
ERR_SecurityCriticalOrSecuritySafeCriticalOnAsync CS4030
ERR_SecurityCriticalOrSecuritySafeCriticalOnAsyncInClassOrStruct CS4031
ERR_BadAwaitWithoutAsyncMethod CS4032
ERR_BadAwaitWithoutVoidAsyncMethod CS4033
ERR_BadAwaitWithoutAsyncLambda CS4034
ERR_NoSuchMemberOrExtensionNeedUsing CS4036
ERR_NoEntryPoint CS5001
ERR_UnexpectedAliasedName CS7000
ERR_UnexpectedGenericName CS7002
ERR_UnexpectedUnboundGenericName CS7003
ERR_GlobalStatement CS7006
ERR_BadUsingType CS7007
ERR_ReservedAssemblyName CS7008
ERR_PPReferenceFollowsToken CS7009
ERR_ExpectedPPFile CS7010
ERR_ReferenceDirectiveOnlyAllowedInScripts CS7011
ERR_NameNotInContextPossibleMissingReference CS7012
ERR_MetadataNameTooLong CS7013
ERR_AttributesNotAllowed CS7014
ERR_ExternAliasNotAllowed CS7015
ERR_ConflictingAliasAndDefinition CS7016
ERR_GlobalDefinitionOrStatementExpected CS7017
ERR_ExpectedSingleScript CS7018
ERR_RecursivelyTypedVariable CS7019
ERR_YieldNotAllowedInScript CS7020
ERR_NamespaceNotAllowedInScript CS7021
ERR_StaticInAsOrIs CS7023
ERR_InvalidDelegateType CS7024
ERR_BadVisEventType CS7025
ERR_GlobalAttributesNotAllowed CS7026
ERR_PublicKeyFileFailure CS7027
ERR_PublicKeyContainerFailure CS7028
ERR_FriendRefSigningMismatch CS7029
ERR_CannotPassNullForFriendAssembly CS7030
ERR_SignButNoPrivateKey CS7032
ERR_InvalidVersionFormat CS7034
ERR_NoCorrespondingArgument CS7036
ERR_ModuleEmitFailure CS7038
ERR_ResourceFileNameNotUnique CS7041
ERR_DllImportOnGenericMethod CS7042
ERR_EncUpdateFailedMissingAttribute CS7043
ERR_ParameterNotValidForType CS7045
ERR_AttributeParameterRequired1 CS7046
ERR_AttributeParameterRequired2 CS7047
ERR_SecurityAttributeMissingAction CS7048
ERR_SecurityAttributeInvalidAction CS7049
ERR_SecurityAttributeInvalidActionAssembly CS7050
ERR_SecurityAttributeInvalidActionTypeOrMethod CS7051
ERR_PrincipalPermissionInvalidAction CS7052
ERR_FeatureNotValidInExpressionTree CS7053
ERR_MarshalUnmanagedTypeNotValidForFields CS7054
ERR_MarshalUnmanagedTypeOnlyValidForFields CS7055
ERR_PermissionSetAttributeInvalidFile CS7056
ERR_PermissionSetAttributeFileReadError CS7057
ERR_InvalidVersionFormat2 CS7058
ERR_InvalidAssemblyCultureForExe CS7059
ERR_DuplicateAttributeInNetModule CS7061
ERR_CantOpenIcon CS7064
ERR_ErrorBuildingWin32Resources CS7065
ERR_IteratorInInteractive CS7066
ERR_BadAttributeParamDefaultArgument CS7067
ERR_MissingTypeInSource CS7068
ERR_MissingTypeInAssembly CS7069
ERR_SecurityAttributeInvalidTarget CS7070
ERR_InvalidAssemblyName CS7071
ERR_NoTypeDefFromModule CS7079
ERR_InvalidDynamicCondition CS7083
ERR_WinRtEventPassedByRef CS7084
ERR_ByRefReturnUnsupported CS7085
ERR_NetModuleNameMismatch CS7086
ERR_BadModuleName CS7087
ERR_BadCompilationOptionValue CS7088
ERR_BadAppConfigPath CS7089
ERR_CmdOptionConflictsSource CS7091
ERR_FixedBufferTooManyDimensions CS7092
ERR_CantReadConfigFile CS7093
ERR_BadAwaitInCatchFilter CS7094
ERR_EncNoPIAReference CS7096
ERR_LinkedNetmoduleMetadataMustProvideFullPEImage CS7098
ERR_MetadataReferencesNotSupported CS7099
ERR_InvalidAssemblyCulture CS7100
ERR_EncReferenceToAddedMember CS7101
ERR_MutuallyExclusiveOptions CS7102
ERR_InvalidDebugInfo CS7103
ERR_InvalidSignaturePublicKey CS8003
ERR_ExportedTypeConflictsWithDeclaration CS8004
ERR_ExportedTypesConflict CS8005
ERR_ForwardedTypeConflictsWithDeclaration CS8006
ERR_ForwardedTypesConflict CS8007
ERR_ForwardedTypeConflictsWithExportedType CS8008
ERR_AgnosticToMachineModule CS8010
ERR_ConflictingMachineModule CS8011
ERR_CryptoHashFailed CS8013
ERR_MissingNetModuleReference CS8014
ERR_NetModuleNameMustBeUnique CS8015
ERR_UnsupportedTransparentIdentifierAccess CS8016
ERR_ParamDefaultValueDiffersFromAttribute CS8017
ERR_FeatureNotAvailableInVersion1 CS8022
ERR_FeatureNotAvailableInVersion2 CS8023
ERR_FeatureNotAvailableInVersion3 CS8024
ERR_FeatureNotAvailableInVersion4 CS8025
ERR_FeatureNotAvailableInVersion5 CS8026
ERR_FieldHasMultipleDistinctConstantValues CS8027
ERR_ComImportWithInitializers CS8028
ERR_RetNoObjectRequiredLambda CS8030
ERR_TaskRetNoObjectRequiredLambda CS8031
ERR_CantReadRulesetFile CS8035
ERR_BadPdbData CS8036
ERR_InitializerOnNonAutoProperty CS8050
ERR_AutoPropertyMustHaveGetAccessor CS8051
ERR_AutoPropertyInitializerInInterface CS8052
ERR_EnumsCantContainDefaultConstructor CS8054
ERR_EncodinglessSyntaxTree CS8055
ERR_BlockBodyAndExpressionBody CS8057
ERR_FeatureNotAvailableInVersion6 CS8059
ERR_SwitchFallOut CS8070
ERR_NullPropagatingOpInExpressionTree CS8072
ERR_DictionaryInitializerInExpressionTree CS8074
ERR_ExtensionCollectionElementInitializerInExpressionTree CS8075
ERR_UnclosedExpressionHole CS8076
ERR_SingleLineCommentInExpressionHole CS8077
ERR_InsufficientStack CS8078
ERR_UseDefViolationProperty CS8079
ERR_AutoPropertyMustOverrideSet CS8080
ERR_ExpressionHasNoName CS8081
ERR_SubexpressionNotInNameof CS8082
ERR_AliasQualifiedNameNotAnExpression CS8083
ERR_NameofMethodGroupWithTypeParameters CS8084
ERR_NoAliasHere CS8085
ERR_UnescapedCurly CS8086
ERR_EscapedCurly CS8087
ERR_TrailingWhitespaceInFormatSpecifier CS8088
ERR_EmptyFormatSpecifier CS8089
ERR_ErrorInReferencedAssembly CS8090
ERR_ExternHasConstructorInitializer CS8091
ERR_ExpressionOrDeclarationExpected CS8092
ERR_NameofExtensionMethod CS8093
ERR_ConstantStringTooLong CS8095
ERR_DebugEntryPointNotSourceMethodDefinition CS8096
ERR_LoadDirectiveOnlyAllowedInScripts CS8097
ERR_PPLoadFollowsToken CS8098
ERR_SourceFileReferencesNotSupported CS8099
ERR_BadAwaitInStaticVariableInitializer CS8100
ERR_InvalidPathMap CS8101
ERR_PublicSignButNoKey CS8102
ERR_TooManyUserStrings CS8103
ERR_PeWritingFailure CS8104
ERR_OptionMustBeAbsolutePath CS8106
ERR_FeatureNotAvailableInVersion7 CS8107
ERR_DynamicLocalFunctionParamsParameter CS8108
ERR_ExpressionTreeContainsLocalFunction CS8110
ERR_InvalidInstrumentationKind CS8111
ERR_LocalFunctionMissingBody CS8112
ERR_ThrowMisplaced CS8115
ERR_PatternNullableType CS8116
ERR_BadIsPatternExpression CS8117
ERR_SwitchExpressionValueExpected CS8119
ERR_PatternIsSubsumed CS8120
ERR_PatternWrongType CS8121
ERR_ExpressionTreeContainsIsMatch CS8122
ERR_TupleTooFewElements CS8124
ERR_TupleReservedElementName CS8125
ERR_TupleReservedElementNameAnyPosition CS8126
ERR_TupleDuplicateElementName CS8127
ERR_PredefinedTypeMemberNotFoundInAssembly CS8128
ERR_MissingDeconstruct CS8129
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable CS8130
ERR_DeconstructRequiresExpression CS8131
ERR_DeconstructWrongCardinality CS8132
ERR_CannotDeconstructDynamic CS8133
ERR_DeconstructTooFewElements CS8134
ERR_ConversionNotTupleCompatible CS8135
ERR_DeconstructionVarFormDisallowsSpecificType CS8136
ERR_TupleElementNamesAttributeMissing CS8137
ERR_ExplicitTupleElementNamesAttribute CS8138
ERR_CantChangeTupleNamesOnOverride CS8139
ERR_DuplicateInterfaceWithTupleNamesInBaseList CS8140
ERR_ImplBadTupleNames CS8141
ERR_PartialMethodInconsistentTupleNames CS8142
ERR_ExpressionTreeContainsTupleLiteral CS8143
ERR_ExpressionTreeContainsTupleConversion CS8144
ERR_AutoPropertyCannotBeRefReturning CS8145
ERR_RefPropertyMustHaveGetAccessor CS8146
ERR_RefPropertyCannotHaveSetAccessor CS8147
ERR_CantChangeRefReturnOnOverride CS8148
ERR_MustNotHaveRefReturn CS8149
ERR_MustHaveRefReturn CS8150
ERR_RefReturnMustHaveIdentityConversion CS8151
ERR_CloseUnimplementedInterfaceMemberWrongRefReturn CS8152
ERR_RefReturningCallInExpressionTree CS8153
ERR_BadIteratorReturnRef CS8154
ERR_BadRefReturnExpressionTree CS8155
ERR_RefReturnLvalueExpected CS8156
ERR_RefReturnNonreturnableLocal CS8157
ERR_RefReturnNonreturnableLocal2 CS8158
ERR_RefReturnRangeVariable CS8159
ERR_RefReturnReadonly CS8160
ERR_RefReturnReadonlyStatic CS8161
ERR_RefReturnReadonly2 CS8162
ERR_RefReturnReadonlyStatic2 CS8163
ERR_RefReturnParameter CS8166
ERR_RefReturnParameter2 CS8167
ERR_RefReturnLocal CS8168
ERR_RefReturnLocal2 CS8169
ERR_RefReturnStructThis CS8170
ERR_InitializeByValueVariableWithReference CS8171
ERR_InitializeByReferenceVariableWithValue CS8172
ERR_RefAssignmentMustHaveIdentityConversion CS8173
ERR_ByReferenceVariableMustBeInitialized CS8174
ERR_AnonDelegateCantUseLocal CS8175
ERR_BadIteratorLocalType CS8176
ERR_BadAsyncLocalType CS8177
ERR_RefReturningCallAndAwait CS8178
ERR_PredefinedValueTupleTypeNotFound CS8179
ERR_SemiOrLBraceOrArrowExpected CS8180
ERR_NewWithTupleTypeSyntax CS8181
ERR_PredefinedValueTupleTypeMustBeStruct CS8182
ERR_DiscardTypeInferenceFailed CS8183
ERR_MixedDeconstructionUnsupported CS8184
ERR_DeclarationExpressionNotPermitted CS8185
ERR_MustDeclareForeachIteration CS8186
ERR_TupleElementNamesInDeconstruction CS8187
ERR_ExpressionTreeContainsThrowExpression CS8188
ERR_DelegateRefMismatch CS8189
ERR_BadSourceCodeKind CS8190
ERR_BadDocumentationMode CS8191
ERR_BadLanguageVersion CS8192
ERR_ImplicitlyTypedOutVariableUsedInTheSameArgumentList CS8196
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable CS8197
ERR_ExpressionTreeContainsOutVariable CS8198
ERR_VarInvocationLvalueReserved CS8199
ERR_ExpressionVariableInConstructorOrFieldInitializer CS8200
ERR_ExpressionVariableInQueryClause CS8201
ERR_PublicSignNetModule CS8202
ERR_BadAssemblyName CS8203
ERR_BadAsyncMethodBuilderTaskProperty CS8204
ERR_AttributesInLocalFuncDecl CS8205
ERR_TypeForwardedToMultipleAssemblies CS8206
ERR_ExpressionTreeContainsDiscard CS8207
ERR_PatternDynamicType CS8208
ERR_VoidAssignment CS8209
ERR_VoidInTuple CS8210
ERR_Merge_conflict_marker_encountered CS8300
ERR_InvalidPreprocessingSymbol CS8301
ERR_FeatureNotAvailableInVersion7_1 CS8302
ERR_LanguageVersionCannotHaveLeadingZeroes CS8303
ERR_CompilerAndLanguageVersion CS8304
ERR_TupleInferredNamesNotAvailable CS8306
ERR_TypelessTupleInAs CS8307
ERR_NoRefOutWhenRefOnly CS8308
ERR_NoNetModuleOutputWhenRefOutOrRefOnly CS8309
ERR_BadOpOnNullOrDefault CS8310
ERR_BadDynamicMethodArgDefaultLiteral CS8311
ERR_DefaultLiteralNotValid CS8312
ERR_DefaultInSwitch CS8313
ERR_PatternWrongGenericTypeInVersion CS8314
ERR_AmbigBinaryOpsOnDefault CS8315
ERR_FeatureNotAvailableInVersion7_2 CS8320
ERR_DynamicLocalFunctionTypeParameter CS8322
ERR_BadNonTrailingNamedArgument CS8323
ERR_NamedArgumentSpecificationBeforeFixedArgumentInDynamicInvocation CS8324
ERR_RefConditionalAndAwait CS8325
ERR_RefConditionalNeedsTwoRefs CS8326
ERR_RefConditionalDifferentTypes CS8327
ERR_BadParameterModifiers CS8328
ERR_RefReadonlyNotField CS8329
ERR_RefReadonlyNotField2 CS8330
ERR_AssignReadonlyNotField CS8331
ERR_AssignReadonlyNotField2 CS8332
ERR_RefReturnReadonlyNotField CS8333
ERR_RefReturnReadonlyNotField2 CS8334
ERR_ExplicitReservedAttr CS8335
ERR_TypeReserved CS8336
ERR_RefExtensionMustBeValueTypeOrConstrainedToOne CS8337
ERR_InExtensionMustBeValueType CS8338
ERR_BadParameterModifiersOrder CS8339
ERR_FieldsInRoStruct CS8340
ERR_AutoPropsInRoStruct CS8341
ERR_FieldlikeEventsInRoStruct CS8342
ERR_RefStructInterfaceImpl CS8343
ERR_BadSpecialByRefIterator CS8344
ERR_FieldAutoPropCantBeByRefLike CS8345
ERR_StackAllocConversionNotPossible CS8346
ERR_EscapeCall CS8347
ERR_EscapeCall2 CS8348
ERR_EscapeOther CS8349
ERR_CallArgMixing CS8350
ERR_MismatchedRefEscapeInTernary CS8351
ERR_EscapeLocal CS8352
ERR_EscapeStackAlloc CS8353
ERR_RefReturnThis CS8354
ERR_OutAttrOnInParam CS8355
ERR_PredefinedValueTupleTypeAmbiguous3 CS8356
ERR_InvalidVersionFormatDeterministic CS8357
ERR_AttributeCtorInParameter CS8358
ERR_ConditionalInInterpolation CS8361
ERR_CantUseVoidInArglist CS8362
ERR_DefaultInPattern CS8363

Warnings

Name ID Code Fix (issue or status)
WRN_DeprecatedSymbolStr CS0618
WRN_SameFullNameThisAggAgg CS0436
WRN_UnobservedAwaitableExpression CS4014
WRN_UnassignedInternalField CS0649
WRN_MissingXMLComment CS1591
WRN_UnifyReferenceMajMin CS1701
WRN_UnreachableCode CS0162
WRN_ALinkWarn CS1607
WRN_AsyncLacksAwaits CS1998
WRN_NewRequired CS0108
WRN_NoSources CS2008
WRN_UnreferencedVarAssg CS0219
WRN_UnreferencedVar CS0168
WRN_UnreferencedField CS0169
WRN_UnreferencedFieldAssg CS0414
WRN_UnifyReferenceBldRev CS1702
WRN_BitwiseOrSignExtend CS0675
WRN_MultiplePredefTypes CS1685
WRN_NubExprIsConstBool CS0472
WRN_NewOrOverrideExpected CS0114
WRN_UnreferencedEvent CS0067
WRN_DeprecatedSymbol CS0612
WRN_CLS_ArrayArgumentToAttribute CS3016
WRN_CLS_BadFieldPropType CS3003
WRN_EqualsWithoutGetHashCode CS0659
WRN_TypeParameterSameAsOuterTypeParameter CS0693
WRN_ReferencedAssemblyReferencesLinkedPIA CS1762
WRN_FileAlreadyIncluded CS2002
WRN_XMLParseError CS1570
WRN_PossibleMistakenNullStatement CS0642
WRN_CLS_BadArgType CS3001
WRN_NewNotRequired CS0109
WRN_InvalidVersionFormat CS7035
WRN_CLS_NoVarArgs CS3000
WRN_CLS_BadReturnType CS3002
WRN_ConflictingMachineAssembly CS8012
WRN_AnalyzerCannotBeCreated CS8032
WRN_UnprocessedXMLComment CS1587
WRN_CLS_BadIdentifier CS3008
WRN_CLS_BadBase CS3009
WRN_ReferencedAssemblyDoesNotHaveStrongName CS8002
WRN_DuplicateUsing CS0105
WRN_BadXMLRef CS1574
WRN_CLS_AssemblyNotCLS2 CS3021
WRN_ProtectedInSealed CS0628
WRN_NonObsoleteOverridingObsolete CS0672
WRN_WarningDirective CS1030
WRN_ErrorOverride CS1658
WRN_CallOnNonAgileField CS1690
WRN_EqualityOpWithoutEquals CS0660
WRN_BadXMLRefSyntax CS1584
WRN_ConflictingChecksum CS1697
WRN_DotOnDefault CS1720
WRN_BadRefCompareLeft CS0252
WRN_AssignmentToSelf CS1717
WRN_InvalidMainSig CS0028
WRN_IsAlwaysFalse CS0184
WRN_BadRefCompareRight CS0253
WRN_AlwaysNull CS0458
WRN_ObsoleteOverridingNonObsolete CS0809
WRN_UnmatchedParamTag CS1572
WRN_ComparisonToSelf CS1718
WRN_CLS_BadIdentifierCase CS3005
WRN_EqualityOpWithoutGetHashCode CS0661
WRN_InvalidSearchPathDir CS1668
WRN_DynamicDispatchToConditionalMethod CS1974
WRN_BadUILang CS2038
WRN_CallerMemberNameParamForUnconsumedLocation CS4026
WRN_NoRuntimeMetadataVersion CS8021
WRN_UnableToLoadAnalyzer CS8034
WRN_ByRefNonAgileField CS0197
WRN_SameFullNameThisAggNs CS0437
WRN_AssignmentToLockOrDispose CS0728
WRN_InvalidAssemblyName CS1700
WRN_UnmatchedParamRefTag CS1734
WRN_UnmatchedTypeParamRefTag CS1735
WRN_CLS_OverloadRefOut CS3006
WRN_CLS_AssemblyNotCLS CS3014
WRN_SameFullNameThisNsAgg CS0435
WRN_CmpAlwaysFalse CS0464
WRN_IncorrectBooleanAssg CS0665
WRN_DefaultValueForUnconsumedLocation CS1066
WRN_EmptySwitch CS1522
WRN_MissingParamTag CS1573
WRN_BadXMLRefTypeVar CS1723
WRN_CLS_BadInterface CS3027
WRN_UnimplementedCommandLineSwitch CS8001
WRN_NubExprIsConstBool2 CS8073
WRN_UnreferencedLabel CS0164
WRN_IsAlwaysTrue CS0183
WRN_AmbiguousXMLReference CS0419
WRN_FinalizeMethod CS0465
WRN_DeprecatedCollectionInitAdd CS1064
WRN_CLS_BadTypeVar CS3024
WRN_CLS_VolatileField CS3026
WRN_PatternStaticOrInaccessible CS0279
WRN_MainCantBeGeneric CS0402
WRN_ExternMethodNoImplementation CS0626
WRN_AttributeLocationOnBadDeclaration CS0657
WRN_InvalidAttributeLocation CS0658
WRN_UnreachableGeneralCatch CS1058
WRN_DuplicateParamTag CS1571
WRN_BadXMLRefParamType CS1580
WRN_InvalidInclude CS1590
WRN_InvalidNumber CS1692
WRN_CLS_NoAbstractMembers CS3011
WRN_CLS_ModuleMissingCLS CS3013
WRN_CLS_NotOnModules2 CS3017
WRN_PdbLocalNameTooLong CS8029
WRN_LowercaseEllSuffix CS0078
WRN_PatternIsAmbiguous CS0278
WRN_SequentialOnPartialClass CS0282
WRN_VolatileByRef CS0420
WRN_GlobalAliasDefn CS0440
WRN_GotoCaseShouldConvert CS0469
WRN_VacuousIntegralComp CS0652
WRN_DebugFullNameTooLong CS0811
WRN_BadXMLRefReturnType CS1581
WRN_XMLParseIncludeError CS1592
WRN_CmdOptionConflictsSource CS1616
WRN_IllegalPragma CS1633
WRN_BadRestoreNumber CS1635
WRN_IllegalPPChecksum CS1695
WRN_CantHaveManifestForModule CS1927
WRN_MultipleRuntimeImplementationMatches CS1956
WRN_IsDynamicIsConfusing CS1981
WRN_DefineIdentifierRequired CS2029
WRN_CLS_BadAttributeType CS3015
WRN_CLS_MeaninglessOnPrivateType CS3019
WRN_CallerLineNumberParamForUnconsumedLocation CS4024
WRN_DelaySignButNoKey CS7033
WRN_AssemblyAttributeFromModuleIsOverridden CS7090
WRN_RefCultureMismatch CS8009
WRN_TupleLiteralNameMismatch CS8123
WRN_NegativeArrayIndex CS0251
WRN_PatternBadSignature CS0280
WRN_ExplicitImplCollision CS0473
WRN_CoClassWithoutComImport CS0684
WRN_ExternCtorNoImplementation CS0824
WRN_DeprecatedCollectionInitAddStr CS1062
WRN_IdentifierOrNumericLiteralExpected CS1072
WRN_FailedInclude CS1589
WRN_IllegalPPWarning CS1634
WRN_NonECMAFeature CS1645
WRN_TooManyLinesForDebugger CS1687
WRN_EndOfPPLineExpected CS1696
WRN_DuplicateTypeParamTag CS1710
WRN_UnmatchedTypeParamTag CS1711
WRN_MissingTypeParamTag CS1712
WRN_MultipleRuntimeOverrideMatches CS1957
WRN_NoConfigNotOnCommandLine CS2023
WRN_CLS_OverloadUnnamed CS3007
WRN_CLS_BadInterfaceMember CS3010
WRN_CLS_NotOnModules CS3012
WRN_CLS_IllegalTrueInFalse CS3018
WRN_CLS_MeaninglessOnParam CS3022
WRN_CLS_MeaninglessOnReturn CS3023
WRN_CallerFilePathParamForUnconsumedLocation CS4025
WRN_MainIgnored CS7022
WRN_CallerFilePathPreferredOverCallerMemberName CS7080
WRN_CallerLineNumberPreferredOverCallerMemberName CS7081
WRN_CallerLineNumberPreferredOverCallerFilePath CS7082
WRN_FilterIsConstantTrue CS7095
WRN_UnqualifiedNestedTypeInCref CS8018
WRN_NoAnalyzerInAssembly CS8033
WRN_AlignmentMagnitude CS8094
WRN_AttributeIgnoredWhenPublicSigning CS8105
WRN_Experimental CS8305
WRN_UnreferencedLocalFunction CS8321
WRN_FilterIsConstantFalse CS8359
WRN_FilterIsConstantFalseRedundantTryCatch CS8360

Other

Name ID Code Fix (issue or status)
FTL_MetadataCantOpenFile CS0009
FTL_BadCodepage CS2016
HDN_UnusedUsingDirective CS8019
FTL_DebugEmitFailure CS0041
FTL_InvalidTarget CS2019
FTL_InputFileNameTooLong CS2021
FTL_OutputFileExists CS2033
FTL_BadChecksumAlgorithm CS3028
HDN_UnusedExternAlias CS8020
INF_UnableToLoadSomeTypesInAnalyzer CS8040

@Neme12
Copy link
Contributor

Neme12 commented Sep 30, 2018

@sharwell That list is very nice, but it's a bit empty. Do you think it would be a good idea to put that somewhere in the Roslyn repo as a markdown file (maybe /docs/ide) so that anyone could contribute to it, either by linking to an issue they created or a code fix?

Perhaps that file could also link to the spreadsheet.

@CyrusNajmabadi
Copy link
Member

Closing as speculative.

@CyrusNajmabadi CyrusNajmabadi closed this as not planned Won't fix, can't repro, duplicate, stale Oct 21, 2024
@dotnet dotnet locked and limited conversation to collaborators Oct 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

7 participants