IDE0044 ("Make field readonly") produces false positives for fields with MEF [Import]/[ImportMany] attributes, since they're assigned at runtime via reflection. (See dotnet/roslyn#36266 (dotnet/roslyn#36266))
Proposal: Add a DiagnosticSuppressor to this package that suppresses IDE0044 for such fields. This is the intended Roslyn mechanism for cross-package suppression and fits naturally here since the package already ships MEF-specific analyzers (VSMEF001–012).
Impact: Without this, projects using MEF field injection with IDE0044 enabled either accumulate suppression pragmas or risk runtime failures if the suggestion is auto-applied.
IDE0044 ("Make field readonly") produces false positives for fields with MEF [Import]/[ImportMany] attributes, since they're assigned at runtime via reflection. (See dotnet/roslyn#36266 (dotnet/roslyn#36266))
Proposal: Add a DiagnosticSuppressor to this package that suppresses IDE0044 for such fields. This is the intended Roslyn mechanism for cross-package suppression and fits naturally here since the package already ships MEF-specific analyzers (VSMEF001–012).
Impact: Without this, projects using MEF field injection with IDE0044 enabled either accumulate suppression pragmas or risk runtime failures if the suggestion is auto-applied.