diff --git a/Tests/CSharpCore/Unit/OperationExceptionTestFixture.cs b/Tests/CSharpCore/Unit/OperationExceptionTestFixture.cs index c8044def..38b04285 100644 --- a/Tests/CSharpCore/Unit/OperationExceptionTestFixture.cs +++ b/Tests/CSharpCore/Unit/OperationExceptionTestFixture.cs @@ -47,9 +47,12 @@ public void TestConstructorWithSerializationInfoAndStreamingContext() info.AddValue("HelpURL", null); info.AddValue("StackTraceString", null); info.AddValue("RemoteStackTraceString", null); - info.AddValue("HResult", 0); + info.AddValue("HResult", -2146233088); info.AddValue("Source", null); info.AddValue("Agent", null); + info.AddValue("ClassName", typeof(OperationException).FullName); + info.AddValue("RemoteStackIndex", 0); + info.AddValue("ExceptionMethod", null); var context = new StreamingContext(); var ex = new OperationException(info, context); Assert.Equal("Operation failed.", ex.Message);