Procházet zdrojové kódy

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

Jos Hickson před 9 roky
rodič
revize
790e6afb72
1 změnil soubory, kde provedl 1 přidání a 3 odebrání
  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()
         {