From 704fa0f8bd2895e58d7f66af5727665933554db6 Mon Sep 17 00:00:00 2001 From: Jason Nelson Date: Fri, 31 Aug 2018 10:15:41 -0700 Subject: [PATCH] [SL.Core] Remove AggressiveInlining hint from trival accessors --- src/SixLabors.Core/Primitives/RectangleF.cs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/SixLabors.Core/Primitives/RectangleF.cs b/src/SixLabors.Core/Primitives/RectangleF.cs index a7f46db0a7..1a275b623b 100644 --- a/src/SixLabors.Core/Primitives/RectangleF.cs +++ b/src/SixLabors.Core/Primitives/RectangleF.cs @@ -117,11 +117,7 @@ namespace SixLabors.Primitives /// /// Gets the y-coordinate of the top edge of this . /// - public float Top - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get => this.Y; - } + public float Top => this.Y; /// /// Gets the x-coordinate of the right edge of this . @@ -144,11 +140,7 @@ namespace SixLabors.Primitives /// /// Gets the x-coordinate of the left edge of this . /// - public float Left - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get => this.X; - } + public float Left => this.X; /// /// Creates a with the coordinates of the specified by truncating each coordinate.