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