Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
eedfec87
R
roslyn
项目概览
lwm1986
/
roslyn
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roslyn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
eedfec87
编写于
7月 24, 2017
作者:
S
Sam Harwell
提交者:
GitHub
7月 24, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #21052 from sharwell/enable-analyzers
Enable analyzers on Roslyn.sln except for two very slow ones
上级
33380041
9a292b96
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
5 addition
and
14 deletion
+5
-14
build/Rulesets/Roslyn_BuildRules.ruleset
build/Rulesets/Roslyn_BuildRules.ruleset
+4
-4
build/Targets/Settings.props
build/Targets/Settings.props
+1
-4
src/Compilers/CSharp/CSharpCodeAnalysisRules.ruleset
src/Compilers/CSharp/CSharpCodeAnalysisRules.ruleset
+0
-3
src/Compilers/VisualBasic/BasicCodeAnalysisRules.ruleset
src/Compilers/VisualBasic/BasicCodeAnalysisRules.ruleset
+0
-3
未找到文件。
build/Rulesets/Roslyn_BuildRules.ruleset
浏览文件 @
eedfec87
...
...
@@ -93,8 +93,8 @@
<Rule
Id=
"RS0026"
Action=
"Error"
/>
<Rule
Id=
"RS0027"
Action=
"Error"
/>
</Rules>
<Rules
AnalyzerId=
"
System.Collections.Immutable.Analyzers"
RuleNamespace=
"System.Collections.Immutable.Analyzer
s"
>
<Rule
Id=
"RS0012"
Action=
"
Warning"
/
>
<Rules
AnalyzerId=
"
Microsoft.NetCore.Analyzers"
RuleNamespace=
"Microsoft.NetCore.Analyzers.ImmutableCollection
s"
>
<Rule
Id=
"RS0012"
Action=
"
None"
/>
<!-- Disabled for performance reasons: https://github.com/dotnet/roslyn/issues/21051 --
>
</Rules>
<Rules
AnalyzerId=
"System.Runtime.Analyzers"
RuleNamespace=
"System.Runtime.Analyzers"
>
<Rule
Id=
"CA1305"
Action=
"None"
/>
...
...
@@ -117,8 +117,8 @@
<Rule
Id=
"CA2101"
Action=
"None"
/>
<Rule
Id=
"RS0015"
Action=
"Warning"
/>
</Rules>
<Rules
AnalyzerId=
"
System.Threading.Tasks.Analyzers"
RuleNamespace=
"System.Threading.Tasks.Analyzer
s"
>
<Rule
Id=
"RS0018"
Action=
"
Warning"
/
>
<Rules
AnalyzerId=
"
Microsoft.NetCore.Analyzers"
RuleNamespace=
"Microsoft.NetCore.Analyzers.Task
s"
>
<Rule
Id=
"RS0018"
Action=
"
None"
/>
<!-- Disabled for performance reasons: https://github.com/dotnet/roslyn/issues/21051 --
>
</Rules>
<Rules
AnalyzerId=
"XmlDocumentationComments.Analyzers"
RuleNamespace=
"XmlDocumentationComments.Analyzers"
>
<Rule
Id=
"RS0010"
Action=
"Warning"
/>
...
...
build/Targets/Settings.props
浏览文件 @
eedfec87
...
...
@@ -24,10 +24,7 @@
Otherwise, it writes to the same file (GeneratedAssemblyInfoFile) as our GenerateAssemblyInfoFile target.
Follow-up issue to reconcile the two: https://github.com/dotnet/roslyn/issues/19645 -->
<GenerateAssemblyInfo>
false
</GenerateAssemblyInfo>
<!-- Disabling on developer builds until perf issue figured out
https://github.com/dotnet/roslyn/issues/21041 -->
<UseRoslynAnalyzers
Condition=
"'$(UseRoslynAnalyzers)' == '' AND '$(DeveloperBuild)' != 'true'"
>
true
</UseRoslynAnalyzers>
<UseRoslynAnalyzers
Condition=
"'$(UseRoslynAnalyzers)' == ''"
>
true
</UseRoslynAnalyzers>
<BaseOutputPath
Condition=
"'$(BaseOutputPath)' == ''"
>
$(RepoRoot)Binaries\
</BaseOutputPath>
<OutputPath>
$(BaseOutputPath)$(Configuration)\
</OutputPath>
<BaseIntermediateOutputPath
Condition=
"'$(BaseIntermediateOutputPath)' == ''"
>
$(RepoRoot)Binaries\Obj\
</BaseIntermediateOutputPath>
...
...
src/Compilers/CSharp/CSharpCodeAnalysisRules.ruleset
浏览文件 @
eedfec87
...
...
@@ -5,7 +5,4 @@
<Rules
AnalyzerId=
"Roslyn.Diagnostics.Analyzers.CSharp"
RuleNamespace=
"Roslyn.Diagnostics.Analyzers.CSharp"
>
<Rule
Id=
"RS0013"
Action=
"Warning"
/>
</Rules>
<Rules
AnalyzerId=
"Roslyn.Diagnostics.Analyzers.CSharp"
RuleNamespace=
"Roslyn.Diagnostics.Analyzers.CSharp"
>
<Rule
Id=
"RS0018"
Action=
"Error"
/>
</Rules>
</RuleSet>
\ No newline at end of file
src/Compilers/VisualBasic/BasicCodeAnalysisRules.ruleset
浏览文件 @
eedfec87
...
...
@@ -8,7 +8,4 @@
<Rules
AnalyzerId=
"Roslyn.Diagnostics.Analyzers.VisualBasic"
RuleNamespace=
"Roslyn.Diagnostics.Analyzers.VisualBasic"
>
<Rule
Id=
"RS0013"
Action=
"Warning"
/>
</Rules>
<Rules
AnalyzerId=
"Roslyn.Diagnostics.Analyzers.VisualBasic"
RuleNamespace=
"Roslyn.Diagnostics.Analyzers.VisualBasic"
>
<Rule
Id=
"RS0018"
Action=
"Error"
/>
</Rules>
</RuleSet>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录