typo: Double word "in" (dotnet/corefx#36270)
authorNick Schonning <nschonni@gmail.com>
Sun, 24 Mar 2019 20:41:37 +0000 (16:41 -0400)
committerDavid Shulman <david.shulman@microsoft.com>
Sun, 24 Mar 2019 20:41:37 +0000 (13:41 -0700)
* typo: Double word "in"

* Update src/System.Console/src/System/Console.cs

Co-Authored-By: nschonni <nschonni@gmail.com>
Commit migrated from https://github.com/dotnet/corefx/commit/be1561c8fd02411c60edf551aa2c4f48377281d6

src/libraries/System.Console/src/System/Console.cs
src/libraries/System.Diagnostics.TraceSource/tests/CorrelationManagerTests.cs
src/libraries/System.IO.FileSystem/tests/Enumeration/RootTests.netcoreapp.cs

index b7eb568d3478e4ad51223940694a976e9df2593a..6639b91f48c6b2b93e7b861f97357c4534fa0bde 100644 (file)
@@ -53,7 +53,7 @@ namespace System
 
                     Volatile.Write(ref s_inputEncoding, (Encoding)value.Clone());
 
-                    // We need to reinitialize Console.In in the next call to s_in
+                    // We need to reinitialize 'Console.In' in the next call to s_in
                     // This will discard the current StreamReader, potentially 
                     // losing buffered data.
                     Volatile.Write(ref s_in, null);
index 824c4cfe79f30437dd654b87a36c19d5f52ec190..e3474a6f578a04ee32bd84bde38ed5ed0a7430b8 100644 (file)
@@ -126,7 +126,7 @@ namespace System.Diagnostics.TraceSourceTests
             // Note: this reverts the stack 
             Stack currentStack = new Stack(input);
 
-            // The expected values are passed in in the order they are supposed to be in the original stack
+            // The expected values are passed in the order they are supposed to be in the original stack
             // so we need to match them from the end of the array since the stack is also reversed
             for (int i = expectedContents.Length - 1; i >= 0; i--)
             {
index 91b1376edea059ec8f331b091832f071173b2446..31e5644d1ad343dfde7a6f4648f1d92d74e4924e 100644 (file)
@@ -49,7 +49,7 @@ namespace System.IO.Tests.Enumeration
                     // Should start with the root and shouldn't have a separator after the root
                     Assert.StartsWith(root, recursed.Current);
                     Assert.True(recursed.Current.LastIndexOf(Path.DirectorySeparatorChar) < root.Length,
-                        $"should have no separators pasth the root '{root}' in in '{recursed.Current}'");
+                        $"should have no separators past the root '{root}' in '{recursed.Current}'");
                 }
 
                 Assert.NotNull(recursed.LastDirectory);