Skip to content

Commit

Permalink
Add public API analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebakken committed Jul 25, 2024
1 parent 2014bf3 commit 104535f
Show file tree
Hide file tree
Showing 5 changed files with 556 additions and 9 deletions.
15 changes: 8 additions & 7 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,14 @@
<ItemGroup>
<!-- RabbitMQ.Amqp.Client -->
<PackageVersion Include="AMQPNetLite.Core" Version="2.4.11" />
<PackageVersion Include="EasyNetQ.Management.Client" Version="3.0.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.4" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.1.1" />
<PackageVersion Include="MinVer" Version="5.0.0" />
<!-- Tests -->
<PackageVersion Include="AltCover" Version="8.8.165" />
<PackageVersion Include="xunit" Version="2.9.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
<PackageVersion Include="Xunit.SkippableFact" Version="1.4.13" />
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
<!-- docs/**/*.csproj -->
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageVersion Include="EasyNetQ.Management.Client" Version="3.0.0" />
</ItemGroup>
<ItemGroup Label=".NET 6 Specific" Condition="'$(TargetFramework)' == 'net6.0'">
<!-- RabbitMQ.Amqp.Client -->
Expand All @@ -30,4 +26,9 @@
<!-- RabbitMQ.Amqp.Client -->
<PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="8.0.1" />
</ItemGroup>
</Project>
<ItemGroup Condition="'$(IsPackable)'=='true'">
<GlobalPackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.4" />
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<GlobalPackageReference Include="MinVer" Version="5.0.0" />
</ItemGroup>
</Project>
1 change: 0 additions & 1 deletion RabbitMQ.AMQP.Client/IConsumer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace RabbitMQ.AMQP.Client;


public class ConsumerException(string message) : Exception(message);
public delegate void MessageHandler(IContext context, IMessage message);

Expand Down
2 changes: 2 additions & 0 deletions RabbitMQ.AMQP.Client/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#nullable enable

Loading

0 comments on commit 104535f

Please sign in to comment.