THRIFT-3319 CSharp tutorial will not build using the *.sln
Client: C#
Patch: Jens Geyer
This closes #604
diff --git a/tutorial/csharp/CsharpServer/CsharpServer.cs b/tutorial/csharp/CsharpServer/CsharpServer.cs
index d32016f..439790a 100644
--- a/tutorial/csharp/CsharpServer/CsharpServer.cs
+++ b/tutorial/csharp/CsharpServer/CsharpServer.cs
@@ -66,7 +66,7 @@
if (work.Num2 == 0)
{
InvalidOperation io = new InvalidOperation();
- io.What = (int)work.Op;
+ io.WhatOp = (int)work.Op;
io.Why = "Cannot divide by 0";
throw io;
}
@@ -76,7 +76,7 @@
default:
{
InvalidOperation io = new InvalidOperation();
- io.What = (int)work.Op;
+ io.WhatOp = (int)work.Op;
io.Why = "Unknown operation";
throw io;
}