You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactored `AnalyzerDiagnostics` and `SourceGeneratorDiagnostics` to use constants from the `Constants` class for diagnostic IDs and titles, reducing duplication and improving maintainability.
Added new constants to the `Constants` class for diagnostic IDs and titles, including:
- `OldLocalizationApiUsedId` and `OldLocalizationApiUsedTitle`
- `CouldNotFindResourceDictionariesId`
- `LocalizationKeyUnusedId`
- `EnumFieldLocalizationKeyValueInvalidId`
Updated the `SuppressWarning` constant to dynamically reference `OldLocalizationApiUsedId` and `OldLocalizationApiUsedTitle`.
Replaced hardcoded diagnostic strings with centralized constants, ensuring consistency and simplifying future updates.
0 commit comments