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.
1 parent bad9dc7 commit 2f2bf65Copy full SHA for 2f2bf65
src/NetMQ/RoutingKey.cs
@@ -6,9 +6,9 @@ namespace NetMQ
6
/// Structure to represent a routing key from Router, Peer and Stream sockets.
7
/// Implement Equals and GetHashCode and can be used as key for a Dictionary.
8
/// </summary>
9
- public struct RoutingKey: IEquatable<RoutingKey>, IEquatable<byte[]>
+ public readonly struct RoutingKey : IEquatable<RoutingKey>, IEquatable<byte[]>
10
{
11
- private byte[] bytes;
+ private readonly byte[] bytes;
12
13
private const uint C1 = 0xcc9e2d51;
14
private const uint C2 = 0x1b873593;
0 commit comments