mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-22 19:10:41 -10:00
Rebased version of CoreFX renames (#1941)
* FinalCoreFXRenames The last of the CoreFX renames. * Update DirectorySearcher.cs Fixed typo in DirectorySearcher.cs * Update TestClasses.SimpleTestClassWithObjectArrays.cs This fixes the expected value of the tests to runtime, instead of corefx. * Update PersistedFiles.Names.Unix.cs Adds a note to not update the corefx reference.
This commit is contained in:
1 parent
ea9bfd213b
commit
caa2ed9698
43 files changed
+154
-171
No files matched your search
@@ -477,7 +477,7 @@ namespace System.Text.Tests
|
||||
AssertExtensions.Throws<ArgumentException>("name", () => Encoding.GetEncoding((string)mapping[2]));
|
||||
}
|
||||
|
||||
// Currently the class EncodingInfo isn't present in corefx, so this checks none of the code pages are present.
|
||||
// Currently the class EncodingInfo isn't present in .NET Core, so this checks none of the code pages are present.
|
||||
// When it is, comment out this line and remove the previous foreach/assert.
|
||||
// Assert.Equal(CrossplatformDefaultEncodings, Encoding.GetEncodings().OrderBy(i => i.CodePage).Select(i => Map(i.CodePage, i.WebName)));
|
||||
|
||||
@@ -502,7 +502,7 @@ namespace System.Text.Tests
|
||||
}
|
||||
// Adding the code page provider should keep the originals, too.
|
||||
ValidateDefaultEncodings();
|
||||
// Currently the class EncodingInfo isn't present in corefx, so this checks the complete list
|
||||
// Currently the class EncodingInfo isn't present in .NET Core, so this checks the complete list
|
||||
// When it is, comment out this line and remove the previous foreach/assert.
|
||||
// Assert.Equal(CrossplatformDefaultEncodings().Union(CodePageInfo().Select(i => Map((int)i[0], (string)i[1])).OrderBy(i => i.Key)),
|
||||
// Encoding.GetEncodings().OrderBy(i => i.CodePage).Select(i => Map(i.CodePage, i.WebName)));
|
||||
|
||||
Reference in new issue
Block a user