aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/AddressBook/SampleUsage.cs
diff options
context:
space:
mode:
authorJon Skeet <skeet@pobox.com>2016-07-14 22:01:47 +0100
committerGitHub <noreply@github.com>2016-07-14 22:01:47 +0100
commit10a8fb4e73b3dada58123aeabc393288ac791dc8 (patch)
tree54b058cfaff68b49a20aa8dfaec297faaddda109 /csharp/src/AddressBook/SampleUsage.cs
parent042993b3dd8c52f979870c91ea7fcbcf0dcf94a0 (diff)
downloadprotobuf-10a8fb4e73b3dada58123aeabc393288ac791dc8.tar.gz
protobuf-10a8fb4e73b3dada58123aeabc393288ac791dc8.tar.bz2
protobuf-10a8fb4e73b3dada58123aeabc393288ac791dc8.zip
Move to dotnet cli for building, and .NET Core (netstandard1.0) as target platform (#1727)
Move to dotnet cli for building, and .NET Core (netstandard1.0) as target platform This also updates the version number to 3.0.0-beta4
Diffstat (limited to 'csharp/src/AddressBook/SampleUsage.cs')
-rw-r--r--csharp/src/AddressBook/SampleUsage.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/src/AddressBook/SampleUsage.cs b/csharp/src/AddressBook/SampleUsage.cs
index aaaedda4..941d865a 100644
--- a/csharp/src/AddressBook/SampleUsage.cs
+++ b/csharp/src/AddressBook/SampleUsage.cs
@@ -66,7 +66,7 @@ namespace Google.Protobuf.Examples.AddressBook
// The message performs a deep-comparison on equality:
if (restored.People.Count != 1 || !person.Equals(restored.People[0]))
{
- throw new ApplicationException("There is a bad person in here!");
+ throw new Exception("There is a bad person in here!");
}
}
}