Merge pull request #1659 from alexanderkyte/stringbuilder-referencesource
[mono.git] / mcs / class / System.Runtime.Remoting / System.Runtime.Remoting.Channels / BinaryClientFormatterSinkProvider.cs
index 5ad307edbe9c5aee77e4c363c48d84067439f502..79f93e8a992adea91acf4a54111b5acfead920a3 100644 (file)
@@ -37,11 +37,12 @@ namespace System.Runtime.Remoting.Channels
        {
                IClientChannelSinkProvider next = null;
                BinaryCore _binaryCore;
-               static string[] allowedProperties = new string [] { "includeVersions", "strictBinding" };
+
+               static string[] allowedProperties = new string [] { "includeVersions", "strictBinding", "typeFilterLevel" };
 
                public BinaryClientFormatterSinkProvider ()
                {
-                       _binaryCore = BinaryCore.DefaultInstance;
+                       _binaryCore = BinaryCore.DefaultClientInstance;
                }
 
                public BinaryClientFormatterSinkProvider (IDictionary properties,