Skip to content

Commit ab1417a

Browse files
authored
address comments made after merging (#29435)
I received community comments on #29283 after merging. This fixes those issues.
1 parent f81655e commit ab1417a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/csharp/language-reference/compiler-options/errors-warnings.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ All warning messages are instead reported as errors. The build process halts (no
8181
8282
## WarningsAsErrors and WarningsNotAsErrors
8383

84-
The **WarningsAsErrors** and **WarningsNotAsErrors** options override the **TreatWarningsAsErrors** option for a list of warnings. This option can be used with all *CS* warnings. The "CS" prefix is optional. You can use either the number, or "CS" followed by the error or warning level. For other elements that affect warnings, see the [Common MSBuild properties](/visualstudio/msbuild/common-msbuild-project-properties).
84+
The **WarningsAsErrors** and **WarningsNotAsErrors** options override the **TreatWarningsAsErrors** option for a list of warnings. This option can be used with all *CS* warnings. The "CS" prefix is optional. You can use either the number, or "CS" followed by the error or warning number. For other elements that affect warnings, see the [Common MSBuild properties](/visualstudio/msbuild/common-msbuild-project-properties).
8585

8686
Enable warnings 0219 and 0168 as errors:
8787

@@ -139,7 +139,7 @@ You can specify the SARIF format using the `version` argument to the `ErrorLog`
139139
<ErrorLog>logVersion21.json,version=2.1</ErrorLog>
140140
```
141141

142-
The separator can be either a comma (`,`) or a semicolon (`;`). Valid values are for version are: "1", "2", and "2.1". The default is "1". "2" and "2.1" both mean SARIF version 2.1.0.
142+
The separator can be either a comma (`,`) or a semicolon (`;`). Valid values for version are: "1", "2", and "2.1". The default is "1". "2" and "2.1" both mean SARIF version 2.1.0.
143143

144144
## ReportAnalyzer
145145

@@ -152,4 +152,4 @@ Report additional analyzer information, such as execution time.
152152
The **ReportAnalyzer** option causes the compiler to emit extra MSBuild log information that details the performance characteristics of analyzers in the build. It's typically used by analyzer authors as part of validating the analyzer.
153153

154154
> [!IMPORTANT]
155-
> The extra log information generated by this flag is only generated when the `-verbosity:detailed` command line option is used. See the [swtiches](/visualstudio/msbuild/msbuild-command-line-reference#switches) article in the MSBuild documentation for more information.
155+
> The extra log information generated by this flag is only generated when the `-verbosity:detailed` command line option is used. See the [switches](/visualstudio/msbuild/msbuild-command-line-reference#switches) article in the MSBuild documentation for more information.

0 commit comments

Comments
 (0)