Skip to content

Commit 39d6f15

Browse files
authored
Merge pull request #929 from rabbitmq/lrb-update-dependencies
Update dependencies to latest versions
2 parents bef2029 + 6f20732 commit 39d6f15

File tree

4 files changed

+23
-8
lines changed

4 files changed

+23
-8
lines changed

projects/RabbitMQ.Client/RabbitMQ.Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<ItemGroup>
5656
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
5757
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
58-
<PackageReference Include="MinVer" Version="2.2.0" PrivateAssets="All" />
58+
<PackageReference Include="MinVer" Version="2.3.0" PrivateAssets="All" />
5959
<PackageReference Include="System.Memory" Version="4.5.4" />
6060
<PackageReference Include="System.Threading.Channels" Version="4.7.1" />
6161
</ItemGroup>

projects/Unit/APIApproval.Approve.verified.txt

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ namespace RabbitMQ.Client
3131
public override bool Equals(object obj) { }
3232
public override int GetHashCode() { }
3333
public override string ToString() { }
34-
public static bool !=(RabbitMQ.Client.AmqpTimestamp left, RabbitMQ.Client.AmqpTimestamp right) { }
35-
public static bool ==(RabbitMQ.Client.AmqpTimestamp left, RabbitMQ.Client.AmqpTimestamp right) { }
34+
public static bool operator !=(RabbitMQ.Client.AmqpTimestamp left, RabbitMQ.Client.AmqpTimestamp right) { }
35+
public static bool operator ==(RabbitMQ.Client.AmqpTimestamp left, RabbitMQ.Client.AmqpTimestamp right) { }
3636
}
3737
public class AsyncDefaultBasicConsumer : RabbitMQ.Client.IAsyncBasicConsumer, RabbitMQ.Client.IBasicConsumer
3838
{
@@ -684,18 +684,22 @@ namespace RabbitMQ.Client.Events
684684
}
685685
namespace RabbitMQ.Client.Exceptions
686686
{
687+
[System.Serializable]
687688
public class AlreadyClosedException : RabbitMQ.Client.Exceptions.OperationInterruptedException
688689
{
689690
public AlreadyClosedException(RabbitMQ.Client.ShutdownEventArgs reason) { }
690691
}
692+
[System.Serializable]
691693
public class AuthenticationFailureException : RabbitMQ.Client.Exceptions.PossibleAuthenticationFailureException
692694
{
693695
public AuthenticationFailureException(string msg) { }
694696
}
697+
[System.Serializable]
695698
public class BrokerUnreachableException : System.IO.IOException
696699
{
697700
public BrokerUnreachableException(System.Exception Inner) { }
698701
}
702+
[System.Serializable]
699703
public class ChannelAllocationException : RabbitMQ.Client.Exceptions.ProtocolViolationException
700704
{
701705
public ChannelAllocationException() { }
@@ -708,6 +712,7 @@ namespace RabbitMQ.Client.Exceptions
708712
public int Channel { get; }
709713
public override ushort ReplyCode { get; }
710714
}
715+
[System.Serializable]
711716
public class ConnectFailureException : RabbitMQ.Client.Exceptions.ProtocolViolationException
712717
{
713718
public ConnectFailureException(string msg, System.Exception inner) { }
@@ -721,6 +726,7 @@ namespace RabbitMQ.Client.Exceptions
721726
public MalformedFrameException(string message) { }
722727
public override ushort ReplyCode { get; }
723728
}
729+
[System.Serializable]
724730
public class OperationInterruptedException : RabbitMQ.Client.Exceptions.RabbitMQClientException
725731
{
726732
protected OperationInterruptedException() { }
@@ -730,6 +736,7 @@ namespace RabbitMQ.Client.Exceptions
730736
protected OperationInterruptedException(string message, System.Exception inner) { }
731737
public RabbitMQ.Client.ShutdownEventArgs ShutdownReason { get; set; }
732738
}
739+
[System.Serializable]
733740
public class PacketNotRecognizedException : RabbitMQ.Client.Exceptions.RabbitMQClientException
734741
{
735742
public PacketNotRecognizedException(int transportHigh, int transportLow, int serverMajor, int serverMinor) { }
@@ -738,6 +745,7 @@ namespace RabbitMQ.Client.Exceptions
738745
public int TransportHigh { get; }
739746
public int TransportLow { get; }
740747
}
748+
[System.Serializable]
741749
public class PossibleAuthenticationFailureException : RabbitMQ.Client.Exceptions.RabbitMQClientException
742750
{
743751
public PossibleAuthenticationFailureException(string msg) { }
@@ -749,6 +757,7 @@ namespace RabbitMQ.Client.Exceptions
749757
public abstract ushort ReplyCode { get; }
750758
public virtual RabbitMQ.Client.ShutdownEventArgs ShutdownReason { get; }
751759
}
760+
[System.Serializable]
752761
public class ProtocolVersionMismatchException : RabbitMQ.Client.Exceptions.ProtocolViolationException
753762
{
754763
public ProtocolVersionMismatchException(int clientMajor, int clientMinor, int serverMajor, int serverMinor) { }
@@ -757,12 +766,14 @@ namespace RabbitMQ.Client.Exceptions
757766
public int ServerMajor { get; }
758767
public int ServerMinor { get; }
759768
}
769+
[System.Serializable]
760770
public class ProtocolViolationException : RabbitMQ.Client.Exceptions.RabbitMQClientException
761771
{
762772
public ProtocolViolationException() { }
763773
public ProtocolViolationException(string message) { }
764774
public ProtocolViolationException(string message, System.Exception inner) { }
765775
}
776+
[System.Serializable]
766777
public abstract class RabbitMQClientException : System.Exception
767778
{
768779
protected RabbitMQClientException() { }
@@ -787,6 +798,7 @@ namespace RabbitMQ.Client.Exceptions
787798
{
788799
public override ushort ReplyCode { get; }
789800
}
801+
[System.Serializable]
790802
public class UnexpectedMethodException : RabbitMQ.Client.Exceptions.ProtocolViolationException
791803
{
792804
public UnexpectedMethodException(ushort classId, ushort methodId, string methodName) { }
@@ -802,17 +814,20 @@ namespace RabbitMQ.Client.Exceptions
802814
public override ushort ReplyCode { get; }
803815
public override string ToString() { }
804816
}
817+
[System.Serializable]
805818
public class UnsupportedMethodException : System.NotSupportedException
806819
{
807820
public UnsupportedMethodException(string methodName) { }
808821
public string MethodName { get; }
809822
}
823+
[System.Serializable]
810824
public class UnsupportedMethodFieldException : System.NotSupportedException
811825
{
812826
public UnsupportedMethodFieldException(string methodName, string fieldName) { }
813827
public string FieldName { get; }
814828
public string MethodName { get; }
815829
}
830+
[System.Serializable]
816831
public class WireFormattingException : RabbitMQ.Client.Exceptions.ProtocolViolationException
817832
{
818833
public WireFormattingException(string message) { }

projects/Unit/APIApproval.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
using System.Threading.Tasks;
3333
using NUnit.Framework;
3434
using PublicApiGenerator;
35-
using Verify;
3635
using VerifyNUnit;
36+
using VerifyTests;
3737

3838
namespace RabbitMQ.Client.Unit
3939
{

projects/Unit/Unit.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
</ItemGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
14+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
1515
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" />
1616
<PackageReference Include="NUnit" Version="3.12.0" />
17-
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1" />
18-
<PackageReference Include="PublicApiGenerator" Version="10.0.2" />
19-
<PackageReference Include="Verify.NUnit" Version="1.32.4" />
17+
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
18+
<PackageReference Include="PublicApiGenerator" Version="10.2.0" />
19+
<PackageReference Include="Verify.NUnit" Version="6.9.0" />
2020
</ItemGroup>
2121

2222
</Project>

0 commit comments

Comments
 (0)