Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: third_party/protobuf/csharp/src/Google.Protobuf/CodedInputStream.cs

Issue 2590803003: Revert "third_party/protobuf: Update to HEAD (83d681ee2c)" (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/protobuf/csharp/src/Google.Protobuf/CodedInputStream.cs
diff --git a/third_party/protobuf/csharp/src/Google.Protobuf/CodedInputStream.cs b/third_party/protobuf/csharp/src/Google.Protobuf/CodedInputStream.cs
index 5ea561503643f7bc4bba7ef84d7b82d00d1b6d39..3484457f64752e084e5eac6c369a2eed6db5e98b 100644
--- a/third_party/protobuf/csharp/src/Google.Protobuf/CodedInputStream.cs
+++ b/third_party/protobuf/csharp/src/Google.Protobuf/CodedInputStream.cs
@@ -612,7 +612,9 @@ namespace Google.Protobuf
}
/// <summary>
- /// Reads an enum field value from the stream.
+ /// 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.
/// </summary>
public int ReadEnum()
{

Powered by Google App Engine
This is Rietveld 408576698