Эх сурвалжийг харах

Fixed out-of-date documentation for CodedInputStream.ReadEnum. (#1581)

Jos Hickson 9 жил өмнө
parent
commit
790e6afb72

+ 1 - 3
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()
         {