| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489 |
- <?xml version="1.0" encoding="utf-8"?>
- <Type Name="CallSiteOps" FullName="System.Runtime.CompilerServices.CallSiteOps">
- <TypeSignature Language="C#" Value="public static class CallSiteOps" />
- <TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit CallSiteOps extends System.Object" />
- <AssemblyInfo>
- <AssemblyName>System.Core</AssemblyName>
- <AssemblyVersion>4.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Base>
- <BaseTypeName>System.Object</BaseTypeName>
- </Base>
- <Interfaces />
- <Attributes>
- <Attribute>
- <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
- </Attribute>
- <Attribute>
- <AttributeName>System.Diagnostics.DebuggerStepThrough</AttributeName>
- </Attribute>
- </Attributes>
- <Docs>
- <remarks>To be added.</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Creates and caches binding rules.</para>
- </summary>
- </Docs>
- <Members>
- <Member MemberName="AddRule<T>">
- <MemberSignature Language="C#" Value="public static void AddRule<T> (System.Runtime.CompilerServices.CallSite<T> site, T rule) where T : class;" />
- <MemberSignature Language="ILAsm" Value=".method public static hidebysig void AddRule<class T>(class System.Runtime.CompilerServices.CallSite`1<!!T> site, !!T rule) cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>4.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Attributes>
- <Attribute>
- <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
- </Attribute>
- <Attribute>
- <AttributeName>System.Obsolete("do not use this method", true)</AttributeName>
- </Attribute>
- </Attributes>
- <ReturnValue>
- <ReturnType>System.Void</ReturnType>
- </ReturnValue>
- <TypeParameters>
- <TypeParameter Name="T">
- <Constraints>
- <ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
- </Constraints>
- </TypeParameter>
- </TypeParameters>
- <Parameters>
- <Parameter Name="site" Type="System.Runtime.CompilerServices.CallSite<T>" />
- <Parameter Name="rule" Type="T" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Adds a rule to the cache maintained on the dynamic call site.</para>
- </summary>
- <param name="site">
- <attribution license="cc4" from="Microsoft" modified="false" />An instance of the dynamic call site.</param>
- <param name="rule">
- <attribution license="cc4" from="Microsoft" modified="false" />An instance of the call site rule.</param>
- <typeparam name="T">
- <attribution license="cc4" from="Microsoft" modified="false" />The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />.</typeparam>
- </Docs>
- </Member>
- <Member MemberName="Bind<T>">
- <MemberSignature Language="C#" Value="public static T Bind<T> (System.Runtime.CompilerServices.CallSiteBinder binder, System.Runtime.CompilerServices.CallSite<T> site, object[] args) where T : class;" />
- <MemberSignature Language="ILAsm" Value=".method public static hidebysig !!T Bind<class T>(class System.Runtime.CompilerServices.CallSiteBinder binder, class System.Runtime.CompilerServices.CallSite`1<!!T> site, object[] args) cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>4.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Attributes>
- <Attribute>
- <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
- </Attribute>
- <Attribute>
- <AttributeName>System.Obsolete("do not use this method", true)</AttributeName>
- </Attribute>
- </Attributes>
- <ReturnValue>
- <ReturnType>T</ReturnType>
- </ReturnValue>
- <TypeParameters>
- <TypeParameter Name="T">
- <Constraints>
- <ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
- </Constraints>
- </TypeParameter>
- </TypeParameters>
- <Parameters>
- <Parameter Name="binder" Type="System.Runtime.CompilerServices.CallSiteBinder" />
- <Parameter Name="site" Type="System.Runtime.CompilerServices.CallSite<T>" />
- <Parameter Name="args" Type="System.Object[]" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Updates the call site target with a new rule based on the arguments.</para>
- </summary>
- <returns>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>The new call site target.</para>
- </returns>
- <param name="binder">
- <attribution license="cc4" from="Microsoft" modified="false" />The call site binder.</param>
- <param name="site">
- <attribution license="cc4" from="Microsoft" modified="false" />An instance of the dynamic call site.</param>
- <param name="args">
- <attribution license="cc4" from="Microsoft" modified="false" />Arguments to the call site.</param>
- <typeparam name="T">
- <attribution license="cc4" from="Microsoft" modified="false" />The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />.</typeparam>
- </Docs>
- </Member>
- <Member MemberName="ClearMatch">
- <MemberSignature Language="C#" Value="public static void ClearMatch (System.Runtime.CompilerServices.CallSite site);" />
- <MemberSignature Language="ILAsm" Value=".method public static hidebysig void ClearMatch(class System.Runtime.CompilerServices.CallSite site) cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>4.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Attributes>
- <Attribute>
- <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
- </Attribute>
- <Attribute>
- <AttributeName>System.Obsolete("do not use this method", true)</AttributeName>
- </Attribute>
- </Attributes>
- <ReturnValue>
- <ReturnType>System.Void</ReturnType>
- </ReturnValue>
- <Parameters>
- <Parameter Name="site" Type="System.Runtime.CompilerServices.CallSite" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Clears the match flag on the matchmaker call site.</para>
- </summary>
- <param name="site">
- <attribution license="cc4" from="Microsoft" modified="false" />An instance of the dynamic call site.</param>
- </Docs>
- </Member>
- <Member MemberName="CreateMatchmaker<T>">
- <MemberSignature Language="C#" Value="public static System.Runtime.CompilerServices.CallSite<T> CreateMatchmaker<T> (System.Runtime.CompilerServices.CallSite<T> site) where T : class;" />
- <MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Runtime.CompilerServices.CallSite`1<!!T> CreateMatchmaker<class T>(class System.Runtime.CompilerServices.CallSite`1<!!T> site) cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>4.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Attributes>
- <Attribute>
- <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
- </Attribute>
- <Attribute>
- <AttributeName>System.Obsolete("do not use this method", true)</AttributeName>
- </Attribute>
- </Attributes>
- <ReturnValue>
- <ReturnType>System.Runtime.CompilerServices.CallSite<T></ReturnType>
- </ReturnValue>
- <TypeParameters>
- <TypeParameter Name="T">
- <Constraints>
- <ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
- </Constraints>
- </TypeParameter>
- </TypeParameters>
- <Parameters>
- <Parameter Name="site" Type="System.Runtime.CompilerServices.CallSite<T>" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Creates an instance of a dynamic call site used for cache lookup.</para>
- </summary>
- <returns>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>The new call site.</para>
- </returns>
- <param name="site">
- <attribution license="cc4" from="Microsoft" modified="false" />An instance of the dynamic call site.</param>
- <typeparam name="T">
- <attribution license="cc4" from="Microsoft" modified="false" />The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />.</typeparam>
- </Docs>
- </Member>
- <Member MemberName="GetCachedRules<T>">
- <MemberSignature Language="C#" Value="public static T[] GetCachedRules<T> (System.Runtime.CompilerServices.RuleCache<T> cache) where T : class;" />
- <MemberSignature Language="ILAsm" Value=".method public static hidebysig !!T[] GetCachedRules<class T>(class System.Runtime.CompilerServices.RuleCache`1<!!T> cache) cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>4.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Attributes>
- <Attribute>
- <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
- </Attribute>
- <Attribute>
- <AttributeName>System.Obsolete("do not use this method", true)</AttributeName>
- </Attribute>
- </Attributes>
- <ReturnValue>
- <ReturnType>T[]</ReturnType>
- </ReturnValue>
- <TypeParameters>
- <TypeParameter Name="T">
- <Constraints>
- <ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
- </Constraints>
- </TypeParameter>
- </TypeParameters>
- <Parameters>
- <Parameter Name="cache" Type="System.Runtime.CompilerServices.RuleCache<T>" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Searches the dynamic rule cache for rules applicable to the dynamic operation.</para>
- </summary>
- <returns>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>The collection of applicable rules.</para>
- </returns>
- <param name="cache">
- <attribution license="cc4" from="Microsoft" modified="false" />The cache.</param>
- <typeparam name="T">
- <attribution license="cc4" from="Microsoft" modified="false" />The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />. </typeparam>
- </Docs>
- </Member>
- <Member MemberName="GetMatch">
- <MemberSignature Language="C#" Value="public static bool GetMatch (System.Runtime.CompilerServices.CallSite site);" />
- <MemberSignature Language="ILAsm" Value=".method public static hidebysig bool GetMatch(class System.Runtime.CompilerServices.CallSite site) cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>4.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Attributes>
- <Attribute>
- <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
- </Attribute>
- <Attribute>
- <AttributeName>System.Obsolete("do not use this method", true)</AttributeName>
- </Attribute>
- </Attributes>
- <ReturnValue>
- <ReturnType>System.Boolean</ReturnType>
- </ReturnValue>
- <Parameters>
- <Parameter Name="site" Type="System.Runtime.CompilerServices.CallSite" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Checks whether the executed rule matched</para>
- </summary>
- <returns>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>true if rule matched, false otherwise.</para>
- </returns>
- <param name="site">
- <attribution license="cc4" from="Microsoft" modified="false" />An instance of the dynamic call site.</param>
- </Docs>
- </Member>
- <Member MemberName="GetRuleCache<T>">
- <MemberSignature Language="C#" Value="public static System.Runtime.CompilerServices.RuleCache<T> GetRuleCache<T> (System.Runtime.CompilerServices.CallSite<T> site) where T : class;" />
- <MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Runtime.CompilerServices.RuleCache`1<!!T> GetRuleCache<class T>(class System.Runtime.CompilerServices.CallSite`1<!!T> site) cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>4.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Attributes>
- <Attribute>
- <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
- </Attribute>
- <Attribute>
- <AttributeName>System.Obsolete("do not use this method", true)</AttributeName>
- </Attribute>
- </Attributes>
- <ReturnValue>
- <ReturnType>System.Runtime.CompilerServices.RuleCache<T></ReturnType>
- </ReturnValue>
- <TypeParameters>
- <TypeParameter Name="T">
- <Constraints>
- <ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
- </Constraints>
- </TypeParameter>
- </TypeParameters>
- <Parameters>
- <Parameter Name="site" Type="System.Runtime.CompilerServices.CallSite<T>" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Retrieves binding rule cache.</para>
- </summary>
- <returns>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>The cache.</para>
- </returns>
- <param name="site">
- <attribution license="cc4" from="Microsoft" modified="false" />An instance of the dynamic call site.</param>
- <typeparam name="T">
- <attribution license="cc4" from="Microsoft" modified="false" />The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />.</typeparam>
- </Docs>
- </Member>
- <Member MemberName="GetRules<T>">
- <MemberSignature Language="C#" Value="public static T[] GetRules<T> (System.Runtime.CompilerServices.CallSite<T> site) where T : class;" />
- <MemberSignature Language="ILAsm" Value=".method public static hidebysig !!T[] GetRules<class T>(class System.Runtime.CompilerServices.CallSite`1<!!T> site) cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>4.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Attributes>
- <Attribute>
- <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
- </Attribute>
- <Attribute>
- <AttributeName>System.Obsolete("do not use this method", true)</AttributeName>
- </Attribute>
- </Attributes>
- <ReturnValue>
- <ReturnType>T[]</ReturnType>
- </ReturnValue>
- <TypeParameters>
- <TypeParameter Name="T">
- <Constraints>
- <ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
- </Constraints>
- </TypeParameter>
- </TypeParameters>
- <Parameters>
- <Parameter Name="site" Type="System.Runtime.CompilerServices.CallSite<T>" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Gets the dynamic binding rules from the call site.</para>
- </summary>
- <returns>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>An array of dynamic binding rules.</para>
- </returns>
- <param name="site">
- <attribution license="cc4" from="Microsoft" modified="false" />An instance of the dynamic call site.</param>
- <typeparam name="T">
- <attribution license="cc4" from="Microsoft" modified="false" />The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />.</typeparam>
- </Docs>
- </Member>
- <Member MemberName="MoveRule<T>">
- <MemberSignature Language="C#" Value="public static void MoveRule<T> (System.Runtime.CompilerServices.RuleCache<T> cache, T rule, int i) where T : class;" />
- <MemberSignature Language="ILAsm" Value=".method public static hidebysig void MoveRule<class T>(class System.Runtime.CompilerServices.RuleCache`1<!!T> cache, !!T rule, int32 i) cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>4.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Attributes>
- <Attribute>
- <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
- </Attribute>
- <Attribute>
- <AttributeName>System.Obsolete("do not use this method", true)</AttributeName>
- </Attribute>
- </Attributes>
- <ReturnValue>
- <ReturnType>System.Void</ReturnType>
- </ReturnValue>
- <TypeParameters>
- <TypeParameter Name="T">
- <Constraints>
- <ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
- </Constraints>
- </TypeParameter>
- </TypeParameters>
- <Parameters>
- <Parameter Name="cache" Type="System.Runtime.CompilerServices.RuleCache<T>" />
- <Parameter Name="rule" Type="T" />
- <Parameter Name="i" Type="System.Int32" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Moves the binding rule within the cache.</para>
- </summary>
- <param name="cache">
- <attribution license="cc4" from="Microsoft" modified="false" />The call site rule cache.</param>
- <param name="rule">
- <attribution license="cc4" from="Microsoft" modified="false" />An instance of the call site rule.</param>
- <param name="i">
- <attribution license="cc4" from="Microsoft" modified="false" />An index of the call site rule.</param>
- <typeparam name="T">
- <attribution license="cc4" from="Microsoft" modified="false" />The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />. </typeparam>
- </Docs>
- </Member>
- <Member MemberName="SetNotMatched">
- <MemberSignature Language="C#" Value="public static bool SetNotMatched (System.Runtime.CompilerServices.CallSite site);" />
- <MemberSignature Language="ILAsm" Value=".method public static hidebysig bool SetNotMatched(class System.Runtime.CompilerServices.CallSite site) cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>4.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Attributes>
- <Attribute>
- <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
- </Attribute>
- <Attribute>
- <AttributeName>System.Obsolete("do not use this method", true)</AttributeName>
- </Attribute>
- </Attributes>
- <ReturnValue>
- <ReturnType>System.Boolean</ReturnType>
- </ReturnValue>
- <Parameters>
- <Parameter Name="site" Type="System.Runtime.CompilerServices.CallSite" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Checks if a dynamic site requires an update.</para>
- </summary>
- <returns>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>true if rule does not need updating, false otherwise.</para>
- </returns>
- <param name="site">
- <attribution license="cc4" from="Microsoft" modified="false" />An instance of the dynamic call site.</param>
- </Docs>
- </Member>
- <Member MemberName="UpdateRules<T>">
- <MemberSignature Language="C#" Value="public static void UpdateRules<T> (System.Runtime.CompilerServices.CallSite<T> this, int matched) where T : class;" />
- <MemberSignature Language="ILAsm" Value=".method public static hidebysig void UpdateRules<class T>(class System.Runtime.CompilerServices.CallSite`1<!!T> this, int32 matched) cil managed" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>4.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Attributes>
- <Attribute>
- <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
- </Attribute>
- <Attribute>
- <AttributeName>System.Obsolete("do not use this method", true)</AttributeName>
- </Attribute>
- </Attributes>
- <ReturnValue>
- <ReturnType>System.Void</ReturnType>
- </ReturnValue>
- <TypeParameters>
- <TypeParameter Name="T">
- <Constraints>
- <ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
- </Constraints>
- </TypeParameter>
- </TypeParameters>
- <Parameters>
- <Parameter Name="this" Type="System.Runtime.CompilerServices.CallSite<T>" />
- <Parameter Name="matched" Type="System.Int32" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Updates rules in the cache.</para>
- </summary>
- <param name="this">
- <attribution license="cc4" from="Microsoft" modified="false" />An instance of the dynamic call site.</param>
- <param name="matched">
- <attribution license="cc4" from="Microsoft" modified="false" />The matched rule index.</param>
- <typeparam name="T">
- <attribution license="cc4" from="Microsoft" modified="false" />The type of the delegate of the <see cref="T:System.Runtime.CompilerServices.CallSite" />.</typeparam>
- </Docs>
- </Member>
- </Members>
- </Type>
|