From: Nick Schonning Date: Sun, 24 Mar 2019 20:41:37 +0000 (-0400) Subject: typo: Double word "in" (dotnet/corefx#36270) X-Git-Tag: submit/tizen/20210909.063632~11031^2~2070 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=07746c980c691f03120c99d8706c8dc98850b19a;p=platform%2Fupstream%2Fdotnet%2Fruntime.git typo: Double word "in" (dotnet/corefx#36270) * typo: Double word "in" * Update src/System.Console/src/System/Console.cs Co-Authored-By: nschonni Commit migrated from https://github.com/dotnet/corefx/commit/be1561c8fd02411c60edf551aa2c4f48377281d6 --- diff --git a/src/libraries/System.Console/src/System/Console.cs b/src/libraries/System.Console/src/System/Console.cs index b7eb568d347..6639b91f48c 100644 --- a/src/libraries/System.Console/src/System/Console.cs +++ b/src/libraries/System.Console/src/System/Console.cs @@ -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); diff --git a/src/libraries/System.Diagnostics.TraceSource/tests/CorrelationManagerTests.cs b/src/libraries/System.Diagnostics.TraceSource/tests/CorrelationManagerTests.cs index 824c4cfe79f..e3474a6f578 100644 --- a/src/libraries/System.Diagnostics.TraceSource/tests/CorrelationManagerTests.cs +++ b/src/libraries/System.Diagnostics.TraceSource/tests/CorrelationManagerTests.cs @@ -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--) { diff --git a/src/libraries/System.IO.FileSystem/tests/Enumeration/RootTests.netcoreapp.cs b/src/libraries/System.IO.FileSystem/tests/Enumeration/RootTests.netcoreapp.cs index 91b1376edea..31e5644d1ad 100644 --- a/src/libraries/System.IO.FileSystem/tests/Enumeration/RootTests.netcoreapp.cs +++ b/src/libraries/System.IO.FileSystem/tests/Enumeration/RootTests.netcoreapp.cs @@ -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);