Skip to content

Commit 5cefb0a

Browse files
Add PublicApi analyzer to SortingNetworks class library (#109)
Add Microsoft.CodeAnalysis.PublicApiAnalyzers 3.3.4 with all existing APIs listed in PublicAPI.Unshipped.txt. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3a71187 commit 5cefb0a

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#nullable enable
2+
SortingNetworks.SortingNetworkAttribute
3+
SortingNetworks.SortingNetworkAttribute.ElementType.get -> System.Type!
4+
SortingNetworks.SortingNetworkAttribute.Size.get -> int
5+
SortingNetworks.SortingNetworkAttribute.SortingNetworkAttribute(int size, System.Type! elementType) -> void

SortingNetworks/SortingNetworks.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
<IncludeBuildOutput>true</IncludeBuildOutput>
1313
</PropertyGroup>
1414

15+
<ItemGroup>
16+
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.4" PrivateAssets="all" />
17+
</ItemGroup>
18+
1519
<!-- Build the generator project (for packing), but don't reference its output -->
1620
<ItemGroup>
1721
<ProjectReference Include="..\SortingNetworks.Generators\SortingNetworks.Generators.csproj"

0 commit comments

Comments
 (0)