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