Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
dotNET Platform
runtime
提交
4a2a44a6
R
runtime
项目概览
dotNET Platform
/
runtime
12 个月 前同步成功
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
runtime
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
4a2a44a6
编写于
4月 23, 2021
作者:
S
Stephen Toub
提交者:
GitHub
4月 23, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update analyzer versions (#51696)
上级
288e73b1
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
18 addition
and
3 deletion
+18
-3
eng/CodeAnalysis.ruleset
eng/CodeAnalysis.ruleset
+8
-0
eng/CodeAnalysis.test.ruleset
eng/CodeAnalysis.test.ruleset
+7
-0
eng/Versions.props
eng/Versions.props
+3
-3
未找到文件。
eng/CodeAnalysis.ruleset
浏览文件 @
4a2a44a6
...
...
@@ -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>
eng/CodeAnalysis.test.ruleset
浏览文件 @
4a2a44a6
...
...
@@ -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 -->
...
...
eng/Versions.props
浏览文件 @
4a2a44a6
...
...
@@ -50,9 +50,9 @@
<MicrosoftCodeAnalysisVersion>3.8.0</MicrosoftCodeAnalysisVersion>
</PropertyGroup>
<PropertyGroup>
<MicrosoftCodeAnalysisNetAnalyzersVersion>6.0.0-preview
3.21168.1
</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftCodeAnalysisCSharpCodeStyleVersion>3.
9.0-5
.final</MicrosoftCodeAnalysisCSharpCodeStyleVersion>
<MicrosoftCodeAnalysisCSharpVersion>3.
9.0-5
.final</MicrosoftCodeAnalysisCSharpVersion>
<MicrosoftCodeAnalysisNetAnalyzersVersion>6.0.0-preview
5.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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录