You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.182
Former-commit-id: 439c182e520038bf50777ca2fe684f216ae28552
This commit is contained in:
parent
c911219690
commit
804b15604f
@ -397,12 +397,12 @@ namespace System.ServiceModel.Channels
|
||||
return GetDetail<T> (new DataContractSerializer (typeof (T)));
|
||||
}
|
||||
|
||||
public T GetDetail<T> (XmlObjectSerializer formatter)
|
||||
public T GetDetail<T> (XmlObjectSerializer serializer)
|
||||
{
|
||||
if (!HasDetail)
|
||||
throw new InvalidOperationException ("This message does not have details.");
|
||||
|
||||
return (T) formatter.ReadObject (GetReaderAtDetailContents ());
|
||||
return (T) serializer.ReadObject (GetReaderAtDetailContents ());
|
||||
}
|
||||
|
||||
public XmlDictionaryReader GetReaderAtDetailContents ()
|
||||
|
Reference in New Issue
Block a user