We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7deeff0 + 2f2bf65 commit 4c7b847Copy full SHA for 4c7b847
src/NetMQ/RoutingKey.cs
@@ -8,9 +8,9 @@ namespace NetMQ
8
/// Structure to represent a routing key from Router, Peer and Stream sockets.
9
/// Implement Equals and GetHashCode and can be used as key for a Dictionary.
10
/// </summary>
11
- public struct RoutingKey: IEquatable<RoutingKey>, IEquatable<byte[]>
+ public readonly struct RoutingKey : IEquatable<RoutingKey>, IEquatable<byte[]>
12
{
13
- private byte[] bytes;
+ private readonly byte[] bytes;
14
15
private const uint C1 = 0xcc9e2d51;
16
private const uint C2 = 0x1b873593;
0 commit comments