Skip to content

Commit 61118ee

Browse files
committed
Restore readonly
Follow-up to #1063
1 parent 9d32bfc commit 61118ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/RabbitMQ.Client/client/api/BasicProperties.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public struct BasicProperties : IBasicProperties, IAmqpHeader
5959

6060
public bool Persistent
6161
{
62-
get
62+
readonly get
6363
{
6464
return DeliveryMode == DeliveryModes.Persistent;
6565
}
@@ -77,6 +77,7 @@ readonly get
7777
PublicationAddress.TryParse(ReplyTo, out PublicationAddress result);
7878
return result;
7979
}
80+
8081
set { ReplyTo = value?.ToString(); }
8182
}
8283

0 commit comments

Comments
 (0)