Add missing [UnscopedRef] attribute to ArrayPoolBinaryWriter<T>
このコミットが含まれているのは:
1 親
8b3f75431f
コミット
5da3da6707
1ファイル変更
+1
@@ -101,6 +101,7 @@ internal ref struct ArrayPoolBufferWriter<T>
|
||||
/// </summary>
|
||||
/// <param name="sizeHint">The capacity to request.</param>
|
||||
/// <returns>A <see cref="Span{T}"/> to write data to.</returns>
|
||||
[UnscopedRef]
|
||||
internal readonly Span<T> GetSpan(int sizeHint = 0)
|
||||
{
|
||||
CheckBufferAndEnsureCapacity(sizeHint);
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする