diff --git a/src/libraries/System.Private.Uri/src/System/UriHelper.cs b/src/libraries/System.Private.Uri/src/System/UriHelper.cs index 660d15d49ade4f..0165a4926d80e5 100644 --- a/src/libraries/System.Private.Uri/src/System/UriHelper.cs +++ b/src/libraries/System.Private.Uri/src/System/UriHelper.cs @@ -4,15 +4,11 @@ using System.Text; using System.Diagnostics; using System.Runtime.InteropServices; -using System.Buffers; namespace System { internal static class UriHelper { - internal static readonly Encoding s_noFallbackCharUTF8 = Encoding.GetEncoding( - Encoding.UTF8.CodePage, new EncoderReplacementFallback(""), new DecoderReplacementFallback("")); - // http://host/Path/Path/File?Query is the base of // - http://host/Path/Path/File/ ... (those "File" words may be different in semantic but anyway) // - http://host/Path/Path/#Fragment