Skip to content

Commit

Permalink
Use PolySharp to generate polyfill attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
jnyrup committed Oct 30, 2022
1 parent 0ef4c42 commit 823b721
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 76 deletions.
9 changes: 0 additions & 9 deletions Build/Build.cs
Expand Up @@ -143,9 +143,6 @@ class Build : NukeBuild
.EnableNoBuild()
.SetDataCollector("XPlat Code Coverage")
.SetResultsDirectory(TestResultsDirectory)
.AddRunSetting(
"DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.DoesNotReturnAttribute",
"DoesNotReturnAttribute")
.CombineWith(
projects,
(_, project) => _
Expand All @@ -168,9 +165,6 @@ class Build : NukeBuild
.SetTargetDirectory(TestResultsDirectory / "reports")
.AddReports(TestResultsDirectory / "**/coverage.cobertura.xml")
.AddReportTypes("HtmlInline_AzurePipelines_Dark", "lcov")
.SetClassFilters(
"-System.Diagnostics.CodeAnalysis.StringSyntaxAttribute",
"-System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute")
.SetAssemblyFilters("+FluentAssertions"));
string link = TestResultsDirectory / "reports" / "index.html";
Expand Down Expand Up @@ -199,9 +193,6 @@ class Build : NukeBuild
.EnableNoBuild()
.SetDataCollector("XPlat Code Coverage")
.SetResultsDirectory(TestResultsDirectory)
.AddRunSetting(
"DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.DoesNotReturnAttribute",
"DoesNotReturnAttribute")
.CombineWith(
testCombinations,
(_, v) => _.SetProjectFile(v.project).SetFramework(v.framework)));
Expand Down
17 changes: 0 additions & 17 deletions Src/FluentAssertions/DoesNotReturnAttribute.cs

This file was deleted.

1 change: 1 addition & 0 deletions Src/FluentAssertions/FluentAssertions.csproj
Expand Up @@ -55,6 +55,7 @@
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2022.1.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="PolySharp" Version="1.7.1" />
<None Include="..\FluentAssertions.png" Pack="true" Visible="false" PackagePath="" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
Expand Down
50 changes: 0 additions & 50 deletions Src/FluentAssertions/StringSyntaxAttribute.cs

This file was deleted.

0 comments on commit 823b721

Please sign in to comment.