diff options
author | Mark Mikofski <bwana.marko@yahoo.com> | 2015-06-16 21:44:02 +0300 |
---|---|---|
committer | Ludovic Henry <ludovic@xamarin.com> | 2015-12-16 13:40:24 +0300 |
commit | d6ff307ec6da3737ef9b4d4f3aac688fc5860454 (patch) | |
tree | afa979d57dae1d4637df753ff48ec371753dcbda /mcs | |
parent | 82157625b5182ca9cec69558a91645bf5d72e988 (diff) |
Add test for bug #15153
Diffstat (limited to 'mcs')
-rw-r--r-- | mcs/class/System.ServiceModel/Test/System.ServiceModel/NetTcpBindingTest.cs | 7 |
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 { |