terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
System.Uri Class Reference
+ Inheritance diagram for System.Uri:
+ Collaboration diagram for System.Uri:

Classes

class  MoreInfo
 
struct  Offset
 
class  UriInfo
 

Public Member Functions

 Uri (string uriString)
 
 Uri (string uriString, UriKind uriKind)
 
 Uri (Uri baseUri, string relativeUri)
 
 Uri (Uri baseUri, Uri relativeUri)
 
override int GetHashCode ()
 
override string ToString ()
 
override bool Equals (object comparand)
 
string GetComponents (UriComponents components, UriFormat format)
 
bool IsWellFormedOriginalString ()
 
bool IsBaseOf (Uri uri)
 

Static Public Member Functions

static unsafe UriHostNameType CheckHostName (string name)
 
static unsafe bool IsHexDigit (char character)
 
static unsafe int FromHex (char digit)
 
static bool operator== (Uri uri1, Uri uri2)
 
static bool operator!= (Uri uri1, Uri uri2)
 
static bool TryCreate (string uriString, UriKind uriKind, out Uri result)
 
static bool TryCreate (Uri baseUri, string relativeUri, out Uri result)
 
static bool TryCreate (Uri baseUri, Uri relativeUri, out Uri result)
 
static bool IsWellFormedUriString (string uriString, UriKind uriKind)
 
static string UnescapeDataString (string stringToUnescape)
 
static string EscapeDataString (string stringToEscape)
 

Static Public Attributes

static readonly string UriSchemeFile
 
static readonly string UriSchemeFtp
 
static readonly string UriSchemeGopher
 
static readonly string UriSchemeHttp
 
static readonly string UriSchemeHttps
 
static readonly string UriSchemeMailto
 
static readonly string UriSchemeNews
 
static readonly string UriSchemeNntp
 
static readonly string UriSchemeNetTcp
 
static readonly string UriSchemeNetPipe
 
static readonly string SchemeDelimiter
 

Protected Member Functions

 Uri (SerializationInfo serializationInfo, StreamingContext streamingContext)
 
void GetObjectData (SerializationInfo serializationInfo, StreamingContext streamingContext)
 

Package Functions

UriFormatException ParseMinimal ()
 
string GetParts (UriComponents uriParts, UriFormat formatAs)
 
unsafe bool InternalIsWellFormedOriginalString ()
 
unsafe string EscapeUnescapeIri (string input, int start, int end, UriComponents component)
 
string GetComponentsHelper (UriComponents uriComponents, UriFormat uriFormat)
 
unsafe bool IsBaseOfHelper (Uri uriLink)
 

Static Package Functions

static unsafe bool IriParsingStatic (UriParser syntax)
 
static bool IsGenDelim (char ch)
 
static string InternalEscapeString (string rawString)
 
static int CalculateCaseInsensitiveHashCode (string text)
 
static bool IsAsciiLetterOrDigit (char character)
 
static unsafe bool IsBidiControlCharacter (char ch)
 
static unsafe string StripBidiControlCharacter (char *strToClean, int start, int length)
 
static Uri CreateHelper (string uriString, bool dontEscape, UriKind uriKind, ref UriFormatException e)
 
static Uri ResolveHelper (Uri baseUri, Uri relativeUri, ref string newUriString, ref bool userEscaped, out UriFormatException e)
 

Static Package Attributes

static readonly string UriSchemeWs
 
static readonly string UriSchemeWss
 
static readonly bool IsWindowsFileSystem
 
static readonly char[] HexLowerChars
 

Properties

bool IsImplicitFile [get, set]
 
bool IsUncOrDosPath [get, set]
 
bool IsDosPath [get, set]
 
bool IsUncPath [get, set]
 
Uri.Flags HostType [get, set]
 
UriParser Syntax [get, set]
 
bool IsNotAbsoluteUri [get, set]
 
bool AllowIdn [get, set]
 
bool UserDrivenParsing [get, set]
 
ushort SecuredPathIndex [get, set]
 
string AbsolutePath [get, set]
 
string PrivateAbsolutePath [get, set]
 
string AbsoluteUri [get, set]
 
string LocalPath [get, set]
 
string Authority [get, set]
 
UriHostNameType HostNameType [get, set]
 
bool IsDefaultPort [get, set]
 
bool IsFile [get, set]
 
bool IsLoopback [get, set]
 
string PathAndQuery [get, set]
 
string[] Segments [get, set]
 
bool IsUnc [get, set]
 
string Host [get, set]
 
static object InitializeLock [get, set]
 
int Port [get, set]
 
string Query [get, set]
 
string Fragment [get, set]
 
string Scheme [get, set]
 
bool OriginalStringSwitched [get, set]
 
string OriginalString [get, set]
 
string DnsSafeHost [get, set]
 
bool IsAbsoluteUri [get, set]
 
bool UserEscaped [get, set]
 
string UserInfo [get, set]
 
bool HasAuthority [get, set]
 

Private Types

enum  Flags : ulong {
  Zero = 0UL , SchemeNotCanonical = 1UL , UserNotCanonical = 2UL , HostNotCanonical = 4UL ,
  PortNotCanonical = 8UL , PathNotCanonical = 16UL , QueryNotCanonical = 32UL , FragmentNotCanonical = 64UL ,
  CannotDisplayCanonical = 127UL , E_UserNotCanonical = 128UL , E_HostNotCanonical = 256UL , E_PortNotCanonical = 512UL ,
  E_PathNotCanonical = 1024UL , E_QueryNotCanonical = 2048UL , E_FragmentNotCanonical = 4096UL , E_CannotDisplayCanonical = 8064UL ,
  ShouldBeCompressed = 8192UL , FirstSlashAbsent = 16384UL , BackslashInPath = 32768UL , IndexMask = 65535UL ,
  HostTypeMask = 458752UL , HostNotParsed = 0UL , IPv6HostType = 65536UL , IPv4HostType = 131072UL ,
  DnsHostType = 196608UL , UncHostType = 262144UL , BasicHostType = 327680UL , UnusedHostType = 393216UL ,
  UnknownHostType = 458752UL , UserEscaped = 524288UL , AuthorityFound = 1048576UL , HasUserInfo = 2097152UL ,
  LoopbackHost = 4194304UL , NotDefaultPort = 8388608UL , UserDrivenParsing = 16777216UL , CanonicalDnsHost = 33554432UL ,
  ErrorOrParsingRecursion = 67108864UL , DosPath = 134217728UL , UncPath = 268435456UL , ImplicitFile = 536870912UL ,
  MinimalUriInfoSet = 1073741824UL , AllUriInfoSet = 2147483648UL , IdnHost = 4294967296UL , HasUnicode = 8589934592UL ,
  HostUnicodeNormalized = 17179869184UL , RestUnicodeNormalized = 34359738368UL , UnicodeHost = 68719476736UL , IntranetUri = 137438953472UL ,
  UseOrigUncdStrOffset = 274877906944UL , UserIriCanonical = 549755813888UL , PathIriCanonical = 1099511627776UL , QueryIriCanonical = 2199023255552UL ,
  FragmentIriCanonical = 4398046511104UL , IriCanonical = 8246337208320UL , CompressedSlashes = 17592186044416UL
}
 
enum  Check {
  None = 0 , EscapedCanonical = 1 , DisplayCanonical = 2 , DotSlashAttn = 4 ,
  DotSlashEscaped = 128 , BackslashInPath = 16 , ReservedFound = 32 , NotIriCanonical = 64 ,
  FoundNonAscii = 8
}
 

Private Member Functions

unsafe bool AllowIdnStatic (UriParser syntax, Uri.Flags flags)
 
bool IsIntranet (string schemeHost)
 
void SetUserDrivenParsing ()
 
bool NotAny (Uri.Flags flags)
 
bool InFact (Uri.Flags flags)
 
Uri.UriInfo EnsureUriInfo ()
 
void EnsureParseRemaining ()
 
void EnsureHostString (bool allowDnsOptimization)
 
void CreateUri (Uri baseUri, string relativeUri, bool dontEscape)
 
void System.Runtime.Serialization.ISerializable. GetObjectData (SerializationInfo serializationInfo, StreamingContext streamingContext)
 
string GetLocalPath ()
 
unsafe ParsingError PrivateParseMinimal ()
 
void PrivateParseMinimalIri (string newHost, ushort idx)
 
void CreateUriInfo (Uri.Flags cF)
 
unsafe void CreateHostString ()
 
unsafe void GetHostViaCustomSyntax ()
 
string GetEscapedParts (UriComponents uriParts)
 
string GetUnescapedParts (UriComponents uriParts, UriFormat formatAs)
 
unsafe string ReCreateParts (UriComponents parts, ushort nonCanonical, UriFormat formatAs)
 
string GetUriPartsFromUserString (UriComponents uriParts)
 
unsafe void ParseRemaining ()
 
unsafe ushort CheckAuthorityHelper (char *pString, ushort idx, ushort length, ref ParsingError err, ref Uri.Flags flags, UriParser syntax, ref string newHost)
 
unsafe void CheckAuthorityHelperHandleDnsIri (char *pString, ushort start, int end, int startInput, bool iriParsing, bool hasUnicode, UriParser syntax, string userInfoString, ref Uri.Flags flags, ref bool justNormalized, ref string newHost, ref ParsingError err)
 
unsafe void CheckAuthorityHelperHandleAnyHostIri (char *pString, int startInput, int end, bool iriParsing, bool hasUnicode, UriParser syntax, ref Uri.Flags flags, ref string newHost, ref ParsingError err)
 
unsafe void FindEndOfComponent (string input, ref ushort idx, ushort end, char delim)
 
unsafe void FindEndOfComponent (char *str, ref ushort idx, ushort end, char delim)
 
unsafe Uri.Check CheckCanonical (char *str, ref ushort idx, ushort end, char delim)
 
unsafe char[] GetCanonicalPath (char[] dest, ref int pos, UriFormat formatAs)
 
void CreateThis (string uri, bool dontEscape, UriKind uriKind)
 
void InitializeUri (ParsingError err, UriKind uriKind, out UriFormatException e)
 
bool CheckForConfigLoad (string data)
 
bool CheckForUnicode (string data)
 
bool CheckForEscapedUnreserved (string data)
 
 Uri (Uri.Flags flags, UriParser uriParser, string uri)
 
string GetRelativeSerializationString (UriFormat format)
 
void CreateThisFromUri (Uri otherUri)
 

Static Private Member Functions

static bool StaticNotAny (Uri.Flags allFlags, Uri.Flags checkFlags)
 
static bool StaticInFact (Uri.Flags allFlags, Uri.Flags checkFlags)
 
static unsafe ParsingError GetCombinedString (Uri baseUri, string relativeStr, bool dontEscape, ref string result)
 
static UriFormatException GetException (ParsingError err)
 
static bool StaticIsFile (UriParser syntax)
 
static unsafe void InitializeUriConfig ()
 
static bool CheckForColonInFirstPathSegment (string uriString)
 
static unsafe ParsingError ParseScheme (string uriString, ref Uri.Flags flags, ref UriParser syntax)
 
static string CreateHostStringHelper (string str, ushort idx, ushort end, ref Uri.Flags flags, ref string scopeId)
 
static unsafe ushort ParseSchemeCheckImplicitFile (char *uriString, ushort length, ref ParsingError err, ref Uri.Flags flags, ref UriParser syntax)
 
static unsafe bool CheckKnownSchemes (long *lptr, ushort nChars, ref UriParser syntax)
 
static unsafe ParsingError CheckSchemeSyntax (char *ptr, ushort length, ref UriParser syntax)
 
static unsafe void UnescapeOnly (char *pch, int start, ref int end, char ch1, char ch2, char ch3)
 
static char[] Compress (char[] dest, ushort start, ref int destLength, UriParser syntax)
 
static string CombineUri (Uri basePart, string relativePart, UriFormat uriFormat)
 
static bool IsLWS (char ch)
 
static bool IsAsciiLetter (char character)
 
static Uri ()
 

Private Attributes

string m_String
 
string m_originalUnicodeString
 
UriParser m_Syntax
 
string m_DnsSafeHost
 
Uri.Flags m_Flags
 
Uri.UriInfo m_Info
 
bool m_iriParsing
 

Static Private Attributes

static bool s_ConfigInitialized
 
static bool s_ConfigInitializing
 
static UriIdnScope s_IdnScope
 
static bool s_IriParsing
 
static bool useDotNetRelativeOrAbsolute
 
static object s_initLock
 
static readonly char[] _WSchars
 

Detailed Description

Definition at line 28 of file Uri.cs.


The documentation for this class was generated from the following file: