Skip to content

Commit 4538f98

Browse files
authored
Clarify generated code exclusions (#45986)
1 parent d38c745 commit 4538f98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/fundamentals/code-analysis/configuration-options.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ By default, files with certain file extensions or auto-generated file headers ar
6464
generated_code = true
6565
```
6666

67+
> [!NOTE]
68+
> Generated code files are excluded only from code analysis diagnostics. Other diagnostics, such as those from the C# compiler, aren't affected by this setting.
69+
6770
## Rule-specific options
6871

6972
Rule-specific options can be applied to a single rule, a set of rules, or all rules. The rule-specific options include:

0 commit comments

Comments
 (0)