THRIFT-4163: update cmake build type handling
diff --git a/lib/csharp/src/Protocol/TProtocolException.cs b/lib/csharp/src/Protocol/TProtocolException.cs
index 41c26a3..7bef236 100644
--- a/lib/csharp/src/Protocol/TProtocolException.cs
+++ b/lib/csharp/src/Protocol/TProtocolException.cs
@@ -43,7 +43,7 @@
}
public TProtocolException(int type, Exception inner = null)
- : base(string.Empty,inner)
+ : base(string.Empty, inner)
{
type_ = type;
}
diff --git a/lib/csharp/src/TException.cs b/lib/csharp/src/TException.cs
index aa9a210..b9fae6e 100644
--- a/lib/csharp/src/TException.cs
+++ b/lib/csharp/src/TException.cs
@@ -31,7 +31,7 @@
{
}
- public TException(string message, Exception inner)
+ public TException(string message, Exception inner = null)
: base(message, inner)
{
}