CallSiteOps.GetCachedRules<T>(RuleCache<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.