From 40cd2f93df50176b19a15831030dea48f545ab77 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 2 Feb 2020 10:29:13 -0600 Subject: [PATCH] meh --- BizHawk.Emulation.Common/TextState.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BizHawk.Emulation.Common/TextState.cs b/BizHawk.Emulation.Common/TextState.cs index 7fb548620b..ac8a820f5b 100644 --- a/BizHawk.Emulation.Common/TextState.cs +++ b/BizHawk.Emulation.Common/TextState.cs @@ -23,11 +23,13 @@ namespace BizHawk.Emulation.Common // methods named "ShouldSerialize*" are detected and dynamically invoked by JSON.NET // if they return false during serialization, the field/prop is omitted from the created json + // ReSharper disable once UnusedMember.Global public bool ShouldSerializeData() { return Data.Count > 0; } + // ReSharper disable once UnusedMember.Global public bool ShouldSerializeObjects() { return Objects.Count > 0;