Skip to content

Commit 46d9d34

Browse files
Code style suggestion
Co-authored-by: Sergio Pedri <[email protected]>
1 parent f95595d commit 46d9d34

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Microsoft.Toolkit/Collections/ObservableGroup.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,7 @@ public ObservableGroup(TKey key, IEnumerable<TValue> collection)
5656
/// </summary>
5757
public TKey Key
5858
{
59-
get
60-
{
61-
return _key;
62-
}
59+
get => this.key;
6360
set
6461
{
6562
if (!EqualityComparer<TKey>.Default.Equals(this.key, value))

0 commit comments

Comments
 (0)