diff options
author | Levi Broderick <GrabYourPitchforks@users.noreply.github.com> | 2019-04-14 18:26:05 -0700 |
---|---|---|
committer | Stephen Toub <stoub@microsoft.com> | 2019-04-14 21:26:05 -0400 |
commit | 16aad3508ba78b30eef06e75c3eb81c8c37b7fc2 (patch) | |
tree | b5ff8f5e1832cf3141074cd0734e3fa7e562f031 /src | |
parent | 6c9438d58613267701396c7a25eae4c3a5e2c570 (diff) | |
download | coreclr-16aad3508ba78b30eef06e75c3eb81c8c37b7fc2.tar.gz coreclr-16aad3508ba78b30eef06e75c3eb81c8c37b7fc2.tar.bz2 coreclr-16aad3508ba78b30eef06e75c3eb81c8c37b7fc2.zip |
Remove old method names from Rune (#23938)
* Remove old method names from Rune, reenable suppressed tests
* Revert re-enablement of failing ArraySegment tests
Diffstat (limited to 'src')
-rw-r--r-- | src/System.Private.CoreLib/shared/System/Text/Rune.cs | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Text/Rune.cs b/src/System.Private.CoreLib/shared/System/Text/Rune.cs index a71750eaa5..00179bf56d 100644 --- a/src/System.Private.CoreLib/shared/System/Text/Rune.cs +++ b/src/System.Private.CoreLib/shared/System/Text/Rune.cs @@ -663,46 +663,6 @@ namespace System.Text } } - public static OperationStatus DecodeUtf16(ReadOnlySpan<char> utf16Source, out Rune result, out int charsConsumed) - { - // [TODO] This method was renamed to DecodeFromUtf16. We'll leave this copy of - // the method here temporarily so that we don't break corefx consumers - // while the rename takes place. - // Tracking issue: https://github.com/dotnet/coreclr/issues/23319 - - return DecodeFromUtf16(utf16Source, out result, out charsConsumed); - } - - public static OperationStatus DecodeUtf16FromEnd(ReadOnlySpan<char> utf16Source, out Rune result, out int charsConsumed) - { - // [TODO] This method was renamed to DecodeLastFromUtf16. We'll leave this copy of - // the method here temporarily so that we don't break corefx consumers - // while the rename takes place. - // Tracking issue: https://github.com/dotnet/coreclr/issues/23319 - - return DecodeLastFromUtf16(utf16Source, out result, out charsConsumed); - } - - public static OperationStatus DecodeUtf8(ReadOnlySpan<byte> utf8Source, out Rune result, out int bytesConsumed) - { - // [TODO] This method was renamed to DecodeFromUtf8. We'll leave this copy of - // the method here temporarily so that we don't break corefx consumers - // while the rename takes place. - // Tracking issue: https://github.com/dotnet/coreclr/issues/23319 - - return DecodeFromUtf8(utf8Source, out result, out bytesConsumed); - } - - public static OperationStatus DecodeUtf8FromEnd(ReadOnlySpan<byte> utf8Source, out Rune result, out int bytesConsumed) - { - // [TODO] This method was renamed to DecodeLastFromUtf8. We'll leave this copy of - // the method here temporarily so that we don't break corefx consumers - // while the rename takes place. - // Tracking issue: https://github.com/dotnet/coreclr/issues/23319 - - return DecodeLastFromUtf8(utf8Source, out result, out bytesConsumed); - } - /// <summary> /// Encodes this <see cref="Rune"/> to a UTF-16 destination buffer. /// </summary> @@ -985,16 +945,6 @@ namespace System.Text return false; } - public bool TryEncode(Span<char> destination, out int charsWritten) - { - // [TODO] This method was renamed to TryEncodeToUtf16. We'll leave this copy of - // the method here temporarily so that we don't break corefx consumers - // while the rename takes place. - // Tracking issue: https://github.com/dotnet/coreclr/issues/23319 - - return TryEncodeToUtf16(destination, out charsWritten); - } - /// <summary> /// Encodes this <see cref="Rune"/> to a destination buffer as UTF-8 bytes. /// </summary> @@ -1063,16 +1013,6 @@ namespace System.Text return false; } - public bool TryEncodeToUtf8Bytes(Span<byte> destination, out int bytesWritten) - { - // [TODO] This method was renamed to TryEncodeToUtf8. We'll leave this copy of - // the method here temporarily so that we don't break corefx consumers - // while the rename takes place. - // Tracking issue: https://github.com/dotnet/coreclr/issues/23319 - - return TryEncodeToUtf8(destination, out bytesWritten); - } - /// <summary> /// Attempts to get the <see cref="Rune"/> which begins at index <paramref name="index"/> in /// string <paramref name="input"/>. |