rea-analysis-optimization
MOmorluto/rea485k9,215 new stars in the last 7 days
Use when obsoleting or retiring RCS####, RR####, or RCF#### in roslynator, replacing an analyzer with another id, or when tempted to use IsObsolete on an Analyzer entry — analyzers use Status Obsolete, not IsObsolete.
Deprecation mechanism differs by artifact type. Wrong choice causes compile errors.
ObsoleteMessage naming successor)Status=Disabled for analyzers)IsObsolete="true")Not for: opt-in analyzers (IsEnabledByDefault=false is not deprecation).
| Artifact | Mechanism |
|---|---|
| Analyzer (default) | <Status>Obsolete</Status> + <ObsoleteMessage> |
| Analyzer (retire) | <Status>Disabled</Status> — burns id |
| Refactoring / RCF | IsObsolete="true" on XML element |
Full detail: references/mechanisms.md.
cd tools && pwsh ./generate_code.ps1*Tests.csStatus=Obsolete), refactorings/RCF (IsObsolete="true"). Delete the whole <Analyzer> block only when retiring with Status=Disableddotnet build + format verifyCHANGELOG.md under ### Changed| Mistake | Fix |
|---|---|
IsObsolete="true" on <Analyzer> | Use <Status>Obsolete</Status> + <ObsoleteMessage> — compile error otherwise |
Delete entire <Analyzer> block when superseding | Keep obsolete entry; remove implementation/tests only |
Status=Disabled with a successor | Use Obsolete + ObsoleteMessage |
Confuse with IsEnabledByDefault=false | Opt-in is not deprecation |
| Skip codegen after XML change | Descriptors/options pages stay stale |
MOmorluto/rea485k9,215 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
Diagnose hard bugs and performance regressions by building a feedback loop with tests or scripts.
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days