diff --git a/src/System.Buffers.ReaderWriter/System/Buffers/Writer/BufferWriter_writable.cs b/src/System.Buffers.ReaderWriter/System/Buffers/Writer/BufferWriter_writable.cs index da53dc3b9d7..295bd2bdb7a 100644 --- a/src/System.Buffers.ReaderWriter/System/Buffers/Writer/BufferWriter_writable.cs +++ b/src/System.Buffers.ReaderWriter/System/Buffers/Writer/BufferWriter_writable.cs @@ -11,10 +11,10 @@ public ref partial struct BufferWriter { #region Byte public bool TryWriteBytes(byte[] bytes) - => TryWriteBytes((ReadOnlySpan)bytes.AsSpan()); + => TryWriteBytes(bytes.AsSpan()); public void WriteBytes(byte[] bytes) - => WriteBytes((ReadOnlySpan)bytes.AsSpan()); + => WriteBytes(bytes.AsSpan()); public bool TryWriteBytes(ReadOnlySpan bytes) { diff --git a/tools/common.props b/tools/common.props index 4555307d245..367a8d51a19 100644 --- a/tools/common.props +++ b/tools/common.props @@ -15,7 +15,4 @@ $(MSBuildThisFileDirectory)Key.snk latest - - - \ No newline at end of file