r2mods/ilspy_dump/ror2_csproj/ToStringDefault.cs

16 lines
320 B
C#

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);
}
}