Skip to content

Commit

Permalink
Pack errors
Browse files Browse the repository at this point in the history
  • Loading branch information
RikkiGibson committed Jun 9, 2023
1 parent 6b35413 commit d47ca0d
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 122 deletions.
51 changes: 25 additions & 26 deletions src/Compilers/CSharp/Portable/Errors/ErrorCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2192,32 +2192,31 @@ internal enum ErrorCode
ERR_ConstantValueOfTypeExpected = 9135,
ERR_UnsupportedPrimaryConstructorParameterCapturingRefAny = 9136,

// PROTOTYPE(ic): pack errors
ERR_InterceptorsFeatureNotEnabled = 27000,
ERR_InterceptorCannotBeGeneric = 27001,
ERR_InterceptorPathNotInCompilation = 27002,
ERR_InterceptorPathNotInCompilationWithCandidate = 27003,
ERR_InterceptorPositionBadToken = 27004,
ERR_InterceptorLineOutOfRange = 27005,
ERR_InterceptorCharacterOutOfRange = 27006,
ERR_InterceptorSignatureMismatch = 27007,
ERR_InterceptorPathNotInCompilationWithUnmappedCandidate = 27008,
ERR_InterceptorMethodMustBeOrdinary = 27009,
ERR_InterceptorMustReferToStartOfTokenPosition = 27010,
ERR_InterceptorMustHaveMatchingThisParameter = 27011,
ERR_InterceptorMustNotHaveThisParameter = 27012,
ERR_InterceptorFilePathCannotBeNull = 27013,
ERR_InterceptorNameNotInvoked = 27014,
ERR_InterceptorNonUniquePath = 27015,
ERR_DuplicateInterceptor = 27016,
WRN_InterceptorSignatureMismatch = 27017,
ERR_InterceptorNotAccessible = 27018,
ERR_InterceptorScopedMismatch = 27019,
ERR_InterceptorLineCharacterMustBePositive = 27020,
WRN_NullabilityMismatchInReturnTypeOnInterceptor = 27021,
WRN_NullabilityMismatchInParameterTypeOnInterceptor = 27022,
ERR_InterceptorCannotInterceptNameof = 27023,
ERR_InterceptorCannotUseUnmanagedCallersOnly = 27024,
ERR_InterceptorsFeatureNotEnabled = 9137,
ERR_InterceptorCannotBeGeneric = 9138,
ERR_InterceptorPathNotInCompilation = 9139,
ERR_InterceptorPathNotInCompilationWithCandidate = 9140,
ERR_InterceptorPositionBadToken = 9141,
ERR_InterceptorLineOutOfRange = 9142,
ERR_InterceptorCharacterOutOfRange = 9143,
ERR_InterceptorSignatureMismatch = 9144,
ERR_InterceptorPathNotInCompilationWithUnmappedCandidate = 9145,
ERR_InterceptorMethodMustBeOrdinary = 9146,
ERR_InterceptorMustReferToStartOfTokenPosition = 9147,
ERR_InterceptorMustHaveMatchingThisParameter = 9148,
ERR_InterceptorMustNotHaveThisParameter = 9149,
ERR_InterceptorFilePathCannotBeNull = 9150,
ERR_InterceptorNameNotInvoked = 9151,
ERR_InterceptorNonUniquePath = 9152,
ERR_DuplicateInterceptor = 9153,
WRN_InterceptorSignatureMismatch = 9154,
ERR_InterceptorNotAccessible = 9155,
ERR_InterceptorScopedMismatch = 9156,
ERR_InterceptorLineCharacterMustBePositive = 9157,
WRN_NullabilityMismatchInReturnTypeOnInterceptor = 9158,
WRN_NullabilityMismatchInParameterTypeOnInterceptor = 9159,
ERR_InterceptorCannotInterceptNameof = 9160,
ERR_InterceptorCannotUseUnmanagedCallersOnly = 9161,

#endregion

Expand Down
Loading

0 comments on commit d47ca0d

Please sign in to comment.