diff --git a/src/ImageSharp/Primitives/DenseMatrix{T}.cs b/src/ImageSharp/Primitives/DenseMatrix{T}.cs index 828aeadfa..c890a4129 100644 --- a/src/ImageSharp/Primitives/DenseMatrix{T}.cs +++ b/src/ImageSharp/Primitives/DenseMatrix{T}.cs @@ -89,6 +89,11 @@ namespace SixLabors.ImageSharp.Primitives } } + /// + /// Gets a Span wrapping the Data. + /// + public Span Span => new Span(this.Data); + /// /// Gets or sets the item at the specified position. /// @@ -105,9 +110,6 @@ namespace SixLabors.ImageSharp.Primitives } } - - public Span Span => new Span(Data); - /// /// Performs an implicit conversion from a to a . ///