net\System\UriExt.cs (31)
45ParsingError err = ParseScheme(m_String, ref m_Flags, ref m_Syntax);
67(uriKind == UriKind.Relative || (m_String.Length >= 2 && (m_String[0] != '\\' || m_String[1] != '\\'))))
106if ((!s_ConfigInitialized) && CheckForConfigLoad(m_String)){
113(CheckForUnicode(m_String) || CheckForEscapedUnreserved(m_String))) {
117m_originalUnicodeString = m_String; // original string location changed
243m_String = m_String.Normalize(NormalizationForm.FormC);
484fixed (char* str = m_String)
493if (!UriParser.ShouldUseLegacyV2Quirks && CheckForColonInFirstPathSegment(m_String))
497return (CheckCanonical(str, ref idx, (ushort)m_String.Length, c_EOL)
527if (idx >= m_Info.Offset.User || m_String[idx - 1] == '\\' || m_String[idx] == '\\')
533while (++idx < m_Info.Offset.User && (m_String[idx] == '/' || m_String[idx] == '\\'))
554if (IsDosPath && m_String[m_Info.Offset.Path + SecuredPathIndex - 1] == '|')
584if (idx + 1 >= m_String.Length || str[idx] != '/' || str[idx + 1] != '/')
826if ((object)newUriString == (object)baseUri.m_String)
836if (m_String.Length == 0)
839char[] dest = UriHelper.EscapeString(m_String, 0, m_String.Length, null, ref position, true,
842return m_String;
847return UnescapeDataString(m_String);
851if (m_String.Length == 0)
854char[] dest = new char[m_String.Length];
856dest = UriHelper.UnescapeString(m_String, 0, m_String.Length, dest, ref position, c_DummyChar,
1008while (otherUri.m_String[portIndex] != ':' && portIndex > otherUri.m_Info.Offset.Host)
1012if (otherUri.m_String[portIndex] != ':')
1023m_String = otherUri.m_String;