Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions eng/CodeAnalysis.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@
<Rule Id="SA1137" Action="None" /> <!-- Elements should have the same indentation -->
<Rule Id="SA1139" Action="None" /> <!-- Use literal suffix notation instead of casting -->
<Rule Id="SA1141" Action="Warning" /> <!-- Use tuple syntax -->
<Rule Id="SA1142" Action="Warning" /> <!-- Refer to tuple elements by name -->
Copy link
Contributor

@sharwell sharwell Dec 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💭 You might disable this one until the next release picks up DotNetAnalyzers/StyleCopAnalyzers#3229.

Since this rule was already disabled in the past, it's not going to be any worse here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll have a release out hopefully this weekend to pick up this change plus some others related to new C# 9 syntax.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've submitted #45644 for new release.

<Rule Id="SA1200" Action="None" /> <!-- Using directive should appear within a namespace declaration -->
<Rule Id="SA1201" Action="None" /> <!-- Elements should appear in the correct order -->
<Rule Id="SA1202" Action="None" /> <!-- Elements should be ordered by access -->
Expand Down
1 change: 1 addition & 0 deletions eng/CodeAnalysis.test.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@
<Rule Id="SA1137" Action="None" /> <!-- Elements should have the same indentation -->
<Rule Id="SA1139" Action="None" /> <!-- Use literal suffix notation instead of casting -->
<Rule Id="SA1141" Action="None" /> <!-- Use tuple syntax -->
<Rule Id="SA1142" Action="None" /> <!-- Refer to tuple elements by name -->
<Rule Id="SA1200" Action="None" /> <!-- Using directive should appear within a namespace declaration -->
<Rule Id="SA1201" Action="None" /> <!-- Elements should appear in the correct order -->
<Rule Id="SA1202" Action="None" /> <!-- Elements should be ordered by access -->
Expand Down
2 changes: 1 addition & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<!-- CoreClr dependencies -->
<MicrosoftNETCoreILAsmVersion>5.0.0-preview.8.20359.4</MicrosoftNETCoreILAsmVersion>
<!-- Libraries dependencies -->
<StyleCopAnalyzersVersion>1.2.0-beta.205</StyleCopAnalyzersVersion>
<StyleCopAnalyzersVersion>1.2.0-beta.261</StyleCopAnalyzersVersion>
<SystemBuffersVersion>4.5.1</SystemBuffersVersion>
<SystemCollectionsVersion>4.3.0</SystemCollectionsVersion>
<SystemCollectionsConcurrentVersion>4.3.0</SystemCollectionsConcurrentVersion>
Expand Down