public void PermitOnlySerializationFormatter_GetObjectData () { StreamingContext sc = new StreamingContext (StreamingContextStates.All); XPathException xe = new XPathException (String.Empty, null); xe.GetObjectData (null, sc); }