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:
parent
b831020f70
commit
76e1900334
CommunityToolkit.HighPerformance/Streams/Sources
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user