From 2ef1e47ece346c696d4100c46663921c7ff36d42 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Tue, 8 Aug 2023 12:46:52 +0100 Subject: [PATCH] style: order members alphabetically --- OliverBooth/Data/Blog/BlogPost.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/OliverBooth/Data/Blog/BlogPost.cs b/OliverBooth/Data/Blog/BlogPost.cs index 3fc0ca4..9e30a98 100644 --- a/OliverBooth/Data/Blog/BlogPost.cs +++ b/OliverBooth/Data/Blog/BlogPost.cs @@ -103,11 +103,6 @@ public sealed class BlogPost : IEquatable return ReferenceEquals(this, obj) || obj is BlogPost other && Equals(other); } - public override int GetHashCode() - { - return Id; - } - /// /// Gets the Disqus identifier for the blog post. /// @@ -140,4 +135,8 @@ public sealed class BlogPost : IEquatable return $"{GetDisqusDomain()}/{path}"; } + public override int GetHashCode() + { + return Id; + } }