GetMatch Method

CallSiteOps.GetMatch Method (CallSite)

Note: This API is now obsolete.

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

Checks whether the executed rule matched

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

[ObsoleteAttribute("do not use this method", true)]
public static bool GetMatch(
	CallSite site


Type: System.Runtime.CompilerServices.CallSite

An instance of the dynamic call site.

Return Value

Type: System.Boolean

true if rule matched, false otherwise.

.NET Framework
Available since 4.0
Available since 4.0
Return to top
© 2015 Microsoft