From ea3594c06551338de9f66285a90ec52531bb2b98 Mon Sep 17 00:00:00 2001 From: Yoshi Askharoun Date: Sun, 26 Jul 2026 20:26:07 -0500 Subject: [PATCH] Fix debug string for DeferredCalls that don't have a target --- UIX/Microsoft/Iris/Session/DeferredCall.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UIX/Microsoft/Iris/Session/DeferredCall.cs b/UIX/Microsoft/Iris/Session/DeferredCall.cs index abd985f..38bb081 100644 --- a/UIX/Microsoft/Iris/Session/DeferredCall.cs +++ b/UIX/Microsoft/Iris/Session/DeferredCall.cs @@ -171,7 +171,8 @@ namespace Microsoft.Iris.Session EventHandler eventHandler => $"{eventHandler.Method.Name}({_param}, {_args})", _ when _param is IDeferredInvokeItem deferredInvokeItem => deferredInvokeItem.ToString(), - _ => throw new InvalidOperationException() + not null => $"{_target.Method.DeclaringType?.FullName}.{_target.Method.Name}({_param})", + _ => "{null}" }; return packetString;