Skip to content

Commit

Permalink
[StyleCleanUp] Addressing SA warnings Part 1 (#10119)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
harshit7962 and h3xds1nz authored Dec 17, 2024
1 parent 4204efe commit 907b59a
Show file tree
Hide file tree
Showing 12 changed files with 96 additions and 105 deletions.
9 changes: 0 additions & 9 deletions src/Microsoft.DotNet.Wpf/src/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -317,21 +317,12 @@ dotnet_diagnostic.SA1121.severity = suggestion
# SA1129: Do not use default value type constructor
dotnet_diagnostic.SA1129.severity = suggestion

# SA1131: Constant values should appear on the right-hand side of comparisons
dotnet_diagnostic.SA1131.severity = suggestion

# SA1206: Keyword ordering
dotnet_diagnostic.SA1206.severity = suggestion

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

# SA1404: Code analysis suppression should have justification
dotnet_diagnostic.SA1404.severity = suggestion

# SA1408: Conditional expressions should declare precedence
dotnet_diagnostic.SA1408.severity = suggestion

# SA1500: Braces for multi-line statements should not share line
dotnet_diagnostic.SA1500.severity = suggestion

Expand Down
Loading

0 comments on commit 907b59a

Please sign in to comment.