Commit 43658529 authored by Brickner_cp's avatar Brickner_cp

Code Analysis and Documentation - 7 warnings left.

parent 2e45fef3
...@@ -69,6 +69,7 @@ namespace PcapDotNet.Packets.Icmp ...@@ -69,6 +69,7 @@ namespace PcapDotNet.Packets.Icmp
/// </summary> /// </summary>
/// <param name="buffer">The buffer to write the layer to.</param> /// <param name="buffer">The buffer to write the layer to.</param>
/// <param name="offset">The offset in the buffer to start writing the layer at.</param> /// <param name="offset">The offset in the buffer to start writing the layer at.</param>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2233:OperationsShouldNotOverflow", MessageId = "offset+8")]
protected override sealed void Write(byte[] buffer, int offset) protected override sealed void Write(byte[] buffer, int offset)
{ {
IcmpDatagram.WriteHeader(buffer, offset, MessageType, CodeValue, Variable); IcmpDatagram.WriteHeader(buffer, offset, MessageType, CodeValue, Variable);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment