Skip to content

Commit 3e47fa7

Browse files
benaadamsdavidfowl
authored andcommitted
Inline BufferWriter .ctor (#7674)
1 parent 98fe8a8 commit 3e47fa7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Servers/Kestrel/Core/src/Internal/BufferWriter.cs

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ namespace System.Buffers
3737
/// Initializes a new instance of the <see cref="BufferWriter{T}"/> struct.
3838
/// </summary>
3939
/// <param name="output">The <see cref="IBufferWriter{T}"/> to be wrapped.</param>
40+
[MethodImpl(MethodImplOptions.AggressiveInlining)]
4041
public BufferWriter(T output)
4142
{
4243
_buffered = 0;

0 commit comments

Comments
 (0)