This repository was archived by the owner on Oct 12, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +12
-13
lines changed
src/Microsoft.Azure.ServiceBus
test/Microsoft.Azure.ServiceBus.UnitTests/Primitives Expand file tree Collapse file tree 4 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 11// Copyright (c) Microsoft. All rights reserved.
22// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33
4- using System . Diagnostics ;
5- using System . Linq ;
6-
74namespace Microsoft . Azure . ServiceBus . Amqp
85{
96 using System ;
Original file line number Diff line number Diff line change 1- using System ;
2- using System . Collections . Generic ;
3- using System . Diagnostics ;
4- using Microsoft . Azure . Amqp ;
5- using Microsoft . Azure . Amqp . Framing ;
6- using Microsoft . Azure . ServiceBus . Amqp ;
7- using Microsoft . Azure . ServiceBus . Diagnostics ;
1+ // Copyright (c) Microsoft. All rights reserved.
2+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
83
94namespace Microsoft . Azure . ServiceBus . Core
105{
6+ using System ;
7+ using System . Collections . Generic ;
8+ using System . Diagnostics ;
9+ using Microsoft . Azure . Amqp ;
10+ using Microsoft . Azure . Amqp . Framing ;
11+ using Microsoft . Azure . ServiceBus . Amqp ;
12+ using Microsoft . Azure . ServiceBus . Diagnostics ;
13+
1114 [ DebuggerDisplay ( "{" + nameof ( DebuggerDisplay ) + ",nq}" ) ]
1215 public class Batch : IDisposable
1316 {
Original file line number Diff line number Diff line change 11// Copyright (c) Microsoft. All rights reserved.
22// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33
4- using Microsoft . Azure . ServiceBus . Diagnostics ;
5-
64namespace Microsoft . Azure . ServiceBus . Core
75{
86 using System ;
@@ -17,6 +15,7 @@ namespace Microsoft.Azure.ServiceBus.Core
1715 using Microsoft . Azure . Amqp . Framing ;
1816 using Microsoft . Azure . ServiceBus . Amqp ;
1917 using Microsoft . Azure . ServiceBus . Primitives ;
18+ using Microsoft . Azure . ServiceBus . Diagnostics ;
2019
2120
2221 /// <summary>
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public void Should_throw_if_batch_disposed()
3131 }
3232
3333 [ Fact ]
34- public void Should_throw_when_trying_add_received_message_to_batch ( )
34+ public void Should_throw_when_trying_to_add_an_already_received_message_to_batch ( )
3535 {
3636 using ( var batch = new Batch ( 100 ) )
3737 {
You can’t perform that action at this time.
0 commit comments