CallSiteOps.GetCachedRules<T>(RuleCache<T>) Method

Definition

Caution

do not use this method

Searches the dynamic rule cache for rules applicable to the dynamic operation.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
generic <typename T>
 where T : class static cli::array <T> ^ GetCachedRules(System::Runtime::CompilerServices::RuleCache<T> ^ cache);
[System.Obsolete("do not use this method", true)]
public static T[] GetCachedRules<T> (System.Runtime.CompilerServices.RuleCache<T> cache) where T : class;
[<System.Obsolete("do not use this method", true)>]
static member GetCachedRules : System.Runtime.CompilerServices.RuleCache<'T (requires 'T : null)> -> 'T[] (requires 'T : null)
Public Shared Function GetCachedRules(Of T As Class) (cache As RuleCache(Of T)) As T()

Type Parameters

T

The type of the delegate of the CallSite.

Parameters

cache
RuleCache<T>

The cache.

Returns

T[]

The collection of applicable rules.

Attributes

Applies to