Browse Source

[SL.Core] Remove aggressive inlining hint from trival accessors

af/octree-no-pixelmap
Jason Nelson 8 years ago
parent
commit
2f944fcded
  1. 12
      src/SixLabors.Core/Primitives/Rectangle.cs

12
src/SixLabors.Core/Primitives/Rectangle.cs

@ -117,11 +117,7 @@ namespace SixLabors.Primitives
/// <summary>
/// Gets the y-coordinate of the top edge of this <see cref="Rectangle"/>.
/// </summary>
public int Top
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get => this.Y;
}
public int Top => this.Y;
/// <summary>
/// Gets the x-coordinate of the right edge of this <see cref="Rectangle"/>.
@ -145,11 +141,7 @@ namespace SixLabors.Primitives
/// <summary>
/// Gets the x-coordinate of the left edge of this <see cref="Rectangle"/>.
/// </summary>
public int Left
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get => this.X;
}
public int Left => this.X;
/// <summary>
/// Creates a <see cref="RectangleF"/> with the coordinates of the specified <see cref="Rectangle"/>.

Loading…
Cancel
Save