Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/eng
diff options
context:
space:
mode:
authorAndy Gocke <andy@commentout.net>2021-03-31 09:43:23 +0300
committerGitHub <noreply@github.com>2021-03-31 09:43:23 +0300
commitdd7d70118b7146125781c830bbff47a8cb953f39 (patch)
tree44497e9560353b92d24512d110d596370b6554bb /eng
parent28d5013b48f1684cc305baa017b2b716230a1377 (diff)
Add codefix for RequiresUnreferencedCode (#1865)
Simple codefix that just adds RequiresUnreferencedCode to the containing method if a RequiresUnreferencedCode analyzer warning fires.
Diffstat (limited to 'eng')
-rw-r--r--eng/Build.props1
-rw-r--r--eng/Versions.props4
2 files changed, 3 insertions, 2 deletions
diff --git a/eng/Build.props b/eng/Build.props
index 737c13e43..b9f0ce1ee 100644
--- a/eng/Build.props
+++ b/eng/Build.props
@@ -9,6 +9,7 @@
<ProjectToBuild Condition="'$(DotNetBuildFromSource)' != 'true'" Include="$(RepoRoot)src\analyzer\analyzer.csproj" />
<ProjectToBuild Condition="'$(DotNetBuildFromSource)' != 'true'" Include="$(RepoRoot)test\ILLink.Tasks.Tests\ILLink.Tasks.Tests.csproj" />
<ProjectToBuild Include="$(RepoRoot)src\ILLink.RoslynAnalyzer\ILLink.RoslynAnalyzer.csproj" />
+ <ProjectToBuild Include="$(RepoRoot)src\ILLink.CodeFix\ILLink.CodeFixProvider.csproj" />
<ProjectToBuild Include="$(RepoRoot)test\ILLink.RoslynAnalyzer.Tests\ILLink.RoslynAnalyzer.Tests.csproj" />
<ProjectToBuild Include="$(RepoRoot)src\linker\ref\Mono.Linker.csproj" />
<ProjectToBuild Include="$(RepoRoot)src\tlens\tlens.csproj" />
diff --git a/eng/Versions.props b/eng/Versions.props
index f294c3464..b4d788b84 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -22,8 +22,8 @@
<MicrosoftBuildUtilitiesCoreVersion>16.10.0-preview-21112-04</MicrosoftBuildUtilitiesCoreVersion>
<MicrosoftDotNetApiCompatVersion>6.0.0-beta.21176.2</MicrosoftDotNetApiCompatVersion>
<MicrosoftDotNetCodeAnalysisVersion>6.0.0-beta.21105.12</MicrosoftDotNetCodeAnalysisVersion>
- <MicrosoftCodeAnalysisCSharpCodeStyleVersion>3.9.0-4.final</MicrosoftCodeAnalysisCSharpCodeStyleVersion>
- <MicrosoftCodeAnalysisCSharpWorkspacesVersion>3.7.0</MicrosoftCodeAnalysisCSharpWorkspacesVersion>
+ <MicrosoftCodeAnalysisCSharpCodeStyleVersion>3.9.0</MicrosoftCodeAnalysisCSharpCodeStyleVersion>
+ <MicrosoftCodeAnalysisCSharpWorkspacesVersion>3.9.0</MicrosoftCodeAnalysisCSharpWorkspacesVersion>
<MicrosoftCodeAnalysisCSharpAnalyzerTestingXunitVersion>1.0.1-beta1.*</MicrosoftCodeAnalysisCSharpAnalyzerTestingXunitVersion>
<!-- This controls the version of the cecil package, or the version of cecil in the project graph
when we build the cecil submodule. The reference assembly package will depend on this version of cecil.