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
After replacing legacy FxCop/code-analysis with Microsoft.CodeAnalysis.NetAnalyzers v10.0.301, two different projects in our large solution (both .NET Framework 4.8, non-SDK-style) either hang indefinitely during build analysis or throw a StackOverflowException. Converting to SDK-style did not help. This appears to be a regression in the CA30xx interprocedural/taint-analysis rules.
Downgraded Microsoft.CodeAnalysis.NetAnalyzers to v7.0.4 (fixes Project A).
Added max_interprocedural_method_call_chain = 1 for CA3001/3002/3003/3006/3011 in .editorconfig (fixes Project B).
Converted projects to SDK-style (no effect).
Other standard mitigations (disable specific rules, build-mode toggles) were tested without full resolution.
Impact
High — builds are blocked (infinite hang or crash), affecting CI and developer productivity.
Request
Please investigate CA30xx interprocedural analysis in v10.0.301 for .NET Framework (non-SDK) projects. If this is a regression, provide a fix or recommended mitigation beyond downgrading to v7.0.4 or aggressively reducing max_interprocedural_method_call_chain. Guidance on safe defaults for large codebases would be appreciated.
Activity