CallSiteOps.GetRules<T> Method (CallSite<T>)

 
obsoleteCodeEntityNote: This API is now obsolete.

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

Gets the dynamic binding rules from the call site.

Namespace:   System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.dll)

[ObsoleteAttribute("do not use this method", true)]
public static T[] GetRules<T>(
	CallSite<T> site
)
where T : class

Parameters

site
Type: System.Runtime.CompilerServices.CallSite<T>

An instance of the dynamic call site.

Return Value

Type: T[]

An array of dynamic binding rules.

Type Parameters

T

The type of the delegate of the CallSite.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Return to top
Show: