r2mods/ilspy_dump/ror2_csproj/ToStringDefault.cs

16 lines
320 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential, Size = 1)]
public struct ToStringDefault<T> : IToStringImplementation<T>
{
public string DoToString(in T input)
{
return input.ToString();
}
string IToStringImplementation<T>.DoToString(in T input)
{
return DoToString(in input);
}
}