This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -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;
}
}
}