Bläddra i källkod

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

Jos Hickson 9 år sedan
förälder
incheckning
790e6afb72
1 ändrade filer med 1 tillägg och 3 borttagningar
  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()
         {