public static void GetObjectData_InvalidArgs_Throws() { var e = new Win32Exception(); Assert.Throws<ArgumentNullException>("info", () => e.GetObjectData(null, default(StreamingContext))); } }