aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJos Hickson <jos.hickson@gmail.com>2016-07-10 21:31:35 +0100
committerJon Skeet <skeet@pobox.com>2016-07-10 21:31:35 +0100
commit790e6afb72ed4ad952d9c74e73ae53a01443fe97 (patch)
treea1d22423fd33a665f061ba268c2191825999bcdb
parent3560cc9edef985d1f8882ab8e062aaeb5bc39ade (diff)
downloadprotobuf-790e6afb72ed4ad952d9c74e73ae53a01443fe97.tar.gz
protobuf-790e6afb72ed4ad952d9c74e73ae53a01443fe97.tar.bz2
protobuf-790e6afb72ed4ad952d9c74e73ae53a01443fe97.zip
Fixed out-of-date documentation for CodedInputStream.ReadEnum. (#1581)
-rw-r--r--csharp/src/Google.Protobuf/CodedInputStream.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/csharp/src/Google.Protobuf/CodedInputStream.cs b/csharp/src/Google.Protobuf/CodedInputStream.cs
index ce6856d6..072e2e17 100644
--- a/csharp/src/Google.Protobuf/CodedInputStream.cs
+++ b/csharp/src/Google.Protobuf/CodedInputStream.cs
@@ -612,9 +612,7 @@ namespace Google.Protobuf
}
/// <summary>
- /// Reads an enum field value from the stream. If the enum is valid for type T,
- /// then the ref value is set and it returns true. Otherwise the unknown output
- /// value is set and this method returns false.
+ /// Reads an enum field value from the stream.
/// </summary>
public int ReadEnum()
{