diff --git a/X10D/src/StreamExtensions/StreamExtensions.cs b/X10D/src/StreamExtensions/StreamExtensions.cs index 5d2a811..cd2f6e1 100644 --- a/X10D/src/StreamExtensions/StreamExtensions.cs +++ b/X10D/src/StreamExtensions/StreamExtensions.cs @@ -131,6 +131,7 @@ namespace X10D.StreamExtensions /// /// The stream from which the value should be read. /// An two-byte unsigned integer read from the stream. + [CLSCompliant(false)] public static ushort ReadUInt16(this Stream stream) { return stream.ReadUInt16(DefaultEndianness); @@ -143,6 +144,7 @@ namespace X10D.StreamExtensions /// The stream from which the value should be read. /// The endian encoding to use. /// An two-byte unsigned integer read from the stream. + [CLSCompliant(false)] public static ushort ReadUInt16(this Stream stream, Endianness endianness) { var value = ReadInternal(stream, endianness); @@ -155,6 +157,7 @@ namespace X10D.StreamExtensions /// /// The stream from which the value should be read. /// An four-byte unsigned integer read from the stream. + [CLSCompliant(false)] public static uint ReadUInt32(this Stream stream) { return stream.ReadUInt32(DefaultEndianness); @@ -167,6 +170,7 @@ namespace X10D.StreamExtensions /// The stream from which the value should be read. /// The endian encoding to use. /// An four-byte unsigned integer read from the stream. + [CLSCompliant(false)] public static uint ReadUInt32(this Stream stream, Endianness endianness) { var value = ReadInternal(stream, endianness); @@ -179,6 +183,7 @@ namespace X10D.StreamExtensions /// /// The stream from which the value should be read. /// An eight-byte unsigned integer read from the stream. + [CLSCompliant(false)] public static ulong ReadUInt64(this Stream stream) { return stream.ReadUInt64(DefaultEndianness); @@ -191,6 +196,7 @@ namespace X10D.StreamExtensions /// The stream from which the value should be read. /// The endian encoding to use. /// An eight-byte unsigned integer read from the stream. + [CLSCompliant(false)] public static ulong ReadUInt64(this Stream stream, Endianness endianness) { var value = ReadInternal(stream, endianness);