Skip to content

Commit

Permalink
Add public API tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
atifaziz authored Mar 9, 2023
1 parent e6a2058 commit 498a5e7
Show file tree
Hide file tree
Showing 15 changed files with 3,393 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MoreLinq/Extensions.ToDataTable.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
//
// Source: https://github.com/dotnet/roslyn/blob/70e158ba6c2c99bd3c3fc0754af0dbf82a6d353d/docs/features/nullable-reference-types.md#generated-code

#pragma warning disable RS0041 // Public members should not use oblivious types

namespace MoreLinq.Extensions
{
using System;
Expand Down
2 changes: 2 additions & 0 deletions MoreLinq/Extensions.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
//
// Source: https://github.com/dotnet/roslyn/blob/70e158ba6c2c99bd3c3fc0754af0dbf82a6d353d/docs/features/nullable-reference-types.md#generated-code

#pragma warning disable RS0041 // Public members should not use oblivious types

namespace MoreLinq.Extensions
{
using System;
Expand Down
2 changes: 2 additions & 0 deletions MoreLinq/Flatten.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
// limitations under the License.
#endregion

#pragma warning disable RS0041 // Public members should not use oblivious types

namespace MoreLinq
{
using System;
Expand Down
9 changes: 9 additions & 0 deletions MoreLinq/MoreLinq.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.4">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
Expand Down Expand Up @@ -254,6 +258,11 @@
</Compile>
</ItemGroup>

<ItemGroup>
<AdditionalFiles Include="PublicAPI/$(TargetFramework)/PublicAPI.Shipped.txt" />
<AdditionalFiles Include="PublicAPI/$(TargetFramework)/PublicAPI.Unshipped.txt" />
</ItemGroup>

<Target Name="_CollectTextTemplates">
<ItemGroup>
<TextTemplate Include="%(None.Identity)" Condition="'%(None.Generator)' == 'TextTemplatingFileGenerator'">
Expand Down
678 changes: 678 additions & 0 deletions MoreLinq/PublicAPI/net462/PublicAPI.Shipped.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions MoreLinq/PublicAPI/net462/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#nullable enable
684 changes: 684 additions & 0 deletions MoreLinq/PublicAPI/net6.0/PublicAPI.Shipped.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions MoreLinq/PublicAPI/net6.0/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#nullable enable
647 changes: 647 additions & 0 deletions MoreLinq/PublicAPI/netstandard1.0/PublicAPI.Shipped.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions MoreLinq/PublicAPI/netstandard1.0/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#nullable enable
678 changes: 678 additions & 0 deletions MoreLinq/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions MoreLinq/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#nullable enable
684 changes: 684 additions & 0 deletions MoreLinq/PublicAPI/netstandard2.1/PublicAPI.Shipped.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions MoreLinq/PublicAPI/netstandard2.1/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#nullable enable
2 changes: 2 additions & 0 deletions bld/ExtensionsGenerator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,8 @@ public static partial class {m.Name}Extension
//
// Source: https://github.com/dotnet/roslyn/blob/70e158ba6c2c99bd3c3fc0754af0dbf82a6d353d/docs/features/nullable-reference-types.md#generated-code
#pragma warning disable RS0041 // Public members should not use oblivious types
namespace MoreLinq.Extensions
{{
{string.Join("\n", imports)}
Expand Down

0 comments on commit 498a5e7

Please sign in to comment.