From 2f944fcdeda2bf6e4776e6a990f74ab8a1d145ac Mon Sep 17 00:00:00 2001 From: Jason Nelson Date: Fri, 31 Aug 2018 10:08:56 -0700 Subject: [PATCH] [SL.Core] Remove aggressive inlining hint from trival accessors --- src/SixLabors.Core/Primitives/Rectangle.cs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/SixLabors.Core/Primitives/Rectangle.cs b/src/SixLabors.Core/Primitives/Rectangle.cs index 2c9eec269..61dc79916 100644 --- a/src/SixLabors.Core/Primitives/Rectangle.cs +++ b/src/SixLabors.Core/Primitives/Rectangle.cs @@ -117,11 +117,7 @@ namespace SixLabors.Primitives /// /// Gets the y-coordinate of the top edge of this . /// - public int Top - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get => this.Y; - } + public int Top => this.Y; /// /// Gets the x-coordinate of the right edge of this . @@ -145,11 +141,7 @@ namespace SixLabors.Primitives /// /// Gets the x-coordinate of the left edge of this . /// - public int Left - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get => this.X; - } + public int Left => this.X; /// /// Creates a with the coordinates of the specified .