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:
authorvinogradniy <vinogradniy@gmail.com>2017-10-24 01:40:51 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2017-10-24 01:40:51 +0300
commit79d96a5a8dbcbed6242c703f18b3becc36abf863 (patch)
treeb704376fd1d87064636f4ab9f02ab0a2a85f201b /mcs
parent03ea90cf1f9a823abf7f0fb23edbcfee6b640f82 (diff)
Fix WCF Windows Linux cross WCF-comunication via NetTcpBinding (without any security Transport|Message). (#5842)
See also: * https://stackoverflow.com/questions/37813752/wcf-and-data-contract-with-template * https://bugzilla.xamarin.com/show_bug.cgi?id=58261
Diffstat (limited to 'mcs')
-rw-r--r--mcs/class/System.ServiceModel/System.ServiceModel.Channels.NetTcp/TcpBinaryFrameManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.ServiceModel/System.ServiceModel.Channels.NetTcp/TcpBinaryFrameManager.cs b/mcs/class/System.ServiceModel/System.ServiceModel.Channels.NetTcp/TcpBinaryFrameManager.cs
index 11635d2dfd5..1f15f3d5831 100644
--- a/mcs/class/System.ServiceModel/System.ServiceModel.Channels.NetTcp/TcpBinaryFrameManager.cs
+++ b/mcs/class/System.ServiceModel/System.ServiceModel.Channels.NetTcp/TcpBinaryFrameManager.cs
@@ -73,7 +73,7 @@ namespace System.ServiceModel.Channels.NetTcp
{
int x = 0;
do {
- value /= 0x100;
+ value /= 0x80;
x++;
} while (value != 0);
return x;