Explorar o código

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

Jos Hickson %!s(int64=9) %!d(string=hai) anos
pai
achega
790e6afb72
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      csharp/src/Google.Protobuf/CodedInputStream.cs

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