mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-12 02:30:29 +09:00
Address feedback on DiagnosticId changes (#105096)
See feedback in https://github.com/dotnet/runtime/pull/105049
This commit is contained in:
parent
6068519289
commit
6aa28625e3
1 changed files with 4 additions and 4 deletions
|
@ -187,7 +187,7 @@ namespace ILLink.Shared
|
||||||
_unused_DynamicallyAccessedMembersOnTypeReferencesCompilerGeneratedMemberOnBase = 2120,
|
_unused_DynamicallyAccessedMembersOnTypeReferencesCompilerGeneratedMemberOnBase = 2120,
|
||||||
RedundantSuppression = 2121,
|
RedundantSuppression = 2121,
|
||||||
TypeNameIsNotAssemblyQualified = 2122,
|
TypeNameIsNotAssemblyQualified = 2122,
|
||||||
_EndTrimAnalysisWarningsSentinel = 2123,
|
_EndTrimAnalysisWarningsSentinel,
|
||||||
|
|
||||||
// Single-file diagnostic ids.
|
// Single-file diagnostic ids.
|
||||||
AvoidAssemblyLocationInSingleFile = 3000,
|
AvoidAssemblyLocationInSingleFile = 3000,
|
||||||
|
@ -204,7 +204,7 @@ namespace ILLink.Shared
|
||||||
GenericRecursionCycle = 3054,
|
GenericRecursionCycle = 3054,
|
||||||
CorrectnessOfAbstractDelegatesCannotBeGuaranteed = 3055,
|
CorrectnessOfAbstractDelegatesCannotBeGuaranteed = 3055,
|
||||||
RequiresDynamicCodeOnStaticConstructor = 3056,
|
RequiresDynamicCodeOnStaticConstructor = 3056,
|
||||||
_EndAotAnalysisWarningsSentinel = 3057,
|
_EndAotAnalysisWarningsSentinel,
|
||||||
|
|
||||||
// Feature guard diagnostic ids.
|
// Feature guard diagnostic ids.
|
||||||
ReturnValueDoesNotMatchFeatureGuards = 4000,
|
ReturnValueDoesNotMatchFeatureGuards = 4000,
|
||||||
|
@ -229,9 +229,9 @@ namespace ILLink.Shared
|
||||||
2103 => MessageSubCategory.TrimAnalysis,
|
2103 => MessageSubCategory.TrimAnalysis,
|
||||||
2106 => MessageSubCategory.TrimAnalysis,
|
2106 => MessageSubCategory.TrimAnalysis,
|
||||||
2107 => MessageSubCategory.TrimAnalysis,
|
2107 => MessageSubCategory.TrimAnalysis,
|
||||||
>= 2109 and <= (int) DiagnosticId._EndTrimAnalysisWarningsSentinel => MessageSubCategory.TrimAnalysis,
|
>= 2109 and < (int) DiagnosticId._EndTrimAnalysisWarningsSentinel => MessageSubCategory.TrimAnalysis,
|
||||||
>= 3050 and <= 3052 => MessageSubCategory.AotAnalysis,
|
>= 3050 and <= 3052 => MessageSubCategory.AotAnalysis,
|
||||||
>= 3054 and <= (int) DiagnosticId._EndAotAnalysisWarningsSentinel => MessageSubCategory.AotAnalysis,
|
>= 3054 and < (int) DiagnosticId._EndAotAnalysisWarningsSentinel => MessageSubCategory.AotAnalysis,
|
||||||
_ => MessageSubCategory.None,
|
_ => MessageSubCategory.None,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue