Skip to content

Commit 646f111

Browse files
committed
suppress warning CA1859
1 parent bc2123a commit 646f111

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Smdn.Net.SkStackIP/Smdn.Net.SkStackIP.Protocol/SkStackEventCodeNames.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
namespace Smdn.Net.SkStackIP.Protocol;
88

99
internal static class SkStackEventCodeNames {
10+
#pragma warning disable CA1859
1011
private static readonly IReadOnlyDictionary<SkStackEventCode, ReadOnlyMemory<byte>> EventCodeAndNames =
12+
#pragma warning restore CA1859
1113
new Dictionary<SkStackEventCode, ReadOnlyMemory<byte>>() {
1214
{ SkStackEventCode.ERXUDP, SkStack.ToByteSequence(nameof(SkStackEventCode.ERXUDP)) },
1315
{ SkStackEventCode.EPONG, SkStack.ToByteSequence(nameof(SkStackEventCode.EPONG)) },

0 commit comments

Comments
 (0)