Files
27Aug2021-Cpp2IL-Dump/System/UriBuilder.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

353 lines
14 KiB
C#

using System;
using Cpp2IlInjected;
namespace System
{
/// <summary>Provides a custom constructor for uniform resource identifiers (URIs) and modifies URIs for the <see cref="T:System.Uri" /> class.</summary>
// Token: 0x02000074 RID: 116
[Token(Token = "0x2000074")]
public class UriBuilder
{
/// <summary>Initializes a new instance of the <see cref="T:System.UriBuilder" /> class.</summary>
// Token: 0x060001E5 RID: 485 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60001E5")]
[Address(RVA = "0x11D8FF0", Offset = "0x11D7FF0", VA = "0x1811D8FF0")]
public UriBuilder()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.UriBuilder" /> class with the specified URI.</summary>
/// <param name="uri">A URI string.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="uri" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.UriFormatException">In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, <see cref="T:System.FormatException" />, instead.
///
///
/// <paramref name="uri" /> is a zero length string or contains only spaces.
/// -or-
/// The parsing routine detected a scheme in an invalid form.
/// -or-
/// The parser detected more than two consecutive slashes in a URI that does not use the "file" scheme.
/// -or-
/// <paramref name="uri" /> is not a valid URI.</exception>
// Token: 0x060001E6 RID: 486 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60001E6")]
[Address(RVA = "0x11D8830", Offset = "0x11D7830", VA = "0x1811D8830")]
public UriBuilder(string uri)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.UriBuilder" /> class with the specified <see cref="T:System.Uri" /> instance.</summary>
/// <param name="uri">An instance of the <see cref="T:System.Uri" /> class.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="uri" /> is <see langword="null" />.</exception>
// Token: 0x060001E7 RID: 487 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60001E7")]
[Address(RVA = "0x11D86F0", Offset = "0x11D76F0", VA = "0x1811D86F0")]
public UriBuilder(Uri uri)
{
}
// Token: 0x060001E8 RID: 488 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60001E8")]
[Address(RVA = "0x11D7D30", Offset = "0x11D6D30", VA = "0x1811D7D30")]
private void Init(Uri uri)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.UriBuilder" /> class with the specified scheme and host.</summary>
/// <param name="schemeName">An Internet access protocol.</param>
/// <param name="hostName">A DNS-style domain name or IP address.</param>
// Token: 0x060001E9 RID: 489 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60001E9")]
[Address(RVA = "0x11D8BD0", Offset = "0x11D7BD0", VA = "0x1811D8BD0")]
public UriBuilder(string schemeName, string hostName)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.UriBuilder" /> class with the specified scheme, host, and port.</summary>
/// <param name="scheme">An Internet access protocol.</param>
/// <param name="host">A DNS-style domain name or IP address.</param>
/// <param name="portNumber">An IP port number for the service.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="portNumber" /> is less than -1 or greater than 65,535.</exception>
// Token: 0x060001EA RID: 490 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60001EA")]
[Address(RVA = "0x11D8E60", Offset = "0x11D7E60", VA = "0x1811D8E60")]
public UriBuilder(string scheme, string host, int portNumber)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.UriBuilder" /> class with the specified scheme, host, port number, and path.</summary>
/// <param name="scheme">An Internet access protocol.</param>
/// <param name="host">A DNS-style domain name or IP address.</param>
/// <param name="port">An IP port number for the service.</param>
/// <param name="pathValue">The path to the Internet resource.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="port" /> is less than -1 or greater than 65,535.</exception>
// Token: 0x060001EB RID: 491 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60001EB")]
[Address(RVA = "0x11D8EE0", Offset = "0x11D7EE0", VA = "0x1811D8EE0")]
public UriBuilder(string scheme, string host, int port, string pathValue)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.UriBuilder" /> class with the specified scheme, host, port number, path and query string or fragment identifier.</summary>
/// <param name="scheme">An Internet access protocol.</param>
/// <param name="host">A DNS-style domain name or IP address.</param>
/// <param name="port">An IP port number for the service.</param>
/// <param name="path">The path to the Internet resource.</param>
/// <param name="extraValue">A query string or fragment identifier.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="extraValue" /> is neither <see langword="null" /> nor <see cref="F:System.String.Empty" />, nor does a valid fragment identifier begin with a number sign (#), nor a valid query string begin with a question mark (?).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="port" /> is less than -1 or greater than 65,535.</exception>
// Token: 0x060001EC RID: 492 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60001EC")]
[Address(RVA = "0x11D89F0", Offset = "0x11D79F0", VA = "0x1811D89F0")]
public UriBuilder(string scheme, string host, int port, string path, string extraValue)
{
}
// Token: 0x1700003F RID: 63
// (set) Token: 0x060001ED RID: 493 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700003F")]
private string Extra
{
[Token(Token = "0x60001ED")]
[Address(RVA = "0x11D9180", Offset = "0x11D8180", VA = "0x1811D9180")]
set
{
}
}
/// <summary>Gets or sets the fragment portion of the URI.</summary>
/// <returns>The fragment portion of the URI. The fragment identifier ("#") is added to the beginning of the fragment.</returns>
// Token: 0x17000040 RID: 64
// (set) Token: 0x060001EE RID: 494 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000040")]
public string Fragment
{
[Token(Token = "0x60001EE")]
[Address(RVA = "0x11D93E0", Offset = "0x11D83E0", VA = "0x1811D93E0")]
set
{
}
}
/// <summary>Gets or sets the Domain Name System (DNS) host name or IP address of a server.</summary>
/// <returns>The DNS host name or IP address of the server.</returns>
// Token: 0x17000041 RID: 65
// (set) Token: 0x060001EF RID: 495 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000041")]
public string Host
{
[Token(Token = "0x60001EF")]
[Address(RVA = "0x11D9470", Offset = "0x11D8470", VA = "0x1811D9470")]
set
{
}
}
/// <summary>Gets or sets the path to the resource referenced by the URI.</summary>
/// <returns>The path to the resource referenced by the URI.</returns>
// Token: 0x17000042 RID: 66
// (get) Token: 0x060001F0 RID: 496 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x060001F1 RID: 497 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000042")]
public string Path
{
[Token(Token = "0x60001F0")]
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")]
get
{
return null;
}
[Token(Token = "0x60001F1")]
[Address(RVA = "0x11D9520", Offset = "0x11D8520", VA = "0x1811D9520")]
set
{
}
}
/// <summary>Gets or sets the port number of the URI.</summary>
/// <returns>The port number of the URI.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">The port cannot be set to a value less than -1 or greater than 65,535.</exception>
// Token: 0x17000043 RID: 67
// (set) Token: 0x060001F2 RID: 498 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000043")]
public int Port
{
[Token(Token = "0x60001F2")]
[Address(RVA = "0x11D95C0", Offset = "0x11D85C0", VA = "0x1811D95C0")]
set
{
}
}
/// <summary>Gets or sets any query information included in the URI.</summary>
/// <returns>The query information included in the URI.</returns>
// Token: 0x17000044 RID: 68
// (get) Token: 0x060001F3 RID: 499 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x060001F4 RID: 500 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000044")]
public string Query
{
[Token(Token = "0x60001F3")]
[Address(RVA = "0x417680", Offset = "0x416680", VA = "0x180417680")]
get
{
return null;
}
[Token(Token = "0x60001F4")]
[Address(RVA = "0x11D9640", Offset = "0x11D8640", VA = "0x1811D9640")]
set
{
}
}
/// <summary>Gets or sets the scheme name of the URI.</summary>
/// <returns>The scheme of the URI.</returns>
/// <exception cref="T:System.ArgumentException">The scheme cannot be set to an invalid scheme name.</exception>
// Token: 0x17000045 RID: 69
// (get) Token: 0x060001F5 RID: 501 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x060001F6 RID: 502 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000045")]
public string Scheme
{
[Token(Token = "0x60001F5")]
[Address(RVA = "0x4975A0", Offset = "0x4965A0", VA = "0x1804975A0")]
get
{
return null;
}
[Token(Token = "0x60001F6")]
[Address(RVA = "0x11D96D0", Offset = "0x11D86D0", VA = "0x1811D96D0")]
set
{
}
}
/// <summary>Gets the <see cref="T:System.Uri" /> instance constructed by the specified <see cref="T:System.UriBuilder" /> instance.</summary>
/// <returns>A <see cref="T:System.Uri" /> that contains the URI constructed by the <see cref="T:System.UriBuilder" />.</returns>
/// <exception cref="T:System.UriFormatException">In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, <see cref="T:System.FormatException" />, instead.
///
///
///
///
/// The URI constructed by the <see cref="T:System.UriBuilder" /> properties is invalid.</exception>
// Token: 0x17000046 RID: 70
// (get) Token: 0x060001F7 RID: 503 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000046")]
public Uri Uri
{
[Token(Token = "0x60001F7")]
[Address(RVA = "0x11D90E0", Offset = "0x11D80E0", VA = "0x1811D90E0")]
get
{
return null;
}
}
/// <summary>Compares an existing <see cref="T:System.Uri" /> instance with the contents of the <see cref="T:System.UriBuilder" /> for equality.</summary>
/// <param name="rparam">The object to compare with the current instance.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="rparam" /> represents the same <see cref="T:System.Uri" /> as the <see cref="T:System.Uri" /> constructed by this <see cref="T:System.UriBuilder" /> instance; otherwise, <see langword="false" />.</returns>
// Token: 0x060001F8 RID: 504 RVA: 0x00002898 File Offset: 0x00000A98
[Token(Token = "0x60001F8")]
[Address(RVA = "0x11D7C90", Offset = "0x11D6C90", VA = "0x1811D7C90", Slot = "0")]
public override bool Equals(object rparam)
{
return default(bool);
}
/// <summary>Returns the hash code for the URI.</summary>
/// <returns>The hash code generated for the URI.</returns>
// Token: 0x060001F9 RID: 505 RVA: 0x000028B0 File Offset: 0x00000AB0
[Token(Token = "0x60001F9")]
[Address(RVA = "0x11D7D00", Offset = "0x11D6D00", VA = "0x1811D7D00", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x060001FA RID: 506 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60001FA")]
[Address(RVA = "0x11D7EA0", Offset = "0x11D6EA0", VA = "0x1811D7EA0")]
private void SetFieldsFromUri(Uri uri)
{
}
/// <summary>Returns the display string for the specified <see cref="T:System.UriBuilder" /> instance.</summary>
/// <returns>The string that contains the unescaped display string of the <see cref="T:System.UriBuilder" />.</returns>
/// <exception cref="T:System.UriFormatException">In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, <see cref="T:System.FormatException" />, instead.
///
///
///
///
/// The <see cref="T:System.UriBuilder" /> instance has a bad password.</exception>
// Token: 0x060001FB RID: 507 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60001FB")]
[Address(RVA = "0x11D8000", Offset = "0x11D7000", VA = "0x1811D8000", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x04000129 RID: 297
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000129")]
private bool _changed;
// Token: 0x0400012A RID: 298
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400012A")]
private string _fragment;
// Token: 0x0400012B RID: 299
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400012B")]
private string _host;
// Token: 0x0400012C RID: 300
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x400012C")]
private string _password;
// Token: 0x0400012D RID: 301
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x400012D")]
private string _path;
// Token: 0x0400012E RID: 302
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x400012E")]
private int _port;
// Token: 0x0400012F RID: 303
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x400012F")]
private string _query;
// Token: 0x04000130 RID: 304
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000130")]
private string _scheme;
// Token: 0x04000131 RID: 305
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x4000131")]
private string _schemeDelimiter;
// Token: 0x04000132 RID: 306
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x4000132")]
private Uri _uri;
// Token: 0x04000133 RID: 307
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x4000133")]
private string _username;
}
}