Skip to content

Commit afee881

Browse files
Make frames resonly
1 parent 5d2884e commit afee881

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ImageSharp/Image.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void Dispose()
9999
/// </summary>
100100
/// <param name="stream">The stream to save the image to.</param>
101101
/// <param name="encoder">The encoder to save the image with.</param>
102-
/// <exception cref="System.ArgumentNullException">Thrown if the stream or encoder is null.</exception>
102+
/// <exception cref="ArgumentNullException">Thrown if the stream or encoder is null.</exception>
103103
public void Save(Stream stream, IImageEncoder encoder)
104104
{
105105
Guard.NotNull(stream, nameof(stream));

src/ImageSharp/Image{TPixel}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace SixLabors.ImageSharp
2323
public sealed class Image<TPixel> : Image
2424
where TPixel : unmanaged, IPixel<TPixel>
2525
{
26-
private ImageFrameCollection<TPixel> frames;
26+
private readonly ImageFrameCollection<TPixel> frames;
2727

2828
/// <summary>
2929
/// Initializes a new instance of the <see cref="Image{TPixel}"/> class

0 commit comments

Comments
 (0)