Fix typos (#54216)
authorRobin van der Vliet <info@robinvandervliet.com>
Tue, 15 Jun 2021 14:01:01 +0000 (16:01 +0200)
committerGitHub <noreply@github.com>
Tue, 15 Jun 2021 14:01:01 +0000 (07:01 -0700)
src/libraries/System.Private.CoreLib/src/System/Int32.cs

index 14822ba..3c46f51 100644 (file)
@@ -143,7 +143,7 @@ namespace System
         }
 
         // Parses an integer from a String. Returns false rather
-        // than throwing exceptin if input is invalid
+        // than throwing an exception if input is invalid.
         //
         public static bool TryParse([NotNullWhen(true)] string? s, out int result)
         {
@@ -162,7 +162,7 @@ namespace System
         }
 
         // Parses an integer from a String in the given style. Returns false rather
-        // than throwing exceptin if input is invalid
+        // than throwing an exception if input is invalid.
         //
         public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out int result)
         {