mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* OperationDescription.cs : add contract origin flags to identify which operation should be used for client operations (and dispatch too in the future). * MessageDescription.cs : add IsRequest flag to indicate if it is for request or not. * ServiceContractGenerator.cs, ContractDescriptionGenerator.cs : make use of above changes. * ContractDescription.cs : don't create extraneous ClientOperations in irrelevant message direction. * EndpointDispatcher.cs, BaseMessagesFormatter.cs: Now MessageDescription.Direction is differentiated from "IsRequest" property, to precisely identify request/reply in callbacks. Also now we don't have to create extraneous ContractDescription for callbacks. * DuplexClientRuntimeChannel.cs : do not create and use extraneous ContractDescription for callback contract. Non-callback ones now works fine. This fixes service part of bug #567672, IsOneWay = true case. svn path=/trunk/mcs/; revision=158454