285 lines
10 KiB
C#
285 lines
10 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Provides a collection container for instances of the <see cref="T:System.Net.Cookie" /> class.</summary>
|
|
// Token: 0x0200025F RID: 607
|
|
[Token(Token = "0x200025F")]
|
|
[Serializable]
|
|
public class CookieCollection : ICollection, IEnumerable
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.CookieCollection" /> class.</summary>
|
|
// Token: 0x06000F29 RID: 3881 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F29")]
|
|
[Address(RVA = "0x29DB070", Offset = "0x29D9E70", VA = "0x1829DB070")]
|
|
public CookieCollection()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Net.Cookie" /> with a specific index from a <see cref="T:System.Net.CookieCollection" />.</summary>
|
|
/// <param name="index">The zero-based index of the <see cref="T:System.Net.Cookie" /> to be found.</param>
|
|
/// <returns>A <see cref="T:System.Net.Cookie" /> with a specific index from a <see cref="T:System.Net.CookieCollection" />.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="index" /> is less than 0 or <paramref name="index" /> is greater than or equal to <see cref="P:System.Net.CookieCollection.Count" />.</exception>
|
|
// Token: 0x170002E5 RID: 741
|
|
[Token(Token = "0x170002E5")]
|
|
public Cookie this[int index]
|
|
{
|
|
[Token(Token = "0x6000F2A")]
|
|
[Address(RVA = "0x29DB110", Offset = "0x29D9F10", VA = "0x1829DB110")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Adds a <see cref="T:System.Net.Cookie" /> to a <see cref="T:System.Net.CookieCollection" />.</summary>
|
|
/// <param name="cookie">The <see cref="T:System.Net.Cookie" /> to be added to a <see cref="T:System.Net.CookieCollection" />.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="cookie" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06000F2B RID: 3883 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F2B")]
|
|
[Address(RVA = "0x29DA830", Offset = "0x29D9630", VA = "0x1829DA830")]
|
|
public void Add(Cookie cookie)
|
|
{
|
|
}
|
|
|
|
/// <summary>Adds the contents of a <see cref="T:System.Net.CookieCollection" /> to the current instance.</summary>
|
|
/// <param name="cookies">The <see cref="T:System.Net.CookieCollection" /> to be added.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="cookies" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06000F2C RID: 3884 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F2C")]
|
|
[Address(RVA = "0x29DA5B0", Offset = "0x29D93B0", VA = "0x1829DA5B0")]
|
|
public void Add(CookieCollection cookies)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the number of cookies contained in a <see cref="T:System.Net.CookieCollection" />.</summary>
|
|
/// <returns>The number of cookies contained in a <see cref="T:System.Net.CookieCollection" />.</returns>
|
|
// Token: 0x170002E6 RID: 742
|
|
// (get) Token: 0x06000F2D RID: 3885 RVA: 0x00007620 File Offset: 0x00005820
|
|
[Token(Token = "0x170002E6")]
|
|
public int Count
|
|
{
|
|
[Token(Token = "0x6000F2D")]
|
|
[Address(RVA = "0x4A44B0", Offset = "0x4A32B0", VA = "0x1804A44B0", Slot = "5")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value that indicates whether access to a <see cref="T:System.Net.CookieCollection" /> is thread safe.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if access to the <see cref="T:System.Net.CookieCollection" /> is thread safe; otherwise, <see langword="false" />. The default is <see langword="false" />.</returns>
|
|
// Token: 0x170002E7 RID: 743
|
|
// (get) Token: 0x06000F2E RID: 3886 RVA: 0x00007638 File Offset: 0x00005838
|
|
[Token(Token = "0x170002E7")]
|
|
public bool IsSynchronized
|
|
{
|
|
[Token(Token = "0x6000F2E")]
|
|
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "7")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets an object to synchronize access to the <see cref="T:System.Net.CookieCollection" />.</summary>
|
|
/// <returns>An object to synchronize access to the <see cref="T:System.Net.CookieCollection" />.</returns>
|
|
// Token: 0x170002E8 RID: 744
|
|
// (get) Token: 0x06000F2F RID: 3887 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170002E8")]
|
|
public object SyncRoot
|
|
{
|
|
[Token(Token = "0x6000F2F")]
|
|
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0", Slot = "6")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Copies the elements of a <see cref="T:System.Net.CookieCollection" /> to an instance of the <see cref="T:System.Array" /> class, starting at a particular index.</summary>
|
|
/// <param name="array">The target <see cref="T:System.Array" /> to which the <see cref="T:System.Net.CookieCollection" /> will be copied.</param>
|
|
/// <param name="index">The zero-based index in the target <see cref="T:System.Array" /> where copying begins.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="array" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="index" /> is less than zero.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="array" /> is multidimensional.
|
|
/// -or-
|
|
/// The number of elements in this <see cref="T:System.Net.CookieCollection" /> is greater than the available space from <paramref name="index" /> to the end of the destination <paramref name="array" />.</exception>
|
|
/// <exception cref="T:System.InvalidCastException">The elements in this <see cref="T:System.Net.CookieCollection" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception>
|
|
// Token: 0x06000F30 RID: 3888 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F30")]
|
|
[Address(RVA = "0x29DA900", Offset = "0x29D9700", VA = "0x1829DA900", Slot = "4")]
|
|
public void CopyTo(Array array, int index)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000F31 RID: 3889 RVA: 0x00007650 File Offset: 0x00005850
|
|
[Token(Token = "0x6000F31")]
|
|
[Address(RVA = "0x29DAF60", Offset = "0x29D9D60", VA = "0x1829DAF60")]
|
|
internal DateTime TimeStamp(CookieCollection.Stamp how)
|
|
{
|
|
return default(DateTime);
|
|
}
|
|
|
|
// Token: 0x170002E9 RID: 745
|
|
// (get) Token: 0x06000F32 RID: 3890 RVA: 0x00007668 File Offset: 0x00005868
|
|
[Token(Token = "0x170002E9")]
|
|
internal bool IsOtherVersionSeen
|
|
{
|
|
[Token(Token = "0x6000F32")]
|
|
[Address(RVA = "0x494270", Offset = "0x493070", VA = "0x180494270")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000F33 RID: 3891 RVA: 0x00007680 File Offset: 0x00005880
|
|
[Token(Token = "0x6000F33")]
|
|
[Address(RVA = "0x29DAC00", Offset = "0x29D9A00", VA = "0x1829DAC00")]
|
|
internal int InternalAdd(Cookie cookie, bool isStrict)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06000F34 RID: 3892 RVA: 0x00007698 File Offset: 0x00005898
|
|
[Token(Token = "0x6000F34")]
|
|
[Address(RVA = "0x29DA9C0", Offset = "0x29D97C0", VA = "0x1829DA9C0")]
|
|
internal int IndexOf(Cookie cookie)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06000F35 RID: 3893 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F35")]
|
|
[Address(RVA = "0x29DAF30", Offset = "0x29D9D30", VA = "0x1829DAF30")]
|
|
internal void RemoveAt(int idx)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets an enumerator that can iterate through a <see cref="T:System.Net.CookieCollection" />.</summary>
|
|
/// <returns>An instance of an implementation of an <see cref="T:System.Collections.IEnumerator" /> interface that can iterate through a <see cref="T:System.Net.CookieCollection" />.</returns>
|
|
// Token: 0x06000F36 RID: 3894 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000F36")]
|
|
[Address(RVA = "0x29DA930", Offset = "0x29D9730", VA = "0x1829DA930", Slot = "8")]
|
|
public IEnumerator GetEnumerator()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x040008FE RID: 2302
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40008FE")]
|
|
internal int m_version;
|
|
|
|
// Token: 0x040008FF RID: 2303
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40008FF")]
|
|
private ArrayList m_list;
|
|
|
|
// Token: 0x04000900 RID: 2304
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000900")]
|
|
private DateTime m_TimeStamp;
|
|
|
|
// Token: 0x04000901 RID: 2305
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000901")]
|
|
private bool m_has_other_versions;
|
|
|
|
// Token: 0x04000902 RID: 2306
|
|
[FieldOffset(Offset = "0x29")]
|
|
[Token(Token = "0x4000902")]
|
|
[OptionalField]
|
|
private bool m_IsReadOnly;
|
|
|
|
// Token: 0x02000260 RID: 608
|
|
[Token(Token = "0x2000260")]
|
|
internal enum Stamp
|
|
{
|
|
// Token: 0x04000904 RID: 2308
|
|
[Token(Token = "0x4000904")]
|
|
Check,
|
|
// Token: 0x04000905 RID: 2309
|
|
[Token(Token = "0x4000905")]
|
|
Set,
|
|
// Token: 0x04000906 RID: 2310
|
|
[Token(Token = "0x4000906")]
|
|
SetToUnused,
|
|
// Token: 0x04000907 RID: 2311
|
|
[Token(Token = "0x4000907")]
|
|
SetToMaxUsed
|
|
}
|
|
|
|
// Token: 0x02000261 RID: 609
|
|
[Token(Token = "0x2000261")]
|
|
private class CookieCollectionEnumerator : IEnumerator
|
|
{
|
|
// Token: 0x06000F37 RID: 3895 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F37")]
|
|
[Address(RVA = "0x29DA550", Offset = "0x29D9350", VA = "0x1829DA550")]
|
|
internal CookieCollectionEnumerator(CookieCollection cookies)
|
|
{
|
|
}
|
|
|
|
// Token: 0x170002EA RID: 746
|
|
// (get) Token: 0x06000F38 RID: 3896 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170002EA")]
|
|
object IEnumerator.Current
|
|
{
|
|
[Token(Token = "0x6000F38")]
|
|
[Address(RVA = "0x29DA460", Offset = "0x29D9260", VA = "0x1829DA460", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000F39 RID: 3897 RVA: 0x000076B0 File Offset: 0x000058B0
|
|
[Token(Token = "0x6000F39")]
|
|
[Address(RVA = "0x29DA3B0", Offset = "0x29D91B0", VA = "0x1829DA3B0", Slot = "4")]
|
|
bool IEnumerator.MoveNext()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06000F3A RID: 3898 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F3A")]
|
|
[Address(RVA = "0x491530", Offset = "0x490330", VA = "0x180491530", Slot = "6")]
|
|
void IEnumerator.Reset()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000908 RID: 2312
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000908")]
|
|
private CookieCollection m_cookies;
|
|
|
|
// Token: 0x04000909 RID: 2313
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000909")]
|
|
private int m_count;
|
|
|
|
// Token: 0x0400090A RID: 2314
|
|
[FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x400090A")]
|
|
private int m_index;
|
|
|
|
// Token: 0x0400090B RID: 2315
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400090B")]
|
|
private int m_version;
|
|
}
|
|
}
|
|
}
|