未验证 提交 4a2a44a6 编写于 作者: S Stephen Toub 提交者: GitHub

Update analyzer versions (#51696)

上级 288e73b1
......@@ -66,6 +66,7 @@
<Rule Id="CA1401" Action="Warning" /> <!-- P/Invokes should not be visible -->
<Rule Id="CA1416" Action="Warning" /> <!-- Validate platform compatibility -->
<Rule Id="CA1417" Action="Warning" /> <!-- Do not use 'OutAttribute' on string parameters for P/Invokes -->
<Rule Id="CA1418" Action="Warning" /> <!-- Use valid platform string -->
<Rule Id="CA1501" Action="None" /> <!-- Avoid excessive inheritance -->
<Rule Id="CA1502" Action="None" /> <!-- Avoid excessive complexity -->
<Rule Id="CA1505" Action="None" /> <!-- Avoid unmaintainable code -->
......@@ -489,6 +490,8 @@
<Rule Id="IDE0090" Action="Hidden" /> <!-- UseNew -->
<Rule Id="IDE0100" Action="Hidden" /> <!-- RemoveRedundantEquality -->
<Rule Id="IDE0110" Action="Hidden" /> <!-- RemoveUnnecessaryDiscard -->
<Rule Id="IDE0120" Action="Hidden" /> <!-- SimplifyLINQExpression -->
<Rule Id="IDE0130" Action="Hidden" /> <!-- NamespaceDoesNotMatchFolderStructure -->
<Rule Id="IDE1001" Action="Hidden" /> <!-- AnalyzerChanged -->
<Rule Id="IDE1002" Action="Hidden" /> <!-- AnalyzerDependencyConflict -->
<Rule Id="IDE1003" Action="Hidden" /> <!-- MissingAnalyzerReference -->
......@@ -497,5 +500,10 @@
<Rule Id="IDE1006" Action="Hidden" /> <!-- NamingRule -->
<Rule Id="IDE1007" Action="Hidden" /> <!-- UnboundIdentifier -->
<Rule Id="IDE1008" Action="Hidden" /> <!-- UnboundConstructor -->
<Rule Id="IDE2000" Action="Hidden" /> <!-- MultipleBlankLines -->
<Rule Id="IDE2001" Action="Hidden" /> <!-- EmbeddedStatementsMustBeOnTheirOwnLine -->
<Rule Id="IDE2002" Action="Hidden" /> <!-- ConsecutiveBracesMustNotHaveBlankLinesBetweenThem -->
<Rule Id="IDE2003" Action="Hidden" /> <!-- ConsecutiveStatementPlacement -->
<Rule Id="IDE2004" Action="Hidden" /> <!-- BlankLineNotAllowedAfterConstructorInitializerColon -->
</Rules>
</RuleSet>
......@@ -489,6 +489,8 @@
<Rule Id="IDE0090" Action="Hidden" /> <!-- UseNew -->
<Rule Id="IDE0100" Action="Hidden" /> <!-- RemoveRedundantEquality -->
<Rule Id="IDE0110" Action="Hidden" /> <!-- RemoveUnnecessaryDiscard -->
<Rule Id="IDE0120" Action="Hidden" /> <!-- SimplifyLINQExpression -->
<Rule Id="IDE0130" Action="Hidden" /> <!-- NamespaceDoesNotMatchFolderStructure -->
<Rule Id="IDE1001" Action="Hidden" /> <!-- AnalyzerChanged -->
<Rule Id="IDE1002" Action="Hidden" /> <!-- AnalyzerDependencyConflict -->
<Rule Id="IDE1003" Action="Hidden" /> <!-- MissingAnalyzerReference -->
......@@ -497,6 +499,11 @@
<Rule Id="IDE1006" Action="Hidden" /> <!-- NamingRule -->
<Rule Id="IDE1007" Action="Hidden" /> <!-- UnboundIdentifier -->
<Rule Id="IDE1008" Action="Hidden" /> <!-- UnboundConstructor -->
<Rule Id="IDE2000" Action="Hidden" /> <!-- MultipleBlankLines -->
<Rule Id="IDE2001" Action="Hidden" /> <!-- EmbeddedStatementsMustBeOnTheirOwnLine -->
<Rule Id="IDE2002" Action="Hidden" /> <!-- ConsecutiveBracesMustNotHaveBlankLinesBetweenThem -->
<Rule Id="IDE2003" Action="Hidden" /> <!-- ConsecutiveStatementPlacement -->
<Rule Id="IDE2004" Action="Hidden" /> <!-- BlankLineNotAllowedAfterConstructorInitializerColon -->
</Rules>
<Rules AnalyzerId="xunit.analyzers" RuleNamespace="xunit.analyzers">
<Rule Id="xUnit1000" Action="Warning" /> <!-- Test classes must be public -->
......
......@@ -50,9 +50,9 @@
<MicrosoftCodeAnalysisVersion>3.8.0</MicrosoftCodeAnalysisVersion>
</PropertyGroup>
<PropertyGroup>
<MicrosoftCodeAnalysisNetAnalyzersVersion>6.0.0-preview3.21168.1</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftCodeAnalysisCSharpCodeStyleVersion>3.9.0-5.final</MicrosoftCodeAnalysisCSharpCodeStyleVersion>
<MicrosoftCodeAnalysisCSharpVersion>3.9.0-5.final</MicrosoftCodeAnalysisCSharpVersion>
<MicrosoftCodeAnalysisNetAnalyzersVersion>6.0.0-preview5.21219.2</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftCodeAnalysisCSharpCodeStyleVersion>3.10.0-2.final</MicrosoftCodeAnalysisCSharpCodeStyleVersion>
<MicrosoftCodeAnalysisCSharpVersion>3.10.0-2.final</MicrosoftCodeAnalysisCSharpVersion>
<!-- Arcade dependencies -->
<MicrosoftDotNetApiCompatVersion>6.0.0-beta.21221.1</MicrosoftDotNetApiCompatVersion>
<MicrosoftDotNetBuildTasksFeedVersion>6.0.0-beta.21221.1</MicrosoftDotNetBuildTasksFeedVersion>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册