From 2d58f7d490cb0b8a615cde92cc14431b16890085 Mon Sep 17 00:00:00 2001 From: Jason Nelson Date: Tue, 5 Jun 2018 14:49:41 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ImageSharp/Primitives/DenseMatrix{T}.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 . ///