r2mods/ilspy_dump/ror2_csproj/StringBuilderPool.cs

26 lines
716 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using System;
using System.Runtime.CompilerServices;
using System.Text;
using HG;
using JetBrains.Annotations;
[Obsolete("Use HG.StringBuilderPool instead.", false)]
public static class StringBuilderPool
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[NotNull]
[Obsolete("Use HG.StringBuilderPool instead.", false)]
public static StringBuilder RentStringBuilder()
{
return HG.StringBuilderPool.RentStringBuilder();
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[Obsolete("Use HG.StringBuilderPool instead.", false)]
[CanBeNull]
public static StringBuilder ReturnStringBuilder([NotNull] StringBuilder stringBuilder)
{
return HG.StringBuilderPool.ReturnStringBuilder(stringBuilder);
}
}