mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-21 09:02:26 +08:00
16 lines
386 B
C#
16 lines
386 B
C#
using JEnum = Java.Lang.Enum;
|
|
|
|
namespace System.Diagnostics
|
|
{
|
|
internal sealed class PlatformDebuggerDisplayImpl : IDebuggerDisplay
|
|
{
|
|
string IDebuggerDisplay.GetDebuggerDisplayValue(object obj)
|
|
{
|
|
if (obj is JEnum @enum)
|
|
{
|
|
return @enum.GetJavaEnumName();
|
|
}
|
|
return obj.ToString();
|
|
}
|
|
}
|
|
} |