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: 0x0200025B RID: 603
|
|
[Token(Token = "0x200025B")]
|
|
[Serializable]
|
|
public class CookieCollection : ICollection, IEnumerable
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.CookieCollection" /> class.</summary>
|
|
// Token: 0x06000F13 RID: 3859 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F13")]
|
|
[Address(RVA = "0xDC8780", Offset = "0xDC7780", VA = "0x180DC8780")]
|
|
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: 0x170002E1 RID: 737
|
|
[Token(Token = "0x170002E1")]
|
|
public Cookie this[int index]
|
|
{
|
|
[Token(Token = "0x6000F14")]
|
|
[Address(RVA = "0xDC8820", Offset = "0xDC7820", VA = "0x180DC8820")]
|
|
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: 0x06000F15 RID: 3861 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F15")]
|
|
[Address(RVA = "0xDC7F40", Offset = "0xDC6F40", VA = "0x180DC7F40")]
|
|
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: 0x06000F16 RID: 3862 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F16")]
|
|
[Address(RVA = "0xDC7CC0", Offset = "0xDC6CC0", VA = "0x180DC7CC0")]
|
|
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: 0x170002E2 RID: 738
|
|
// (get) Token: 0x06000F17 RID: 3863 RVA: 0x00007608 File Offset: 0x00005808
|
|
[Token(Token = "0x170002E2")]
|
|
public int Count
|
|
{
|
|
[Token(Token = "0x6000F17")]
|
|
[Address(RVA = "0x8E1280", Offset = "0x8E0280", VA = "0x1808E1280", 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: 0x170002E3 RID: 739
|
|
// (get) Token: 0x06000F18 RID: 3864 RVA: 0x00007620 File Offset: 0x00005820
|
|
[Token(Token = "0x170002E3")]
|
|
public bool IsSynchronized
|
|
{
|
|
[Token(Token = "0x6000F18")]
|
|
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", 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: 0x170002E4 RID: 740
|
|
// (get) Token: 0x06000F19 RID: 3865 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170002E4")]
|
|
public object SyncRoot
|
|
{
|
|
[Token(Token = "0x6000F19")]
|
|
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0", 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: 0x06000F1A RID: 3866 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F1A")]
|
|
[Address(RVA = "0xDC8010", Offset = "0xDC7010", VA = "0x180DC8010", Slot = "4")]
|
|
public void CopyTo(Array array, int index)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000F1B RID: 3867 RVA: 0x00007638 File Offset: 0x00005838
|
|
[Token(Token = "0x6000F1B")]
|
|
[Address(RVA = "0xDC8670", Offset = "0xDC7670", VA = "0x180DC8670")]
|
|
internal DateTime TimeStamp(CookieCollection.Stamp how)
|
|
{
|
|
return default(DateTime);
|
|
}
|
|
|
|
// Token: 0x170002E5 RID: 741
|
|
// (get) Token: 0x06000F1C RID: 3868 RVA: 0x00007650 File Offset: 0x00005850
|
|
[Token(Token = "0x170002E5")]
|
|
internal bool IsOtherVersionSeen
|
|
{
|
|
[Token(Token = "0x6000F1C")]
|
|
[Address(RVA = "0x51F260", Offset = "0x51E260", VA = "0x18051F260")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000F1D RID: 3869 RVA: 0x00007668 File Offset: 0x00005868
|
|
[Token(Token = "0x6000F1D")]
|
|
[Address(RVA = "0xDC8310", Offset = "0xDC7310", VA = "0x180DC8310")]
|
|
internal int InternalAdd(Cookie cookie, bool isStrict)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06000F1E RID: 3870 RVA: 0x00007680 File Offset: 0x00005880
|
|
[Token(Token = "0x6000F1E")]
|
|
[Address(RVA = "0xDC80D0", Offset = "0xDC70D0", VA = "0x180DC80D0")]
|
|
internal int IndexOf(Cookie cookie)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06000F1F RID: 3871 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F1F")]
|
|
[Address(RVA = "0xDC8640", Offset = "0xDC7640", VA = "0x180DC8640")]
|
|
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: 0x06000F20 RID: 3872 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000F20")]
|
|
[Address(RVA = "0xDC8040", Offset = "0xDC7040", VA = "0x180DC8040", Slot = "8")]
|
|
public IEnumerator GetEnumerator()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x040008F1 RID: 2289
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40008F1")]
|
|
internal int m_version;
|
|
|
|
// Token: 0x040008F2 RID: 2290
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40008F2")]
|
|
private ArrayList m_list;
|
|
|
|
// Token: 0x040008F3 RID: 2291
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40008F3")]
|
|
private DateTime m_TimeStamp;
|
|
|
|
// Token: 0x040008F4 RID: 2292
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40008F4")]
|
|
private bool m_has_other_versions;
|
|
|
|
// Token: 0x040008F5 RID: 2293
|
|
[FieldOffset(Offset = "0x29")]
|
|
[Token(Token = "0x40008F5")]
|
|
[OptionalField]
|
|
private bool m_IsReadOnly;
|
|
|
|
// Token: 0x0200025C RID: 604
|
|
[Token(Token = "0x200025C")]
|
|
internal enum Stamp
|
|
{
|
|
// Token: 0x040008F7 RID: 2295
|
|
[Token(Token = "0x40008F7")]
|
|
Check,
|
|
// Token: 0x040008F8 RID: 2296
|
|
[Token(Token = "0x40008F8")]
|
|
Set,
|
|
// Token: 0x040008F9 RID: 2297
|
|
[Token(Token = "0x40008F9")]
|
|
SetToUnused,
|
|
// Token: 0x040008FA RID: 2298
|
|
[Token(Token = "0x40008FA")]
|
|
SetToMaxUsed
|
|
}
|
|
|
|
// Token: 0x0200025D RID: 605
|
|
[Token(Token = "0x200025D")]
|
|
private class CookieCollectionEnumerator : IEnumerator
|
|
{
|
|
// Token: 0x06000F21 RID: 3873 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F21")]
|
|
[Address(RVA = "0xDC7C60", Offset = "0xDC6C60", VA = "0x180DC7C60")]
|
|
internal CookieCollectionEnumerator(CookieCollection cookies)
|
|
{
|
|
}
|
|
|
|
// Token: 0x170002E6 RID: 742
|
|
// (get) Token: 0x06000F22 RID: 3874 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170002E6")]
|
|
object IEnumerator.Current
|
|
{
|
|
[Token(Token = "0x6000F22")]
|
|
[Address(RVA = "0xDC7B70", Offset = "0xDC6B70", VA = "0x180DC7B70", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000F23 RID: 3875 RVA: 0x00007698 File Offset: 0x00005898
|
|
[Token(Token = "0x6000F23")]
|
|
[Address(RVA = "0xDC7AC0", Offset = "0xDC6AC0", VA = "0x180DC7AC0", Slot = "4")]
|
|
bool IEnumerator.MoveNext()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06000F24 RID: 3876 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F24")]
|
|
[Address(RVA = "0xB8E310", Offset = "0xB8D310", VA = "0x180B8E310", Slot = "6")]
|
|
void IEnumerator.Reset()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040008FB RID: 2299
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40008FB")]
|
|
private CookieCollection m_cookies;
|
|
|
|
// Token: 0x040008FC RID: 2300
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40008FC")]
|
|
private int m_count;
|
|
|
|
// Token: 0x040008FD RID: 2301
|
|
[FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x40008FD")]
|
|
private int m_index;
|
|
|
|
// Token: 0x040008FE RID: 2302
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40008FE")]
|
|
private int m_version;
|
|
}
|
|
}
|
|
}
|