mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
Fix debug string for DeferredCalls that don't have a target
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user