diff options
author | Jon Skeet <jonskeet@google.com> | 2017-11-28 12:06:08 +0000 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2017-11-29 07:14:57 +0000 |
commit | 74f64b667cc558cdc6318275d640e742e7f9cd8b (patch) | |
tree | b307cdf10b5b4e00acc686ffd34c65719725f28e | |
parent | 3c6fd3f7f9ebd5bdd909e0915f79f5a118773d46 (diff) | |
download | protobuf-74f64b667cc558cdc6318275d640e742e7f9cd8b.tar.gz protobuf-74f64b667cc558cdc6318275d640e742e7f9cd8b.tar.bz2 protobuf-74f64b667cc558cdc6318275d640e742e7f9cd8b.zip |
Fix JsonTokenizer exception message
-rw-r--r-- | csharp/src/Google.Protobuf/JsonTokenizer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/src/Google.Protobuf/JsonTokenizer.cs b/csharp/src/Google.Protobuf/JsonTokenizer.cs index 2fc1e7c3..0e403f78 100644 --- a/csharp/src/Google.Protobuf/JsonTokenizer.cs +++ b/csharp/src/Google.Protobuf/JsonTokenizer.cs @@ -245,7 +245,7 @@ namespace Google.Protobuf state = State.ObjectAfterColon; break; case ',': - ValidateState(State.ObjectAfterProperty | State.ArrayAfterValue, "Invalid state to read a colon: "); + ValidateState(State.ObjectAfterProperty | State.ArrayAfterValue, "Invalid state to read a comma: "); state = state == State.ObjectAfterProperty ? State.ObjectAfterComma : State.ArrayAfterComma; break; case '"': |