m
This commit is contained in:
@@ -0,0 +1,143 @@
|
||||
using System;
|
||||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>Dynamic site type.</summary>
|
||||
/// <typeparam name="T">The delegate type.</typeparam>
|
||||
// Token: 0x0200025A RID: 602
|
||||
[Token(Token = "0x200025A")]
|
||||
public class CallSite<T> : CallSite where T : class
|
||||
{
|
||||
/// <summary>The update delegate. Called when the dynamic site experiences cache miss.</summary>
|
||||
/// <returns>The update delegate.</returns>
|
||||
// Token: 0x17000262 RID: 610
|
||||
// (get) Token: 0x06000BF9 RID: 3065 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000262")]
|
||||
public T Update
|
||||
{
|
||||
[Token(Token = "0x6000BF9")]
|
||||
[Address(RVA = "0x2F2F370", Offset = "0x2F2E370", VA = "0x182F2F370")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000BFA RID: 3066 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000BFA")]
|
||||
[Address(RVA = "0x2F2F300", Offset = "0x2F2E300", VA = "0x182F2F300")]
|
||||
private CallSite(CallSiteBinder binder)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000BFB RID: 3067 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000BFB")]
|
||||
[Address(RVA = "0x2F2F350", Offset = "0x2F2E350", VA = "0x182F2F350")]
|
||||
private CallSite()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000BFC RID: 3068 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000BFC")]
|
||||
[Address(RVA = "0x2F2EE80", Offset = "0x2F2DE80", VA = "0x182F2EE80")]
|
||||
internal CallSite<T> CreateMatchMaker()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates an instance of the dynamic call site, initialized with the binder responsible for the runtime binding of the dynamic operations at this call site.</summary>
|
||||
/// <param name="binder">The binder responsible for the runtime binding of the dynamic operations at this call site.</param>
|
||||
/// <returns>The new instance of dynamic call site.</returns>
|
||||
// Token: 0x06000BFD RID: 3069 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000BFD")]
|
||||
[Address(RVA = "0x2F2EEE0", Offset = "0x2F2DEE0", VA = "0x182F2EEE0")]
|
||||
public static CallSite<T> Create(CallSiteBinder binder)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000BFE RID: 3070 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000BFE")]
|
||||
[Address(RVA = "0x2F2F080", Offset = "0x2F2E080", VA = "0x182F2F080")]
|
||||
private T GetUpdateDelegate()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000BFF RID: 3071 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000BFF")]
|
||||
[Address(RVA = "0x2F2F0F0", Offset = "0x2F2E0F0", VA = "0x182F2F0F0")]
|
||||
private T GetUpdateDelegate(ref T addr)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000C00 RID: 3072 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C00")]
|
||||
[Address(RVA = "0x2F2D570", Offset = "0x2F2C570", VA = "0x182F2D570")]
|
||||
internal void AddRule(T newRule)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000C01 RID: 3073 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C01")]
|
||||
[Address(RVA = "0x2F2F240", Offset = "0x2F2E240", VA = "0x182F2F240")]
|
||||
internal void MoveRule(int i)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000C02 RID: 3074 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C02")]
|
||||
[Address(RVA = "0x2F2F130", Offset = "0x2F2E130", VA = "0x182F2F130")]
|
||||
internal T MakeUpdateDelegate()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000C03 RID: 3075 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C03")]
|
||||
[Address(RVA = "0x2F2DAF0", Offset = "0x2F2CAF0", VA = "0x182F2DAF0")]
|
||||
private T CreateCustomUpdateDelegate(MethodInfo invoke)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000C04 RID: 3076 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C04")]
|
||||
[Address(RVA = "0x2F2D760", Offset = "0x2F2C760", VA = "0x182F2D760")]
|
||||
private T CreateCustomNoMatchDelegate(MethodInfo invoke)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000C05 RID: 3077 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C05")]
|
||||
[Address(RVA = "0x2F2D6C0", Offset = "0x2F2C6C0", VA = "0x182F2D6C0")]
|
||||
private static Expression Convert(Expression arg, Type type)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>The Level 0 cache - a delegate specialized based on the site history.</summary>
|
||||
// Token: 0x04000490 RID: 1168
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000490")]
|
||||
public T Target;
|
||||
|
||||
// Token: 0x04000491 RID: 1169
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000491")]
|
||||
internal T[] Rules;
|
||||
|
||||
// Token: 0x04000492 RID: 1170
|
||||
[Token(Token = "0x4000492")]
|
||||
private static T s_cachedUpdate;
|
||||
|
||||
// Token: 0x04000493 RID: 1171
|
||||
[Token(Token = "0x4000493")]
|
||||
private static T s_cachedNoMatch;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>A dynamic call site base class. This type is used as a parameter type to the dynamic site targets.</summary>
|
||||
// Token: 0x02000259 RID: 601
|
||||
[Token(Token = "0x2000259")]
|
||||
public class CallSite
|
||||
{
|
||||
// Token: 0x06000BF7 RID: 3063 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000BF7")]
|
||||
[Address(RVA = "0x493D90", Offset = "0x492D90", VA = "0x180493D90")]
|
||||
internal CallSite(CallSiteBinder binder)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Class responsible for binding dynamic operations on the dynamic site.</summary>
|
||||
/// <returns>The <see cref="T:System.Runtime.CompilerServices.CallSiteBinder" /> object responsible for binding dynamic operations.</returns>
|
||||
// Token: 0x17000261 RID: 609
|
||||
// (get) Token: 0x06000BF8 RID: 3064 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000261")]
|
||||
public CallSiteBinder Binder
|
||||
{
|
||||
[Token(Token = "0x6000BF8")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400048E RID: 1166
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400048E")]
|
||||
internal readonly CallSiteBinder _binder;
|
||||
|
||||
// Token: 0x0400048F RID: 1167
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400048F")]
|
||||
internal bool _match;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,139 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq.Expressions;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>Class responsible for runtime binding of the dynamic operations on the dynamic call site.</summary>
|
||||
// Token: 0x0200025C RID: 604
|
||||
[Token(Token = "0x200025C")]
|
||||
public abstract class CallSiteBinder
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.CallSiteBinder" /> class.</summary>
|
||||
// Token: 0x06000C0B RID: 3083 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C0B")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
protected CallSiteBinder()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a label that can be used to cause the binding to be updated. It indicates that the expression's binding is no longer valid. This is typically used when the "version" of a dynamic object has changed.</summary>
|
||||
/// <returns>The <see cref="T:System.Linq.Expressions.LabelTarget" /> object representing a label that can be used to trigger the binding update.</returns>
|
||||
// Token: 0x17000263 RID: 611
|
||||
// (get) Token: 0x06000C0C RID: 3084 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000263")]
|
||||
public static LabelTarget UpdateLabel
|
||||
{
|
||||
[Token(Token = "0x6000C0C")]
|
||||
[Address(RVA = "0x10D6D10", Offset = "0x10D5D10", VA = "0x1810D6D10")]
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Performs the runtime binding of the dynamic operation on a set of arguments.</summary>
|
||||
/// <param name="args">An array of arguments to the dynamic operation.</param>
|
||||
/// <param name="parameters">The array of <see cref="T:System.Linq.Expressions.ParameterExpression" /> instances that represent the parameters of the call site in the binding process.</param>
|
||||
/// <param name="returnLabel">A LabelTarget used to return the result of the dynamic binding.</param>
|
||||
/// <returns>An Expression that performs tests on the dynamic operation arguments, and performs the dynamic operation if the tests are valid. If the tests fail on subsequent occurrences of the dynamic operation, Bind will be called again to produce a new <see cref="T:System.Linq.Expressions.Expression" /> for the new argument types.</returns>
|
||||
// Token: 0x06000C0D RID: 3085
|
||||
[Token(Token = "0x6000C0D")]
|
||||
[Address(Slot = "4")]
|
||||
public abstract Expression Bind(object[] args, ReadOnlyCollection<ParameterExpression> parameters, LabelTarget returnLabel);
|
||||
|
||||
/// <summary>Provides low-level runtime binding support. Classes can override this and provide a direct delegate for the implementation of rule. This can enable saving rules to disk, having specialized rules available at runtime, or providing a different caching policy.</summary>
|
||||
/// <param name="site">The CallSite the bind is being performed for.</param>
|
||||
/// <param name="args">The arguments for the binder.</param>
|
||||
/// <typeparam name="T">The target type of the CallSite.</typeparam>
|
||||
/// <returns>A new delegate which replaces the CallSite Target.</returns>
|
||||
// Token: 0x06000C0E RID: 3086 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C0E")]
|
||||
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "5")]
|
||||
public virtual T BindDelegate<T>(CallSite<T> site, object[] args) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000C0F RID: 3087 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C0F")]
|
||||
[Address(RVA = "0x1E52130", Offset = "0x1E51130", VA = "0x181E52130")]
|
||||
internal T BindCore<T>(CallSite<T> site, object[] args) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Adds a target to the cache of known targets. The cached targets will be scanned before calling BindDelegate to produce the new rule.</summary>
|
||||
/// <param name="target">The target delegate to be added to the cache.</param>
|
||||
/// <typeparam name="T">The type of target being added.</typeparam>
|
||||
// Token: 0x06000C10 RID: 3088 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C10")]
|
||||
[Address(RVA = "0x1FD5420", Offset = "0x1FD4420", VA = "0x181FD5420")]
|
||||
protected void CacheTarget<T>(T target) where T : class
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000C11 RID: 3089 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C11")]
|
||||
[Address(RVA = "0x27D16E0", Offset = "0x27D06E0", VA = "0x1827D16E0")]
|
||||
private static Expression<T> Stitch<T>(Expression binding, CallSiteBinder.LambdaSignature<T> signature) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000C12 RID: 3090 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C12")]
|
||||
[Address(RVA = "0x25EF010", Offset = "0x25EE010", VA = "0x1825EF010")]
|
||||
internal RuleCache<T> GetRuleCache<T>() where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04000498 RID: 1176
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000498")]
|
||||
internal Dictionary<Type, object> Cache;
|
||||
|
||||
// Token: 0x0200025D RID: 605
|
||||
[Token(Token = "0x200025D")]
|
||||
private sealed class LambdaSignature<T> where T : class
|
||||
{
|
||||
// Token: 0x17000264 RID: 612
|
||||
// (get) Token: 0x06000C14 RID: 3092 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000264")]
|
||||
internal static CallSiteBinder.LambdaSignature<T> Instance
|
||||
{
|
||||
[Token(Token = "0x6000C14")]
|
||||
[Address(RVA = "0x2F30880", Offset = "0x2F2F880", VA = "0x182F30880")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C15 RID: 3093 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C15")]
|
||||
[Address(RVA = "0x2F30520", Offset = "0x2F2F520", VA = "0x182F30520")]
|
||||
private LambdaSignature()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400049A RID: 1178
|
||||
[Token(Token = "0x400049A")]
|
||||
private static CallSiteBinder.LambdaSignature<T> s_instance;
|
||||
|
||||
// Token: 0x0400049B RID: 1179
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400049B")]
|
||||
internal readonly ReadOnlyCollection<ParameterExpression> Parameters;
|
||||
|
||||
// Token: 0x0400049C RID: 1180
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400049C")]
|
||||
internal readonly LabelTarget ReturnLabel;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,175 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>Creates and caches binding rules.</summary>
|
||||
// Token: 0x0200025E RID: 606
|
||||
[Token(Token = "0x200025E")]
|
||||
[DebuggerStepThrough]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public static class CallSiteOps
|
||||
{
|
||||
/// <summary>Creates an instance of a dynamic call site used for cache lookup.</summary>
|
||||
/// <param name="site">An instance of the dynamic call site.</param>
|
||||
/// <typeparam name="T">The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />.</typeparam>
|
||||
/// <returns>The new call site.</returns>
|
||||
// Token: 0x06000C16 RID: 3094 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C16")]
|
||||
[Address(RVA = "0x25EF210", Offset = "0x25EE210", VA = "0x1825EF210")]
|
||||
[Obsolete]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[Obsolete("do not use this method", true)]
|
||||
public static CallSite<T> CreateMatchmaker<T>(CallSite<T> site) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Checks if a dynamic site requires an update.</summary>
|
||||
/// <param name="site">An instance of the dynamic call site.</param>
|
||||
/// <returns>true if rule does not need updating, false otherwise.</returns>
|
||||
// Token: 0x06000C17 RID: 3095 RVA: 0x00006240 File Offset: 0x00004440
|
||||
[Token(Token = "0x6000C17")]
|
||||
[Address(RVA = "0x10D6DB0", Offset = "0x10D5DB0", VA = "0x1810D6DB0")]
|
||||
[Obsolete]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[Obsolete("do not use this method", true)]
|
||||
public static bool SetNotMatched(CallSite site)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Checks whether the executed rule matched</summary>
|
||||
/// <param name="site">An instance of the dynamic call site.</param>
|
||||
/// <returns>true if rule matched, false otherwise.</returns>
|
||||
// Token: 0x06000C18 RID: 3096 RVA: 0x00006258 File Offset: 0x00004458
|
||||
[Token(Token = "0x6000C18")]
|
||||
[Address(RVA = "0x10D6D90", Offset = "0x10D5D90", VA = "0x1810D6D90")]
|
||||
[Obsolete]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[Obsolete("do not use this method", true)]
|
||||
public static bool GetMatch(CallSite site)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Clears the match flag on the matchmaker call site.</summary>
|
||||
/// <param name="site">An instance of the dynamic call site.</param>
|
||||
// Token: 0x06000C19 RID: 3097 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C19")]
|
||||
[Address(RVA = "0x10D6D70", Offset = "0x10D5D70", VA = "0x1810D6D70")]
|
||||
[Obsolete]
|
||||
[Obsolete("do not use this method", true)]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public static void ClearMatch(CallSite site)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Adds a rule to the cache maintained on the dynamic call site.</summary>
|
||||
/// <param name="site">An instance of the dynamic call site.</param>
|
||||
/// <param name="rule">An instance of the call site rule.</param>
|
||||
/// <typeparam name="T">The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />.</typeparam>
|
||||
// Token: 0x06000C1A RID: 3098 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C1A")]
|
||||
[Address(RVA = "0x1FD5470", Offset = "0x1FD4470", VA = "0x181FD5470")]
|
||||
[Obsolete]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[Obsolete("do not use this method", true)]
|
||||
public static void AddRule<T>(CallSite<T> site, T rule) where T : class
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Updates rules in the cache.</summary>
|
||||
/// <param name="this">An instance of the dynamic call site.</param>
|
||||
/// <param name="matched">The matched rule index.</param>
|
||||
/// <typeparam name="T">The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />.</typeparam>
|
||||
// Token: 0x06000C1B RID: 3099 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C1B")]
|
||||
[Address(RVA = "0x1FD54C0", Offset = "0x1FD44C0", VA = "0x181FD54C0")]
|
||||
[Obsolete]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[Obsolete("do not use this method", true)]
|
||||
public static void UpdateRules<T>(CallSite<T> @this, int matched) where T : class
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the dynamic binding rules from the call site.</summary>
|
||||
/// <param name="site">An instance of the dynamic call site.</param>
|
||||
/// <typeparam name="T">The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />.</typeparam>
|
||||
/// <returns>An array of dynamic binding rules.</returns>
|
||||
// Token: 0x06000C1C RID: 3100 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C1C")]
|
||||
[Address(RVA = "0x293A0A0", Offset = "0x29390A0", VA = "0x18293A0A0")]
|
||||
[Obsolete]
|
||||
[Obsolete("do not use this method", true)]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public static T[] GetRules<T>(CallSite<T> site) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Retrieves binding rule cache.</summary>
|
||||
/// <param name="site">An instance of the dynamic call site.</param>
|
||||
/// <typeparam name="T">The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />.</typeparam>
|
||||
/// <returns>The cache.</returns>
|
||||
// Token: 0x06000C1D RID: 3101 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C1D")]
|
||||
[Address(RVA = "0x25EF240", Offset = "0x25EE240", VA = "0x1825EF240")]
|
||||
[Obsolete]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[Obsolete("do not use this method", true)]
|
||||
public static RuleCache<T> GetRuleCache<T>(CallSite<T> site) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Moves the binding rule within the cache.</summary>
|
||||
/// <param name="cache">The call site rule cache.</param>
|
||||
/// <param name="rule">An instance of the call site rule.</param>
|
||||
/// <param name="i">An index of the call site rule.</param>
|
||||
/// <typeparam name="T">The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />. </typeparam>
|
||||
// Token: 0x06000C1E RID: 3102 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C1E")]
|
||||
[Address(RVA = "0x1FD5490", Offset = "0x1FD4490", VA = "0x181FD5490")]
|
||||
[Obsolete]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[Obsolete("do not use this method", true)]
|
||||
public static void MoveRule<T>(RuleCache<T> cache, T rule, int i) where T : class
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Searches the dynamic rule cache for rules applicable to the dynamic operation.</summary>
|
||||
/// <param name="cache">The cache.</param>
|
||||
/// <typeparam name="T">The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />. </typeparam>
|
||||
/// <returns>The collection of applicable rules.</returns>
|
||||
// Token: 0x06000C1F RID: 3103 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C1F")]
|
||||
[Address(RVA = "0x293A080", Offset = "0x2939080", VA = "0x18293A080")]
|
||||
[Obsolete]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[Obsolete("do not use this method", true)]
|
||||
public static T[] GetCachedRules<T>(RuleCache<T> cache) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Updates the call site target with a new rule based on the arguments.</summary>
|
||||
/// <param name="binder">The call site binder.</param>
|
||||
/// <param name="site">An instance of the dynamic call site.</param>
|
||||
/// <param name="args">Arguments to the call site.</param>
|
||||
/// <typeparam name="T">The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />.</typeparam>
|
||||
/// <returns>The new call site target.</returns>
|
||||
// Token: 0x06000C20 RID: 3104 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C20")]
|
||||
[Address(RVA = "0x1E52290", Offset = "0x1E51290", VA = "0x181E52290")]
|
||||
[Obsolete]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[Obsolete("do not use this method", true)]
|
||||
public static T Bind<T>(CallSiteBinder binder, CallSite<T> site, object[] args) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>Generates debug information for lambda expressions in an expression tree.</summary>
|
||||
// Token: 0x0200025F RID: 607
|
||||
[Token(Token = "0x200025F")]
|
||||
public abstract class DebugInfoGenerator
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>Represents the values of run-time variables.</summary>
|
||||
// Token: 0x02000260 RID: 608
|
||||
[Token(Token = "0x2000260")]
|
||||
[DefaultMember("Item")]
|
||||
public interface IRuntimeVariables
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>Defines a property for accessing the value that an object references.</summary>
|
||||
// Token: 0x02000266 RID: 614
|
||||
[Token(Token = "0x2000266")]
|
||||
public interface IStrongBox
|
||||
{
|
||||
/// <summary>Gets or sets the value that an object references.</summary>
|
||||
/// <returns>The value that the object references.</returns>
|
||||
// Token: 0x17000271 RID: 625
|
||||
// (get) Token: 0x06000C53 RID: 3155
|
||||
// (set) Token: 0x06000C54 RID: 3156
|
||||
[Token(Token = "0x17000271")]
|
||||
object Value
|
||||
{
|
||||
[Token(Token = "0x6000C53")]
|
||||
[Address(Slot = "0")]
|
||||
get;
|
||||
[Token(Token = "0x6000C54")]
|
||||
[Address(Slot = "1")]
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,478 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>The builder for read only collection.</summary>
|
||||
/// <typeparam name="T">The type of the collection element.</typeparam>
|
||||
// Token: 0x02000261 RID: 609
|
||||
[Token(Token = "0x2000261")]
|
||||
[Serializable]
|
||||
public sealed class ReadOnlyCollectionBuilder<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection
|
||||
{
|
||||
/// <summary>Constructs a ReadOnlyCollectionBuilder.</summary>
|
||||
// Token: 0x06000C21 RID: 3105 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C21")]
|
||||
[Address(RVA = "0x2F00540", Offset = "0x2EFF540", VA = "0x182F00540")]
|
||||
public ReadOnlyCollectionBuilder()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Constructs a ReadOnlyCollectionBuilder with a given initial capacity. The contents are empty but builder will have reserved room for the given number of elements before any reallocations are required.</summary>
|
||||
/// <param name="capacity">Initial capacity.</param>
|
||||
// Token: 0x06000C22 RID: 3106 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C22")]
|
||||
[Address(RVA = "0x2F00480", Offset = "0x2EFF480", VA = "0x182F00480")]
|
||||
public ReadOnlyCollectionBuilder(int capacity)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets and sets the capacity of this ReadOnlyCollectionBuilder.</summary>
|
||||
/// <returns>The capacity of this ReadOnlyCollectionBuilder.</returns>
|
||||
// Token: 0x17000265 RID: 613
|
||||
// (set) Token: 0x06000C23 RID: 3107 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x17000265")]
|
||||
public int Capacity
|
||||
{
|
||||
[Token(Token = "0x6000C23")]
|
||||
[Address(RVA = "0x2F00630", Offset = "0x2EFF630", VA = "0x182F00630")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns number of elements in the ReadOnlyCollectionBuilder.</summary>
|
||||
/// <returns>The number of elements in the ReadOnlyCollectionBuilder.</returns>
|
||||
// Token: 0x17000266 RID: 614
|
||||
// (get) Token: 0x06000C24 RID: 3108 RVA: 0x00006270 File Offset: 0x00004470
|
||||
[Token(Token = "0x17000266")]
|
||||
public int Count
|
||||
{
|
||||
[Token(Token = "0x6000C24")]
|
||||
[Address(RVA = "0x411540", Offset = "0x410540", VA = "0x180411540", Slot = "30")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns the index of the first occurrence of a given value in the builder.</summary>
|
||||
/// <param name="item">An item to search for.</param>
|
||||
/// <returns>The index of the first occurrence of an item.</returns>
|
||||
// Token: 0x06000C25 RID: 3109 RVA: 0x00006288 File Offset: 0x00004488
|
||||
[Token(Token = "0x6000C25")]
|
||||
[Address(RVA = "0x2EFF8E0", Offset = "0x2EFE8E0", VA = "0x182EFF8E0", Slot = "6")]
|
||||
public int IndexOf(T item)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Inserts an item to the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" /> at the specified index.</summary>
|
||||
/// <param name="index">The zero-based index at which item should be inserted.</param>
|
||||
/// <param name="item">The object to insert into the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</param>
|
||||
// Token: 0x06000C26 RID: 3110 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C26")]
|
||||
[Address(RVA = "0x2EFF910", Offset = "0x2EFE910", VA = "0x182EFF910", Slot = "7")]
|
||||
public void Insert(int index, T item)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Removes the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" /> item at the specified index.</summary>
|
||||
/// <param name="index">The zero-based index of the item to remove.</param>
|
||||
// Token: 0x06000C27 RID: 3111 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C27")]
|
||||
[Address(RVA = "0x2EFFA90", Offset = "0x2EFEA90", VA = "0x182EFFA90", Slot = "28")]
|
||||
public void RemoveAt(int index)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the element at the specified index.</summary>
|
||||
/// <param name="index">The zero-based index of the element to get or set.</param>
|
||||
/// <returns>The element at the specified index.</returns>
|
||||
// Token: 0x17000267 RID: 615
|
||||
[Token(Token = "0x17000267")]
|
||||
public T this[int index]
|
||||
{
|
||||
[Token(Token = "0x6000C28")]
|
||||
[Address(RVA = "0x2F00590", Offset = "0x2EFF590", VA = "0x182F00590", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6000C29")]
|
||||
[Address(RVA = "0x2F00740", Offset = "0x2EFF740", VA = "0x182F00740", Slot = "5")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Adds an item to the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</summary>
|
||||
/// <param name="item">The object to add to the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</param>
|
||||
// Token: 0x06000C2A RID: 3114 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C2A")]
|
||||
[Address(RVA = "0x2EFF6F0", Offset = "0x2EFE6F0", VA = "0x182EFF6F0", Slot = "11")]
|
||||
public void Add(T item)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Removes all items from the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</summary>
|
||||
// Token: 0x06000C2B RID: 3115 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C2B")]
|
||||
[Address(RVA = "0x2A217A0", Offset = "0x2A207A0", VA = "0x182A217A0", Slot = "22")]
|
||||
public void Clear()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" /> contains a specific value</summary>
|
||||
/// <param name="item">the object to locate in the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</param>
|
||||
/// <returns>true if item is found in the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />; otherwise, false.</returns>
|
||||
// Token: 0x06000C2C RID: 3116 RVA: 0x000062A0 File Offset: 0x000044A0
|
||||
[Token(Token = "0x6000C2C")]
|
||||
[Address(RVA = "0x2EFF780", Offset = "0x2EFE780", VA = "0x182EFF780", Slot = "13")]
|
||||
public bool Contains(T item)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Copies the elements of the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" /> to an <see cref="T:System.Array" />, starting at particular <see cref="T:System.Array" /> index.</summary>
|
||||
/// <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</param>
|
||||
/// <param name="arrayIndex">The zero-based index in array at which copying begins.</param>
|
||||
// Token: 0x06000C2D RID: 3117 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C2D")]
|
||||
[Address(RVA = "0x2701170", Offset = "0x2700170", VA = "0x182701170", Slot = "14")]
|
||||
public void CopyTo(T[] array, int arrayIndex)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000268 RID: 616
|
||||
// (get) Token: 0x06000C2E RID: 3118 RVA: 0x000062B8 File Offset: 0x000044B8
|
||||
[Token(Token = "0x17000268")]
|
||||
bool ICollection<T>.IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6000C2E")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</summary>
|
||||
/// <param name="item">The object to remove from the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</param>
|
||||
/// <returns>true if item was successfully removed from the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />; otherwise, false. This method also returns false if item is not found in the original <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</returns>
|
||||
// Token: 0x06000C2F RID: 3119 RVA: 0x000062D0 File Offset: 0x000044D0
|
||||
[Token(Token = "0x6000C2F")]
|
||||
[Address(RVA = "0x2EFFB60", Offset = "0x2EFEB60", VA = "0x182EFFB60", Slot = "15")]
|
||||
public bool Remove(T item)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Returns an enumerator that iterates through the collection.</summary>
|
||||
/// <returns>A <see cref="T:System.Collections.Generic.IEnumerator`1" /> that can be used to iterate through the collection.</returns>
|
||||
// Token: 0x06000C30 RID: 3120 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C30")]
|
||||
[Address(RVA = "0x2B42CB0", Offset = "0x2B41CB0", VA = "0x182B42CB0", Slot = "16")]
|
||||
public IEnumerator<T> GetEnumerator()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns an enumerator that iterates through the collection.</summary>
|
||||
/// <returns>An <see cref="T:System.Collections.IEnumerator" /> that can be used to iterate through the collection.</returns>
|
||||
// Token: 0x06000C31 RID: 3121 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C31")]
|
||||
[Address(RVA = "0x2B42E70", Offset = "0x2B41E70", VA = "0x182B42E70", Slot = "17")]
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> is read-only.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <see cref="T:System.Collections.IList" /> is read-only; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x17000269 RID: 617
|
||||
// (get) Token: 0x06000C32 RID: 3122 RVA: 0x000062E8 File Offset: 0x000044E8
|
||||
[Token(Token = "0x17000269")]
|
||||
bool IList.IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6000C32")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "23")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Adds an item to the <see cref="T:System.Collections.IList" />.</summary>
|
||||
/// <param name="value">The <see cref="T:System.Object" /> to add to the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <returns>The position into which the new element was inserted.</returns>
|
||||
// Token: 0x06000C33 RID: 3123 RVA: 0x00006300 File Offset: 0x00004500
|
||||
[Token(Token = "0x6000C33")]
|
||||
[Address(RVA = "0x2EFFCB0", Offset = "0x2EFECB0", VA = "0x182EFFCB0", Slot = "20")]
|
||||
int IList.Add(object value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the <see cref="T:System.Collections.IList" /> contains a specific value.</summary>
|
||||
/// <param name="value">The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="item" /> is found in the <see cref="T:System.Collections.IList" />; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06000C34 RID: 3124 RVA: 0x00006318 File Offset: 0x00004518
|
||||
[Token(Token = "0x6000C34")]
|
||||
[Address(RVA = "0x2EFFE30", Offset = "0x2EFEE30", VA = "0x182EFFE30", Slot = "21")]
|
||||
bool IList.Contains(object value)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Determines the index of a specific item in the <see cref="T:System.Collections.IList" />.</summary>
|
||||
/// <param name="value">The object to locate in the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <returns>The index of <paramref name="item" /> if found in the list; otherwise, –1.</returns>
|
||||
// Token: 0x06000C35 RID: 3125 RVA: 0x00006330 File Offset: 0x00004530
|
||||
[Token(Token = "0x6000C35")]
|
||||
[Address(RVA = "0x2EFFF00", Offset = "0x2EFEF00", VA = "0x182EFFF00", Slot = "25")]
|
||||
int IList.IndexOf(object value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Inserts an item to the <see cref="T:System.Collections.IList" /> at the specified index.</summary>
|
||||
/// <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
|
||||
/// <param name="value">The object to insert into the <see cref="T:System.Collections.IList" />.</param>
|
||||
// Token: 0x06000C36 RID: 3126 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C36")]
|
||||
[Address(RVA = "0x2EFFFD0", Offset = "0x2EFEFD0", VA = "0x182EFFFD0", Slot = "26")]
|
||||
void IList.Insert(int index, object value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x1700026A RID: 618
|
||||
// (get) Token: 0x06000C37 RID: 3127 RVA: 0x00006348 File Offset: 0x00004548
|
||||
[Token(Token = "0x1700026A")]
|
||||
bool IList.IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6000C37")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "24")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.IList" />.</summary>
|
||||
/// <param name="value">The object to remove from the <see cref="T:System.Collections.IList" />.</param>
|
||||
// Token: 0x06000C38 RID: 3128 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C38")]
|
||||
[Address(RVA = "0x2F00130", Offset = "0x2EFF130", VA = "0x182F00130", Slot = "27")]
|
||||
void IList.Remove(object value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the element at the specified index.</summary>
|
||||
/// <param name="index">The zero-based index of the element to get or set.</param>
|
||||
/// <returns>The element at the specified index.</returns>
|
||||
// Token: 0x1700026B RID: 619
|
||||
[Token(Token = "0x1700026B")]
|
||||
object IList.this[int index]
|
||||
{
|
||||
[Token(Token = "0x6000C39")]
|
||||
[Address(RVA = "0x2F001F0", Offset = "0x2EFF1F0", VA = "0x182F001F0", Slot = "18")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6000C3A")]
|
||||
[Address(RVA = "0x2F00220", Offset = "0x2EFF220", VA = "0x182F00220", Slot = "19")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Copies the elements of the <see cref="T:System.Collections.Generic.ICollection`1" /> to an array, starting at the specified array index.</summary>
|
||||
/// <param name="array">The one-dimensional array that is the destination of the elements copied from <see cref="T:System.Collections.Generic.ICollection`1" />. The array must have zero-based indexing.</param>
|
||||
/// <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
|
||||
// Token: 0x06000C3B RID: 3131 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C3B")]
|
||||
[Address(RVA = "0x2EFFBD0", Offset = "0x2EFEBD0", VA = "0x182EFFBD0", Slot = "29")]
|
||||
void ICollection.CopyTo(Array array, int index)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x1700026C RID: 620
|
||||
// (get) Token: 0x06000C3C RID: 3132 RVA: 0x00006360 File Offset: 0x00004560
|
||||
[Token(Token = "0x1700026C")]
|
||||
bool ICollection.IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6000C3C")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "32")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
|
||||
/// <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
|
||||
// Token: 0x1700026D RID: 621
|
||||
// (get) Token: 0x06000C3D RID: 3133 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700026D")]
|
||||
object ICollection.SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6000C3D")]
|
||||
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0", Slot = "31")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Copies the elements of the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" /> to a new array.</summary>
|
||||
/// <returns>An array containing copies of the elements of the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</returns>
|
||||
// Token: 0x06000C3E RID: 3134 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C3E")]
|
||||
[Address(RVA = "0x2A28E60", Offset = "0x2A27E60", VA = "0x182A28E60")]
|
||||
public T[] ToArray()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" /> containing all of the elements of the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />, avoiding copying the elements to the new array if possible. Resets the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" /> after the <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" /> has been created.</summary>
|
||||
/// <returns>A new instance of <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" />.</returns>
|
||||
// Token: 0x06000C3F RID: 3135 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C3F")]
|
||||
[Address(RVA = "0x2F00380", Offset = "0x2EFF380", VA = "0x182F00380")]
|
||||
public ReadOnlyCollection<T> ToReadOnlyCollection()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000C40 RID: 3136 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C40")]
|
||||
[Address(RVA = "0x2EFF870", Offset = "0x2EFE870", VA = "0x182EFF870")]
|
||||
private void EnsureCapacity(int min)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000C41 RID: 3137 RVA: 0x00006378 File Offset: 0x00004578
|
||||
[Token(Token = "0x6000C41")]
|
||||
[Address(RVA = "0x2EFFA20", Offset = "0x2EFEA20", VA = "0x182EFFA20")]
|
||||
private static bool IsCompatibleObject(object value)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06000C42 RID: 3138 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C42")]
|
||||
[Address(RVA = "0x2F00450", Offset = "0x2EFF450", VA = "0x182F00450")]
|
||||
private static void ValidateNullValue(object value, string argument)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400049D RID: 1181
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400049D")]
|
||||
private T[] _items;
|
||||
|
||||
// Token: 0x0400049E RID: 1182
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400049E")]
|
||||
private int _size;
|
||||
|
||||
// Token: 0x0400049F RID: 1183
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400049F")]
|
||||
private int _version;
|
||||
|
||||
// Token: 0x02000262 RID: 610
|
||||
[Token(Token = "0x2000262")]
|
||||
[Serializable]
|
||||
private class Enumerator : IEnumerator<T>, IDisposable, IEnumerator
|
||||
{
|
||||
// Token: 0x06000C43 RID: 3139 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C43")]
|
||||
[Address(RVA = "0x2EFDA00", Offset = "0x2EFCA00", VA = "0x182EFDA00")]
|
||||
internal Enumerator(ReadOnlyCollectionBuilder<T> builder)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x1700026E RID: 622
|
||||
// (get) Token: 0x06000C44 RID: 3140 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700026E")]
|
||||
public T Current
|
||||
{
|
||||
[Token(Token = "0x6000C44")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C45 RID: 3141 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C45")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "5")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x1700026F RID: 623
|
||||
// (get) Token: 0x06000C46 RID: 3142 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700026F")]
|
||||
object IEnumerator.Current
|
||||
{
|
||||
[Token(Token = "0x6000C46")]
|
||||
[Address(RVA = "0x2EFD9A0", Offset = "0x2EFC9A0", VA = "0x182EFD9A0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C47 RID: 3143 RVA: 0x00006390 File Offset: 0x00004590
|
||||
[Token(Token = "0x6000C47")]
|
||||
[Address(RVA = "0x2EFD870", Offset = "0x2EFC870", VA = "0x182EFD870", Slot = "6")]
|
||||
public bool MoveNext()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06000C48 RID: 3144 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C48")]
|
||||
[Address(RVA = "0x2EFD930", Offset = "0x2EFC930", VA = "0x182EFD930", Slot = "8")]
|
||||
void IEnumerator.Reset()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040004A0 RID: 1184
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40004A0")]
|
||||
private readonly ReadOnlyCollectionBuilder<T> _builder;
|
||||
|
||||
// Token: 0x040004A1 RID: 1185
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40004A1")]
|
||||
private readonly int _version;
|
||||
|
||||
// Token: 0x040004A2 RID: 1186
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40004A2")]
|
||||
private int _index;
|
||||
|
||||
// Token: 0x040004A3 RID: 1187
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40004A3")]
|
||||
private T _current;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>Represents a cache of runtime binding rules.</summary>
|
||||
/// <typeparam name="T">The delegate type.</typeparam>
|
||||
// Token: 0x02000263 RID: 611
|
||||
[Token(Token = "0x2000263")]
|
||||
[DebuggerStepThrough]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public class RuleCache<T> where T : class
|
||||
{
|
||||
// Token: 0x06000C49 RID: 3145 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C49")]
|
||||
[Address(RVA = "0x2F00CC0", Offset = "0x2EFFCC0", VA = "0x182F00CC0")]
|
||||
internal RuleCache()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000C4A RID: 3146 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C4A")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
internal T[] GetRules()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000C4B RID: 3147 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C4B")]
|
||||
[Address(RVA = "0x2F00A20", Offset = "0x2EFFA20", VA = "0x182F00A20")]
|
||||
internal void MoveRule(T rule, int i)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000C4C RID: 3148 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C4C")]
|
||||
[Address(RVA = "0x2F00960", Offset = "0x2EFF960", VA = "0x182F00960")]
|
||||
internal void AddRule(T newRule)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000C4D RID: 3149 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C4D")]
|
||||
[Address(RVA = "0x2F007F0", Offset = "0x2EFF7F0", VA = "0x182F007F0")]
|
||||
private static T[] AddOrInsert(T[] rules, T item)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x040004A4 RID: 1188
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40004A4")]
|
||||
private T[] _rules;
|
||||
|
||||
// Token: 0x040004A5 RID: 1189
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40004A5")]
|
||||
private readonly object _cacheLock;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Dynamic;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>Contains helper methods called from dynamically generated methods.</summary>
|
||||
// Token: 0x02000258 RID: 600
|
||||
[Token(Token = "0x2000258")]
|
||||
[DebuggerStepThrough]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public static class RuntimeOps
|
||||
{
|
||||
/// <summary>Gets the value of an item in an expando object.</summary>
|
||||
/// <param name="expando">The expando object.</param>
|
||||
/// <param name="indexClass">The class of the expando object.</param>
|
||||
/// <param name="index">The index of the member.</param>
|
||||
/// <param name="name">The name of the member.</param>
|
||||
/// <param name="ignoreCase">true if the name should be matched ignoring case; false otherwise.</param>
|
||||
/// <param name="value">The out parameter containing the value of the member.</param>
|
||||
/// <returns>True if the member exists in the expando object, otherwise false.</returns>
|
||||
// Token: 0x06000BF2 RID: 3058 RVA: 0x000061F8 File Offset: 0x000043F8
|
||||
[Token(Token = "0x6000BF2")]
|
||||
[Address(RVA = "0x10DB410", Offset = "0x10DA410", VA = "0x1810DB410")]
|
||||
[Obsolete]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[Obsolete("do not use this method", true)]
|
||||
public static bool ExpandoTryGetValue(ExpandoObject expando, object indexClass, int index, string name, bool ignoreCase, out object value)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Sets the value of an item in an expando object.</summary>
|
||||
/// <param name="expando">The expando object.</param>
|
||||
/// <param name="indexClass">The class of the expando object.</param>
|
||||
/// <param name="index">The index of the member.</param>
|
||||
/// <param name="value">The value of the member.</param>
|
||||
/// <param name="name">The name of the member.</param>
|
||||
/// <param name="ignoreCase">true if the name should be matched ignoring case; false otherwise.</param>
|
||||
/// <returns>Returns the index for the set member.</returns>
|
||||
// Token: 0x06000BF3 RID: 3059 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000BF3")]
|
||||
[Address(RVA = "0x10DB440", Offset = "0x10DA440", VA = "0x1810DB440")]
|
||||
[Obsolete]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[Obsolete("do not use this method", true)]
|
||||
public static object ExpandoTrySetValue(ExpandoObject expando, object indexClass, int index, object value, string name, bool ignoreCase)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Deletes the value of an item in an expando object.</summary>
|
||||
/// <param name="expando">The expando object.</param>
|
||||
/// <param name="indexClass">The class of the expando object.</param>
|
||||
/// <param name="index">The index of the member.</param>
|
||||
/// <param name="name">The name of the member.</param>
|
||||
/// <param name="ignoreCase">true if the name should be matched ignoring case; false otherwise.</param>
|
||||
/// <returns>true if the item was successfully removed; otherwise, false.</returns>
|
||||
// Token: 0x06000BF4 RID: 3060 RVA: 0x00006210 File Offset: 0x00004410
|
||||
[Token(Token = "0x6000BF4")]
|
||||
[Address(RVA = "0x10DB350", Offset = "0x10DA350", VA = "0x1810DB350")]
|
||||
[Obsolete]
|
||||
[Obsolete("do not use this method", true)]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public static bool ExpandoTryDeleteValue(ExpandoObject expando, object indexClass, int index, string name, bool ignoreCase)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Checks the version of the Expando object.</summary>
|
||||
/// <param name="expando">The Expando object.</param>
|
||||
/// <param name="version">The version to check.</param>
|
||||
/// <returns>Returns true if the version is equal; otherwise, false.</returns>
|
||||
// Token: 0x06000BF5 RID: 3061 RVA: 0x00006228 File Offset: 0x00004428
|
||||
[Token(Token = "0x6000BF5")]
|
||||
[Address(RVA = "0x10DB300", Offset = "0x10DA300", VA = "0x1810DB300")]
|
||||
[Obsolete]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[Obsolete("do not use this method", true)]
|
||||
public static bool ExpandoCheckVersion(ExpandoObject expando, object version)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Promotes an Expando object from one class to a new class.</summary>
|
||||
/// <param name="expando">The Expando object.</param>
|
||||
/// <param name="oldClass">The old class of the Expando object.</param>
|
||||
/// <param name="newClass">The new class of the Expando object.</param>
|
||||
// Token: 0x06000BF6 RID: 3062 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000BF6")]
|
||||
[Address(RVA = "0x10DB330", Offset = "0x10DA330", VA = "0x1810DB330")]
|
||||
[Obsolete]
|
||||
[Obsolete("do not use this method", true)]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public static void ExpandoPromoteClass(ExpandoObject expando, object oldClass, object newClass)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
/// <summary>Holds a reference to a value.</summary>
|
||||
/// <typeparam name="T">The type of the value that the <see cref="T:System.Runtime.CompilerServices.StrongBox`1" /> references.</typeparam>
|
||||
// Token: 0x02000265 RID: 613
|
||||
[Token(Token = "0x2000265")]
|
||||
public class StrongBox<T> : IStrongBox
|
||||
{
|
||||
/// <summary>Initializes a new StrongBox which can receive a value when used in a reference call.</summary>
|
||||
// Token: 0x06000C4F RID: 3151 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C4F")]
|
||||
[Address(RVA = "0x1CC5E40", Offset = "0x1CC4E40", VA = "0x181CC5E40")]
|
||||
public StrongBox()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.StrongBox`1" /> class by using the supplied value. </summary>
|
||||
/// <param name="value">A value that the <see cref="T:System.Runtime.CompilerServices.StrongBox`1" /> will reference.</param>
|
||||
// Token: 0x06000C50 RID: 3152 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C50")]
|
||||
[Address(RVA = "0x1CC9D80", Offset = "0x1CC8D80", VA = "0x181CC9D80")]
|
||||
public StrongBox(T value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value that the <see cref="T:System.Runtime.CompilerServices.StrongBox`1" /> references.</summary>
|
||||
/// <returns>The value that the <see cref="T:System.Runtime.CompilerServices.StrongBox`1" /> references.</returns>
|
||||
// Token: 0x17000270 RID: 624
|
||||
// (get) Token: 0x06000C51 RID: 3153 RVA: 0x00002050 File Offset: 0x00000250
|
||||
// (set) Token: 0x06000C52 RID: 3154 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x17000270")]
|
||||
object IStrongBox.Value
|
||||
{
|
||||
[Token(Token = "0x6000C51")]
|
||||
[Address(RVA = "0x2F02BB0", Offset = "0x2F01BB0", VA = "0x182F02BB0", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6000C52")]
|
||||
[Address(RVA = "0x2F02BF0", Offset = "0x2F01BF0", VA = "0x182F02BF0", Slot = "5")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Represents the value that the <see cref="T:System.Runtime.CompilerServices.StrongBox`1" /> references.</summary>
|
||||
// Token: 0x040004A6 RID: 1190
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40004A6")]
|
||||
public T Value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
// Token: 0x02000264 RID: 612
|
||||
[Token(Token = "0x2000264")]
|
||||
internal sealed class TrueReadOnlyCollection<T> : ReadOnlyCollection<T>
|
||||
{
|
||||
// Token: 0x06000C4E RID: 3150 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C4E")]
|
||||
[Address(RVA = "0x26119D0", Offset = "0x26109D0", VA = "0x1826119D0")]
|
||||
public TrueReadOnlyCollection(params T[] list)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user