Fix typo tihs -> this (#52398)
authorJonas Nyrup <jnyrup@users.noreply.github.com>
Fri, 21 May 2021 22:03:21 +0000 (00:03 +0200)
committerGitHub <noreply@github.com>
Fri, 21 May 2021 22:03:21 +0000 (15:03 -0700)
src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.cs
src/libraries/System.Text.RegularExpressions/src/README.md

index e1305a0b60d559d308da709a7bc761611296117f..7cc5538ddb4b1cc3536362d5d92990e21f4bc0d9 100644 (file)
@@ -1254,7 +1254,7 @@ namespace System.Diagnostics
         {
             // the underlying Start method can only return null on Windows platforms,
             // when the ProcessStartInfo.UseShellExecute property is set to true.
-            // We can thus safely assert non-nullability for tihs overload.
+            // We can thus safely assert non-nullability for this overload.
             return Start(new ProcessStartInfo(fileName))!;
         }
 
@@ -1273,7 +1273,7 @@ namespace System.Diagnostics
         {
             // the underlying Start method can only return null on Windows platforms,
             // when the ProcessStartInfo.UseShellExecute property is set to true.
-            // We can thus safely assert non-nullability for tihs overload.
+            // We can thus safely assert non-nullability for this overload.
             return Start(new ProcessStartInfo(fileName, arguments))!;
         }
 
index 5d93648e04c9babadb3c0f58902040badeab3ce2..bdc154e86bd78d3b7af0091b3f2888a13e91802c 100644 (file)
@@ -61,7 +61,7 @@ In particular, we must keep this API stable in order to remain compatible with r
 
 * Representation of a "character class", which defines what characters should be considered a match.  It supports ranges, Unicode categories, and character class subtraction.  As part of reduction / optimization of a `RegexNode` as well as during compilation, trivial character classes may be replaced by faster equivalent forms, e.g. replacing a character class that represents just one character with the corresponding "one" `RegexNode`.
 * Created by `RegexParser`
-* Creates packed string to be held on `RegexNode`. During execution, tihs string is passed to `CharInClass` to determine whether a given character is in the set, although the implementation (in particular in the compiler) may emit faster equivalent checks when possible.
+* Creates packed string to be held on `RegexNode`. During execution, this string is passed to `CharInClass` to determine whether a given character is in the set, although the implementation (in particular in the compiler) may emit faster equivalent checks when possible.
 * Has utility methods for examining the packed string, in particular for testing membership of the class (`CharInClass(..)`)
 
 ### RegexNode