-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix and suppress warnings due to upgrade of Roslyn
- Loading branch information
Mingzhe Huang (from Dev Box)
committed
Sep 7, 2023
1 parent
988cef0
commit 94bfbb0
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/dotnet/Azure.ClientSdk.Analyzers/shipping.globalconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# The warnings below are found after upgrading to Roslyn 4.7.0 | ||
# It should be able to fix them all. Suppressing them is just a temporary work-around. | ||
|
||
is_global = true | ||
|
||
# CS0618: 'IOperation.Children' is obsolete: 'This API has performance penalties, please use ChildOperations instead. | ||
dotnet_diagnostic.CS0618.severity = none | ||
|
||
# RS1031: The diagnostic title should not contain a period, nor any line return character, nor any leading or trailing whitespaces | ||
dotnet_diagnostic.RS1031.severity = none | ||
|
||
# RS1032: The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period | ||
dotnet_diagnostic.RS1032.severity = none | ||
|
||
# RS2008: Enable analyzer release tracking for the analyzer project containing rule 'XXX' | ||
dotnet_diagnostic.RS2008.severity = none | ||
|
||
# RS1024: Use 'SymbolEqualityComparer' when comparing symbols | ||
dotnet_diagnostic.RS1024.severity = none |