Skip to content

Commit 907b59a

Browse files
[StyleCleanUp] Addressing SA warnings Part 1 (#10119)
* Update: Resolve SA1408 in src * Update: Resolve SA1404 in src * Update: Resolve SA1131 in src * Update src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/ObjectWriterContext.cs Co-authored-by: h3xds1nz <[email protected]> --------- Co-authored-by: h3xds1nz <[email protected]>
1 parent 4204efe commit 907b59a

File tree

12 files changed

+96
-105
lines changed

12 files changed

+96
-105
lines changed

src/Microsoft.DotNet.Wpf/src/.editorconfig

-9
Original file line numberDiff line numberDiff line change
@@ -317,21 +317,12 @@ dotnet_diagnostic.SA1121.severity = suggestion
317317
# SA1129: Do not use default value type constructor
318318
dotnet_diagnostic.SA1129.severity = suggestion
319319

320-
# SA1131: Constant values should appear on the right-hand side of comparisons
321-
dotnet_diagnostic.SA1131.severity = suggestion
322-
323320
# SA1206: Keyword ordering
324321
dotnet_diagnostic.SA1206.severity = suggestion
325322

326323
# SA1400: Member should declare an access modifier
327324
dotnet_diagnostic.SA1400.severity = suggestion
328325

329-
# SA1404: Code analysis suppression should have justification
330-
dotnet_diagnostic.SA1404.severity = suggestion
331-
332-
# SA1408: Conditional expressions should declare precedence
333-
dotnet_diagnostic.SA1408.severity = suggestion
334-
335326
# SA1500: Braces for multi-line statements should not share line
336327
dotnet_diagnostic.SA1500.severity = suggestion
337328

0 commit comments

Comments
 (0)