using System; using Cpp2IlInjected; namespace System.Runtime.CompilerServices { /// Enables compilers to dynamically attach object fields to managed objects. /// The reference type to which the field is attached. /// The field's type. This must be a reference type. // Token: 0x02000580 RID: 1408 [Token(Token = "0x2000580")] public sealed class ConditionalWeakTable where TKey : class where TValue : class { /// Initializes a new instance of the class. // Token: 0x06002C8C RID: 11404 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C8C")] [Address(RVA = "0x2F30480", Offset = "0x2F2F480", VA = "0x182F30480")] public ConditionalWeakTable() { } /// Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the object. // Token: 0x06002C8D RID: 11405 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C8D")] [Address(RVA = "0x2F2F6C0", Offset = "0x2F2E6C0", VA = "0x182F2F6C0", Slot = "1")] protected override void Finalize() { } // Token: 0x06002C8E RID: 11406 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C8E")] [Address(RVA = "0x2F2F970", Offset = "0x2F2E970", VA = "0x182F2F970")] private void RehashWithoutResize() { } // Token: 0x06002C8F RID: 11407 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C8F")] [Address(RVA = "0x2F2F900", Offset = "0x2F2E900", VA = "0x182F2F900")] private void RecomputeSize() { } // Token: 0x06002C90 RID: 11408 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C90")] [Address(RVA = "0x2F2FBF0", Offset = "0x2F2EBF0", VA = "0x182F2FBF0")] private void Rehash() { } /// Adds a key to the table. /// The key to add. represents the object to which the property is attached. /// The key's property value. /// /// is . /// /// already exists. // Token: 0x06002C91 RID: 11409 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C91")] [Address(RVA = "0x2F2F3E0", Offset = "0x2F2E3E0", VA = "0x182F2F3E0")] public void Add(TKey key, TValue value) { } /// Removes a key and its value from the table. /// The key to remove. /// /// if the key is found and removed; otherwise, . /// /// is . // Token: 0x06002C92 RID: 11410 RVA: 0x00018D38 File Offset: 0x00016F38 [Token(Token = "0x6002C92")] [Address(RVA = "0x2F2FF20", Offset = "0x2F2EF20", VA = "0x182F2FF20")] public bool Remove(TKey key) { return default(bool); } /// Gets the value of the specified key. /// The key that represents an object with an attached property. /// When this method returns, contains the attached property value. If is not found, contains the default value. /// /// if is found; otherwise, . /// /// is . // Token: 0x06002C93 RID: 11411 RVA: 0x00018D50 File Offset: 0x00016F50 [Token(Token = "0x6002C93")] [Address(RVA = "0x2F301C0", Offset = "0x2F2F1C0", VA = "0x182F301C0")] public bool TryGetValue(TKey key, out TValue value) { return default(bool); } /// Atomically searches for a specified key in the table and returns the corresponding value. If the key does not exist in the table, the method invokes a callback method to create a value that is bound to the specified key. /// The key to search for. represents the object to which the property is attached. /// A delegate to a method that can create a value for the given . It has a single parameter of type TKey, and returns a value of type TValue. /// The value attached to , if already exists in the table; otherwise, the new value returned by the delegate. /// /// or is . // Token: 0x06002C94 RID: 11412 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002C94")] [Address(RVA = "0x2F2F730", Offset = "0x2F2E730", VA = "0x182F2F730")] public TValue GetValue(TKey key, ConditionalWeakTable.CreateValueCallback createValueCallback) { return null; } // Token: 0x04001964 RID: 6500 [Token(Token = "0x4001964")] private const int INITIAL_SIZE = 13; // Token: 0x04001965 RID: 6501 [Token(Token = "0x4001965")] private const float LOAD_FACTOR = 0.7f; // Token: 0x04001966 RID: 6502 [Token(Token = "0x4001966")] private const float COMPACT_FACTOR = 0.5f; // Token: 0x04001967 RID: 6503 [Token(Token = "0x4001967")] private const float EXPAND_FACTOR = 1.1f; // Token: 0x04001968 RID: 6504 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4001968")] private Ephemeron[] data; // Token: 0x04001969 RID: 6505 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4001969")] private object _lock; // Token: 0x0400196A RID: 6506 [FieldOffset(Offset = "0x0")] [Token(Token = "0x400196A")] private int size; /// Represents a method that creates a non-default value to add as part of a key/value pair to a object. /// The key that belongs to the value to create. /// /// /// An instance of a reference type that represents the value to attach to the specified key. // Token: 0x02000581 RID: 1409 // (Invoke) Token: 0x06002C96 RID: 11414 [Token(Token = "0x2000581")] public delegate TValue CreateValueCallback(TKey key); } }