mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-10 03:05:42 +00:00
ci: suppress uncoverable lines in StreamExtensions
This commit is contained in:
parent
d68d893abd
commit
312ce725c2
@ -1091,8 +1091,12 @@ public static class StreamExtensions
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// dotcover disable
|
||||||
|
//NOSONAR
|
||||||
int temp = BinaryPrimitives.ReverseEndianness(BitConverter.SingleToInt32Bits(value));
|
int temp = BinaryPrimitives.ReverseEndianness(BitConverter.SingleToInt32Bits(value));
|
||||||
MemoryMarshal.Write(buffer, ref temp);
|
MemoryMarshal.Write(buffer, ref temp);
|
||||||
|
//NOSONAR
|
||||||
|
// dotcover enable
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -1108,7 +1112,11 @@ public static class StreamExtensions
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// dotcover disable
|
||||||
|
//NOSONAR
|
||||||
MemoryMarshal.Write(buffer, ref value);
|
MemoryMarshal.Write(buffer, ref value);
|
||||||
|
//NOSONAR
|
||||||
|
// dotcover enable
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -1166,8 +1174,12 @@ public static class StreamExtensions
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// dotcover disable
|
||||||
|
//NOSONAR
|
||||||
long temp = BinaryPrimitives.ReverseEndianness(BitConverter.DoubleToInt64Bits(value));
|
long temp = BinaryPrimitives.ReverseEndianness(BitConverter.DoubleToInt64Bits(value));
|
||||||
MemoryMarshal.Write(buffer, ref temp);
|
MemoryMarshal.Write(buffer, ref temp);
|
||||||
|
//NOSONAR
|
||||||
|
// dotcover enable
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -1183,7 +1195,11 @@ public static class StreamExtensions
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// dotcover disable
|
||||||
|
//NOSONAR
|
||||||
MemoryMarshal.Write(buffer, ref value);
|
MemoryMarshal.Write(buffer, ref value);
|
||||||
|
//NOSONAR
|
||||||
|
// dotcover enable
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user