Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorMark Mikofski <bwana.marko@yahoo.com>2015-06-16 21:44:02 +0300
committerLudovic Henry <ludovic@xamarin.com>2015-12-16 13:40:24 +0300
commitd6ff307ec6da3737ef9b4d4f3aac688fc5860454 (patch)
treeafa979d57dae1d4637df753ff48ec371753dcbda /mcs
parent82157625b5182ca9cec69558a91645bf5d72e988 (diff)
Add test for bug #15153
Diffstat (limited to 'mcs')
-rw-r--r--mcs/class/System.ServiceModel/Test/System.ServiceModel/NetTcpBindingTest.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/mcs/class/System.ServiceModel/Test/System.ServiceModel/NetTcpBindingTest.cs b/mcs/class/System.ServiceModel/Test/System.ServiceModel/NetTcpBindingTest.cs
index 633b776aeac..cb78fe2be1e 100644
--- a/mcs/class/System.ServiceModel/Test/System.ServiceModel/NetTcpBindingTest.cs
+++ b/mcs/class/System.ServiceModel/Test/System.ServiceModel/NetTcpBindingTest.cs
@@ -213,6 +213,13 @@ namespace MonoTests.System.ServiceModel
Assert.IsTrue (Foo.JoinCalled, "#2");
}
+ [Test]
+ public void ReaderQuotasDefault_Bug15153 ()
+ {
+ NetTcpBinding binding = new NetTcpBinding(SecurityMode.None);
+ binding.ReaderQuotas.MaxStringContentLength = 8192;
+ }
+
[ServiceContract]
public interface IFoo
{