Skip to content

Commit 76e1900

Browse files
committed
Code style fix
1 parent b831020 commit 76e1900

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

CommunityToolkit.HighPerformance/Streams/Sources/ArrayOwner.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ public Span<byte> Span
7979
public Memory<byte> Memory
8080
{
8181
[MethodImpl(MethodImplOptions.AggressiveInlining)]
82-
get
83-
{
84-
return this.array.AsMemory(this.offset, this.length);
85-
}
82+
get => this.array.AsMemory(this.offset, this.length);
8683
}
8784
}

CommunityToolkit.HighPerformance/Streams/Sources/MemoryManagerOwner.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ public Span<byte> Span
6666
public Memory<byte> Memory
6767
{
6868
[MethodImpl(MethodImplOptions.AggressiveInlining)]
69-
get
70-
{
71-
return this.memoryManager.Memory.Slice(this.offset, this.length);
72-
}
69+
get => this.memoryManager.Memory.Slice(this.offset, this.length);
7370
}
7471
}

0 commit comments

Comments
 (0)