aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Showcase.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-01-30 00:28:05 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-01-30 00:28:05 +0100
commitc29275576f75534c9fd109b3d3717ab52ec8415b (patch)
tree2bb12851411af33988a43ea9a35bfe4ee34eba83 /Tests/Showcase.cs
parente3c509d4a9a27f663a3a95ab697bfdb2e880172d (diff)
- test with both parameterless ctor and with iface param ctorInCodeInstatiation
- CurrentInterface as field
Diffstat (limited to 'Tests/Showcase.cs')
-rw-r--r--Tests/Showcase.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/Showcase.cs b/Tests/Showcase.cs
index 4880ede5..67ef5eef 100644
--- a/Tests/Showcase.cs
+++ b/Tests/Showcase.cs
@@ -32,6 +32,7 @@ using System.IO;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
+using System.Text;
namespace Tests
{
@@ -106,7 +107,7 @@ namespace Tests
try {
lock (this.ifaceControl [0].CrowInterface.UpdateMutex) {
Instantiator inst = null;
- using (MemoryStream ms = new MemoryStream (System.Text.Encoding.Unicode.GetBytes (e.Text))){
+ using (MemoryStream ms = new MemoryStream (Encoding.UTF8.GetBytes (e.Text))){
inst = new Instantiator (ms);
}
g = inst.CreateInstance (this.ifaceControl [0].CrowInterface);