From 1ac4dbfbe6e6c0ae757df6937fbf0e26f129bfcd Mon Sep 17 00:00:00 2001 From: Alexander Chocron Date: Wed, 7 Apr 2021 12:30:46 -0700 Subject: [PATCH 1/2] Make interface public --- src/QsCompiler/BondSchemas/QirExecutionWrapper/Protocols.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/QsCompiler/BondSchemas/QirExecutionWrapper/Protocols.cs b/src/QsCompiler/BondSchemas/QirExecutionWrapper/Protocols.cs index 51c812874b..c8ac33529f 100644 --- a/src/QsCompiler/BondSchemas/QirExecutionWrapper/Protocols.cs +++ b/src/QsCompiler/BondSchemas/QirExecutionWrapper/Protocols.cs @@ -11,7 +11,7 @@ namespace Microsoft.Quantum.QsCompiler.BondSchemas.QirExecutionWrapper /// /// This class provides methods for serialization/deserialization of objects in the Microsoft.Quantum.QsCompiler.BondSchemas.QirExecutionWrapper namespace. /// - internal static class Protocols + public static class Protocols { /// /// Deserializes a QirExecutionWrapper object from its fast binary representation. @@ -28,7 +28,7 @@ public static QirExecutionWrapper DeserializeFromFastBinary(Stream stream) /// /// Serializes a QirExecutionWrapper object to its fast binary representation. /// - public static void SerializeToFastBinary(QirExecutionWrapper sandboxInput, Stream stream) + internal static void SerializeToFastBinary(QirExecutionWrapper sandboxInput, Stream stream) { var outputBuffer = new OutputBuffer(); var writer = new FastBinaryWriter(outputBuffer); From 5fcc7a2e16a42aa80c12a4c0c09e150bfac99077 Mon Sep 17 00:00:00 2001 From: Alexander Chocron Date: Wed, 7 Apr 2021 13:49:02 -0700 Subject: [PATCH 2/2] Make serializer public --- src/QsCompiler/BondSchemas/QirExecutionWrapper/Protocols.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QsCompiler/BondSchemas/QirExecutionWrapper/Protocols.cs b/src/QsCompiler/BondSchemas/QirExecutionWrapper/Protocols.cs index c8ac33529f..ea329c1e10 100644 --- a/src/QsCompiler/BondSchemas/QirExecutionWrapper/Protocols.cs +++ b/src/QsCompiler/BondSchemas/QirExecutionWrapper/Protocols.cs @@ -28,7 +28,7 @@ public static QirExecutionWrapper DeserializeFromFastBinary(Stream stream) /// /// Serializes a QirExecutionWrapper object to its fast binary representation. /// - internal static void SerializeToFastBinary(QirExecutionWrapper sandboxInput, Stream stream) + public static void SerializeToFastBinary(QirExecutionWrapper sandboxInput, Stream stream) { var outputBuffer = new OutputBuffer(); var writer = new FastBinaryWriter(outputBuffer);