diff --git a/UIX.Debug/Bridge.compat.cs b/UIX.Debug/Bridge.compat.cs
new file mode 100644
index 0000000..28d8558
--- /dev/null
+++ b/UIX.Debug/Bridge.compat.cs
@@ -0,0 +1,25 @@
+#if !ZUNE5
+
+using Microsoft.Iris.Debug.Data;
+
+namespace Microsoft.Iris.Debug
+{
+ ///
+ /// A dummy implementation of , used to avoid conditional
+ /// code in consuming libraries.
+ ///
+ public class Bridge : IBridge
+ {
+ public void LogDispatcher(string message)
+ {
+
+ }
+
+ public void LogInterpreterOpCode(object context, InterpreterEntry entry)
+ {
+
+ }
+ }
+}
+
+#endif
diff --git a/UIX.Debug/Bridge.cs b/UIX.Debug/Bridge.cs
index 2645eb7..cef9cca 100644
--- a/UIX.Debug/Bridge.cs
+++ b/UIX.Debug/Bridge.cs
@@ -2,16 +2,13 @@
using OwlCore.Remoting;
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
namespace Microsoft.Iris.Debug
{
[RemoteProperty]
[RemoteMethod]
[RemoteOptions(RemotingDirection.Bidirectional)]
- public class Bridge : IDisposable
+ public class Bridge : IBridge, IDisposable
{
private readonly MemberRemote _memberRemote;
diff --git a/UIX.Debug/Data/InterpreterEntry.cs b/UIX.Debug/Data/InterpreterEntry.cs
index f30a89c..8fbaeba 100644
--- a/UIX.Debug/Data/InterpreterEntry.cs
+++ b/UIX.Debug/Data/InterpreterEntry.cs
@@ -1,4 +1,5 @@
using System;
+using System.Collections.Generic;
using System.Linq;
namespace Microsoft.Iris.Debug.Data
@@ -8,17 +9,22 @@ namespace Microsoft.Iris.Debug.Data
public InterpreterEntry(object opCode, params OpCodeArgument[] args)
{
OpCode = opCode;
- Arguments = args;
+
+ if (args != null)
+ Arguments = args;
+ else
+ Arguments = new List();
}
- public object OpCode { get; private set; }
- public OpCodeArgument[] Arguments { get; private set; }
+ public object OpCode { get; }
+ public IList Arguments { get; }
+ public IList