File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/ImageSharp/Common/Extensions
tests/ImageSharp.Tests/Metadata/Profiles/Exif Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 44using System ;
55using System . IO ;
66using SixLabors . ImageSharp . Memory ;
7+ #if ! SUPPORTS_SPAN_STREAM
8+ using System . Buffers ;
9+ #endif
710
811namespace SixLabors . ImageSharp
912{
Original file line number Diff line number Diff line change @@ -394,7 +394,7 @@ public void WritingImagePreservesExifProfile(TestImageWriteFormat imageFormat)
394394 public void ProfileToByteArray ( )
395395 {
396396 // Arrange
397- byte [ ] exifBytesWithoutExifCode = ExifConstants . LittleEndianByteOrderMarker ;
397+ byte [ ] exifBytesWithoutExifCode = ExifConstants . LittleEndianByteOrderMarker . ToArray ( ) ;
398398 ExifProfile expectedProfile = CreateExifProfile ( ) ;
399399 var expectedProfileTags = expectedProfile . Values . Select ( x => x . Tag ) . ToList ( ) ;
400400
You can’t perform that action at this time.
0 commit comments