Skip to content

Commit 498a5e7

Browse files
authored
Add public API tracking
1 parent e6a2058 commit 498a5e7

15 files changed

+3393
-0
lines changed

MoreLinq/Extensions.ToDataTable.g.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
//
2828
// Source: https://github.com/dotnet/roslyn/blob/70e158ba6c2c99bd3c3fc0754af0dbf82a6d353d/docs/features/nullable-reference-types.md#generated-code
2929

30+
#pragma warning disable RS0041 // Public members should not use oblivious types
31+
3032
namespace MoreLinq.Extensions
3133
{
3234
using System;

MoreLinq/Extensions.g.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
//
2828
// Source: https://github.com/dotnet/roslyn/blob/70e158ba6c2c99bd3c3fc0754af0dbf82a6d353d/docs/features/nullable-reference-types.md#generated-code
2929

30+
#pragma warning disable RS0041 // Public members should not use oblivious types
31+
3032
namespace MoreLinq.Extensions
3133
{
3234
using System;

MoreLinq/Flatten.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
// limitations under the License.
1616
#endregion
1717

18+
#pragma warning disable RS0041 // Public members should not use oblivious types
19+
1820
namespace MoreLinq
1921
{
2022
using System;

MoreLinq/MoreLinq.csproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@
152152
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
153153
<PrivateAssets>all</PrivateAssets>
154154
</PackageReference>
155+
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.4">
156+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
157+
<PrivateAssets>all</PrivateAssets>
158+
</PackageReference>
155159
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3">
156160
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
157161
<PrivateAssets>all</PrivateAssets>
@@ -254,6 +258,11 @@
254258
</Compile>
255259
</ItemGroup>
256260

261+
<ItemGroup>
262+
<AdditionalFiles Include="PublicAPI/$(TargetFramework)/PublicAPI.Shipped.txt" />
263+
<AdditionalFiles Include="PublicAPI/$(TargetFramework)/PublicAPI.Unshipped.txt" />
264+
</ItemGroup>
265+
257266
<Target Name="_CollectTextTemplates">
258267
<ItemGroup>
259268
<TextTemplate Include="%(None.Identity)" Condition="'%(None.Generator)' == 'TextTemplatingFileGenerator'">

MoreLinq/PublicAPI/net462/PublicAPI.Shipped.txt

Lines changed: 678 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable

MoreLinq/PublicAPI/net6.0/PublicAPI.Shipped.txt

Lines changed: 684 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable

MoreLinq/PublicAPI/netstandard1.0/PublicAPI.Shipped.txt

Lines changed: 647 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable

0 commit comments

Comments
 (0)