1
0
mirror of https://github.com/chylex/.NET-Community-Toolkit.git synced 2024-12-30 11:42:48 +01:00

Code style fix

This commit is contained in:
Oron Feinerman 2022-06-12 10:46:34 +03:00
parent b831020f70
commit 76e1900334
2 changed files with 2 additions and 8 deletions
CommunityToolkit.HighPerformance/Streams/Sources

View File

@ -79,9 +79,6 @@ public Span<byte> Span
public Memory<byte> Memory
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
return this.array.AsMemory(this.offset, this.length);
}
get => this.array.AsMemory(this.offset, this.length);
}
}

View File

@ -66,9 +66,6 @@ public Span<byte> Span
public Memory<byte> Memory
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
return this.memoryManager.Memory.Slice(this.offset, this.length);
}
get => this.memoryManager.Memory.Slice(this.offset, this.length);
}
}