Skip to content

Commit 08d4417

Browse files
authored
Merge pull request #1188 from rabbitmq/lukebakken/restore-readonly
Restore readonly
2 parents 9d32bfc + 61118ee commit 08d4417

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)