9 [global::__DynamicallyInvokable]
16 [Obsolete(
"do not use this method",
true)]
18 [global::__DynamicallyInvokable]
29 [Obsolete(
"do not use this method",
true)]
31 [global::__DynamicallyInvokable]
34 bool match = site._match;
42 [Obsolete(
"do not use this method",
true)]
44 [global::__DynamicallyInvokable]
52 [Obsolete(
"do not use this method",
true)]
54 [global::__DynamicallyInvokable]
64 [Obsolete(
"do not use this method",
true)]
66 [global::__DynamicallyInvokable]
76 [Obsolete(
"do not use this method",
true)]
78 [global::__DynamicallyInvokable]
83 @this.MoveRule(matched);
91 [Obsolete(
"do not use this method",
true)]
93 [global::__DynamicallyInvokable]
103 [Obsolete(
"do not use this method",
true)]
105 [global::__DynamicallyInvokable]
108 return site.Binder.GetRuleCache<
T>();
116 [Obsolete(
"do not use this method",
true)]
118 [global::__DynamicallyInvokable]
123 cache.MoveRule(rule, i);
131 [Obsolete(
"do not use this method",
true)]
133 [global::__DynamicallyInvokable]
136 return cache.GetRules();
145 [Obsolete(
"do not use this method",
true)]
147 [global::__DynamicallyInvokable]
150 return binder.BindCore(site, args);
static T Bind< T >(CallSiteBinder binder, CallSite< T > site, object[] args)
Updates the call site target with a new rule based on the arguments.
static T [] GetRules< T >(CallSite< T > site)
Gets the dynamic binding rules from the call site.
Represents a cache of runtime binding rules.
static T [] GetCachedRules< T >(RuleCache< T > cache)
Searches the dynamic rule cache for rules applicable to the dynamic operation.
EditorBrowsableState
Specifies the browsable state of a property or method from within an editor.
A dynamic call site base class. This type is used as a parameter type to the dynamic site targets.
static void MoveRule< T >(RuleCache< T > cache, T rule, int i)
Moves the binding rule within the cache.
static CallSite< T > CreateMatchmaker< T >(CallSite< T > site)
Creates an instance of a dynamic call site used for cache lookup.
static bool SetNotMatched(CallSite site)
Checks if a dynamic site requires an update.
static RuleCache< T > GetRuleCache< T >(CallSite< T > site)
Retrieves binding rule cache.
static void UpdateRules< T >(CallSite< T > @this, int matched)
Updates rules in the cache.
Creates and caches binding rules.
static bool GetMatch(CallSite site)
Checks whether the executed rule matched
Class responsible for runtime binding of the dynamic operations on the dynamic call site.
static void ClearMatch(CallSite site)
Clears the match flag on the matchmaker call site.
static void AddRule< T >(CallSite< T > site, T rule)
Adds a rule to the cache maintained on the dynamic call site.