The names were fixed only for the subset of methods that are included in netstandard,
and in cases where netstandard differs from Desktop .NET we match with .NET.
NET_2_1 is also defined whenever we define MOBILE, so they have the same effect. Silverlight was 2.1 but it's been dead for a while now, and we do not even support it.
* MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
EndpointAddress as a special case. Instead, each MessageHeaders
property should convert it to appropriate serializable objects.
(Our DataContractSerializer fails to reject EndpointAddress as
serializable type, so it's rather a preparation step.)
svn path=/trunk/mcs/; revision=151196
* MessageHeaders.cs : null can be set as a WS-Addressing header item.
* MessageHeadersTest.cs : make sure null can be set as a
WS-Addressing header when version is None.
svn path=/trunk/mcs/; revision=148006
* net_2_1_raw_System.ServiceModel.dll.sources, Dummy_2_1.cs:
reflected a couple of SL3 updates.
* EndpointAddress10.cs : added it to the 2.1 build for SL3 API.
* MessageHeaders.cs
SecurityBindingElement.cs
LocalClientSecuritySettings.cs
TransportSecurityBindingElement.cs
FaultConverter.cs : They are now part of SL3 API.
* ClientCredentials.cs : it is part of SL3 API, so adjusted for it.
svn path=/trunk/mcs/; revision=146952
* TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
operation that does not involve session.
Preserve writer session as well as reader session.
* MessageHeaders.cs : take name and namespace into consideration
when creating a serializer.
svn path=/trunk/mcs/; revision=136975
* MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't
* exist in Silverlight.
Rewrite to avoid usage of it.
svn path=/trunk/mcs/; revision=124204