Current implementation does not attempt to force enable analyzer rules that are IsEnabledByDefault = false. This forces the analyzers to have a test only path to force enable the rules for unit tests, see #29511 (comment). This issue tracks adding functionality to test framework to always enable all supported diagnostics reported by an analyzer during unit test.
Current implementation does not attempt to force enable analyzer rules that are
IsEnabledByDefault = false. This forces the analyzers to have a test only path to force enable the rules for unit tests, see #29511 (comment). This issue tracks adding functionality to test framework to always enable all supported diagnostics reported by an analyzer during unit test.