Skip to content

Commit 60b08dc

Browse files
Remove virtual from ToBytes method (Azure#34045)
1 parent 60d0ec9 commit 60b08dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/core/Azure.Core.Amqp/api/Azure.Core.Amqp.netstandard2.0.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public AmqpAnnotatedMessage(Azure.Core.Amqp.AmqpMessageBody body) { }
2828
public Azure.Core.Amqp.AmqpMessageProperties Properties { get { throw null; } }
2929
public static Azure.Core.Amqp.AmqpAnnotatedMessage FromBytes(System.BinaryData messageBytes) { throw null; }
3030
public bool HasSection(Azure.Core.Amqp.AmqpMessageSection section) { throw null; }
31-
public virtual System.BinaryData ToBytes() { throw null; }
31+
public System.BinaryData ToBytes() { throw null; }
3232
}
3333
public partial class AmqpMessageBody
3434
{

sdk/core/Azure.Core.Amqp/src/AmqpAnnotatedMessage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public bool HasSection(AmqpMessageSection section) =>
161161
/// <seealso href="http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-messaging-v1.0-os.html#section-message-format"/>
162162
/// </summary>
163163
/// <returns>A <see cref="BinaryData"/> instance representing the serialized message.</returns>
164-
public virtual BinaryData ToBytes()
164+
public BinaryData ToBytes()
165165
{
166166
var stream = AmqpAnnotatedMessageConverter.ToAmqpMessage(this).ToStream();
167167
return BinaryData.FromStream(stream);

0 commit comments

Comments
 (0)