ExecutionScope.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="ExecutionScope" FullName="System.Runtime.CompilerServices.ExecutionScope">
  3. <TypeSignature Language="C#" Value="public class ExecutionScope" />
  4. <AssemblyInfo>
  5. <AssemblyName>System.Core</AssemblyName>
  6. <AssemblyVersion>3.5.0.0</AssemblyVersion>
  7. </AssemblyInfo>
  8. <Base>
  9. <BaseTypeName>System.Object</BaseTypeName>
  10. </Base>
  11. <Interfaces />
  12. <Docs>
  13. <remarks>
  14. <attribution license="cc4" from="Microsoft" modified="false" />
  15. <para>The <see cref="T:System.Runtime.CompilerServices.ExecutionScope" /> type is used by the expression tree compiler, which is an internal component of the vbteclinq expression tree API, and by the dynamic methods that it generates.</para>
  16. </remarks>
  17. <summary>
  18. <attribution license="cc4" from="Microsoft" modified="false" />
  19. <para>Represents the runtime state of a dynamically generated method.</para>
  20. </summary>
  21. </Docs>
  22. <Members>
  23. <Member MemberName="CreateDelegate">
  24. <MemberSignature Language="C#" Value="public Delegate CreateDelegate (int indexLambda, object[] locals);" />
  25. <MemberType>Method</MemberType>
  26. <AssemblyInfo>
  27. <AssemblyVersion>3.5.0.0</AssemblyVersion>
  28. </AssemblyInfo>
  29. <ReturnValue>
  30. <ReturnType>System.Delegate</ReturnType>
  31. </ReturnValue>
  32. <Parameters>
  33. <Parameter Name="indexLambda" Type="System.Int32" />
  34. <Parameter Name="locals" Type="System.Object[]" />
  35. </Parameters>
  36. <Docs>
  37. <remarks>To be added.</remarks>
  38. <summary>
  39. <attribution license="cc4" from="Microsoft" modified="false" />
  40. <para>Creates a delegate that can be used to execute a dynamically generated method.</para>
  41. </summary>
  42. <returns>
  43. <attribution license="cc4" from="Microsoft" modified="false" />
  44. <para>A <see cref="T:System.Delegate" /> that can execute a dynamically generated method.</para>
  45. </returns>
  46. <param name="indexLambda">
  47. <attribution license="cc4" from="Microsoft" modified="false" />The index of the object that stores information about associated lambda expression of the dynamic method.</param>
  48. <param name="locals">
  49. <attribution license="cc4" from="Microsoft" modified="false" />An array that contains the hoisted local variables from the parent context.</param>
  50. </Docs>
  51. </Member>
  52. <Member MemberName="CreateHoistedLocals">
  53. <MemberSignature Language="C#" Value="public object[] CreateHoistedLocals ();" />
  54. <MemberType>Method</MemberType>
  55. <AssemblyInfo>
  56. <AssemblyVersion>3.5.0.0</AssemblyVersion>
  57. </AssemblyInfo>
  58. <ReturnValue>
  59. <ReturnType>System.Object[]</ReturnType>
  60. </ReturnValue>
  61. <Parameters />
  62. <Docs>
  63. <remarks>To be added.</remarks>
  64. <summary>
  65. <attribution license="cc4" from="Microsoft" modified="false" />
  66. <para>Creates an array to store the hoisted local variables.</para>
  67. </summary>
  68. <returns>
  69. <attribution license="cc4" from="Microsoft" modified="false" />
  70. <para>An array to store hoisted local variables.</para>
  71. </returns>
  72. </Docs>
  73. </Member>
  74. <Member MemberName="Globals">
  75. <MemberSignature Language="C#" Value="public object[] Globals;" />
  76. <MemberType>Field</MemberType>
  77. <AssemblyInfo>
  78. <AssemblyVersion>3.5.0.0</AssemblyVersion>
  79. </AssemblyInfo>
  80. <ReturnValue>
  81. <ReturnType>System.Object[]</ReturnType>
  82. </ReturnValue>
  83. <Docs>
  84. <remarks>To be added.</remarks>
  85. <summary>
  86. <attribution license="cc4" from="Microsoft" modified="false" />
  87. <para>Represents the non-trivial constants and locally executable expressions that are referenced by a dynamically generated method.</para>
  88. </summary>
  89. </Docs>
  90. </Member>
  91. <Member MemberName="IsolateExpression">
  92. <MemberSignature Language="C#" Value="public System.Linq.Expressions.Expression IsolateExpression (System.Linq.Expressions.Expression expression, object[] locals);" />
  93. <MemberType>Method</MemberType>
  94. <AssemblyInfo>
  95. <AssemblyVersion>3.5.0.0</AssemblyVersion>
  96. </AssemblyInfo>
  97. <ReturnValue>
  98. <ReturnType>System.Linq.Expressions.Expression</ReturnType>
  99. </ReturnValue>
  100. <Parameters>
  101. <Parameter Name="expression" Type="System.Linq.Expressions.Expression" />
  102. <Parameter Name="locals" Type="System.Object[]" />
  103. </Parameters>
  104. <Docs>
  105. <remarks>To be added.</remarks>
  106. <summary>
  107. <attribution license="cc4" from="Microsoft" modified="false" />
  108. <para>Frees a specified expression tree of external parameter references by replacing the parameter with its current value.</para>
  109. </summary>
  110. <returns>
  111. <attribution license="cc4" from="Microsoft" modified="false" />
  112. <para>An expression tree that does not contain external parameter references.</para>
  113. </returns>
  114. <param name="expression">
  115. <attribution license="cc4" from="Microsoft" modified="false" />An expression tree to free of external parameter references.</param>
  116. <param name="locals">
  117. <attribution license="cc4" from="Microsoft" modified="false" />An array that contains the hoisted local variables.</param>
  118. </Docs>
  119. </Member>
  120. <Member MemberName="Locals">
  121. <MemberSignature Language="C#" Value="public object[] Locals;" />
  122. <MemberType>Field</MemberType>
  123. <AssemblyInfo>
  124. <AssemblyVersion>3.5.0.0</AssemblyVersion>
  125. </AssemblyInfo>
  126. <ReturnValue>
  127. <ReturnType>System.Object[]</ReturnType>
  128. </ReturnValue>
  129. <Docs>
  130. <remarks>To be added.</remarks>
  131. <summary>
  132. <attribution license="cc4" from="Microsoft" modified="false" />
  133. <para>Represents the hoisted local variables from the parent context.</para>
  134. </summary>
  135. </Docs>
  136. </Member>
  137. <Member MemberName="Parent">
  138. <MemberSignature Language="C#" Value="public System.Runtime.CompilerServices.ExecutionScope Parent;" />
  139. <MemberType>Field</MemberType>
  140. <AssemblyInfo>
  141. <AssemblyVersion>3.5.0.0</AssemblyVersion>
  142. </AssemblyInfo>
  143. <ReturnValue>
  144. <ReturnType>System.Runtime.CompilerServices.ExecutionScope</ReturnType>
  145. </ReturnValue>
  146. <Docs>
  147. <remarks>To be added.</remarks>
  148. <summary>
  149. <attribution license="cc4" from="Microsoft" modified="false" />
  150. <para>Represents the execution scope of the calling delegate.</para>
  151. </summary>
  152. </Docs>
  153. </Member>
  154. </Members>
  155. </Type>