Skip to content

Commit

Permalink
Make sequence field in AmqpMessageBody readonly like the other ctor a…
Browse files Browse the repository at this point in the history
…ssigned fields (#31344)
  • Loading branch information
danielmarbach authored Sep 22, 2022
1 parent 0a24261 commit 25b9d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/core/Azure.Core.Amqp/src/AmqpMessageBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class AmqpMessageBody
/// <summary>
/// The sequence sections for the AMQP message body.
/// </summary>
private IEnumerable<IList<object>>? _sequence;
private readonly IEnumerable<IList<object>>? _sequence;

/// <summary>
/// Gets the type of the message body.
Expand Down

0 comments on commit 25b9d3c

Please sign in to comment.