Skip to content

Commit c113381

Browse files
authored
Merge pull request #930 from rabbitmq/lrb-update-dependencies-6.x
Backport #929
2 parents f5b8b22 + 939ef11 commit c113381

File tree

5 files changed

+22
-7
lines changed

5 files changed

+22
-7
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "6.1.1.{build}"
1+
version: "6.2.0.{build}"
22

33
platform: Any CPU
44
configuration: Release

projects/RabbitMQ.Client/RabbitMQ.Client.csproj

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

projects/Unit/APIApproval.Approve.verified.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,18 +688,22 @@ namespace RabbitMQ.Client.Events
688688
}
689689
namespace RabbitMQ.Client.Exceptions
690690
{
691+
[System.Serializable]
691692
public class AlreadyClosedException : RabbitMQ.Client.Exceptions.OperationInterruptedException
692693
{
693694
public AlreadyClosedException(RabbitMQ.Client.ShutdownEventArgs reason) { }
694695
}
696+
[System.Serializable]
695697
public class AuthenticationFailureException : RabbitMQ.Client.Exceptions.PossibleAuthenticationFailureException
696698
{
697699
public AuthenticationFailureException(string msg) { }
698700
}
701+
[System.Serializable]
699702
public class BrokerUnreachableException : System.IO.IOException
700703
{
701704
public BrokerUnreachableException(System.Exception Inner) { }
702705
}
706+
[System.Serializable]
703707
public class ChannelAllocationException : RabbitMQ.Client.Exceptions.ProtocolViolationException
704708
{
705709
public ChannelAllocationException() { }
@@ -712,6 +716,7 @@ namespace RabbitMQ.Client.Exceptions
712716
public int Channel { get; }
713717
public override ushort ReplyCode { get; }
714718
}
719+
[System.Serializable]
715720
public class ConnectFailureException : RabbitMQ.Client.Exceptions.ProtocolViolationException
716721
{
717722
public ConnectFailureException(string msg, System.Exception inner) { }
@@ -725,6 +730,7 @@ namespace RabbitMQ.Client.Exceptions
725730
public MalformedFrameException(string message) { }
726731
public override ushort ReplyCode { get; }
727732
}
733+
[System.Serializable]
728734
public class OperationInterruptedException : RabbitMQ.Client.Exceptions.RabbitMQClientException
729735
{
730736
protected OperationInterruptedException() { }
@@ -734,6 +740,7 @@ namespace RabbitMQ.Client.Exceptions
734740
protected OperationInterruptedException(string message, System.Exception inner) { }
735741
public RabbitMQ.Client.ShutdownEventArgs ShutdownReason { get; set; }
736742
}
743+
[System.Serializable]
737744
public class PacketNotRecognizedException : RabbitMQ.Client.Exceptions.RabbitMQClientException
738745
{
739746
public PacketNotRecognizedException(int transportHigh, int transportLow, int serverMajor, int serverMinor) { }
@@ -742,6 +749,7 @@ namespace RabbitMQ.Client.Exceptions
742749
public int TransportHigh { get; }
743750
public int TransportLow { get; }
744751
}
752+
[System.Serializable]
745753
public class PossibleAuthenticationFailureException : RabbitMQ.Client.Exceptions.RabbitMQClientException
746754
{
747755
public PossibleAuthenticationFailureException(string msg) { }
@@ -753,6 +761,7 @@ namespace RabbitMQ.Client.Exceptions
753761
public abstract ushort ReplyCode { get; }
754762
public virtual RabbitMQ.Client.ShutdownEventArgs ShutdownReason { get; }
755763
}
764+
[System.Serializable]
756765
public class ProtocolVersionMismatchException : RabbitMQ.Client.Exceptions.ProtocolViolationException
757766
{
758767
public ProtocolVersionMismatchException(int clientMajor, int clientMinor, int serverMajor, int serverMinor) { }
@@ -761,12 +770,14 @@ namespace RabbitMQ.Client.Exceptions
761770
public int ServerMajor { get; }
762771
public int ServerMinor { get; }
763772
}
773+
[System.Serializable]
764774
public class ProtocolViolationException : RabbitMQ.Client.Exceptions.RabbitMQClientException
765775
{
766776
public ProtocolViolationException() { }
767777
public ProtocolViolationException(string message) { }
768778
public ProtocolViolationException(string message, System.Exception inner) { }
769779
}
780+
[System.Serializable]
770781
public abstract class RabbitMQClientException : System.Exception
771782
{
772783
protected RabbitMQClientException() { }
@@ -791,6 +802,7 @@ namespace RabbitMQ.Client.Exceptions
791802
{
792803
public override ushort ReplyCode { get; }
793804
}
805+
[System.Serializable]
794806
public class UnexpectedMethodException : RabbitMQ.Client.Exceptions.ProtocolViolationException
795807
{
796808
public UnexpectedMethodException(RabbitMQ.Client.IMethod method) { }
@@ -804,17 +816,20 @@ namespace RabbitMQ.Client.Exceptions
804816
public override ushort ReplyCode { get; }
805817
public override string ToString() { }
806818
}
819+
[System.Serializable]
807820
public class UnsupportedMethodException : System.NotSupportedException
808821
{
809822
public UnsupportedMethodException(string methodName) { }
810823
public string MethodName { get; }
811824
}
825+
[System.Serializable]
812826
public class UnsupportedMethodFieldException : System.NotSupportedException
813827
{
814828
public UnsupportedMethodFieldException(string methodName, string fieldName) { }
815829
public string FieldName { get; }
816830
public string MethodName { get; }
817831
}
832+
[System.Serializable]
818833
public class WireFormattingException : RabbitMQ.Client.Exceptions.ProtocolViolationException
819834
{
820835
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)