DynamicAttribute.xml 4.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="DynamicAttribute" FullName="System.Runtime.CompilerServices.DynamicAttribute">
  3. <TypeSignature Language="C#" Value="public sealed class DynamicAttribute : Attribute" />
  4. <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit DynamicAttribute extends System.Attribute" />
  5. <AssemblyInfo>
  6. <AssemblyName>System.Core</AssemblyName>
  7. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  8. </AssemblyInfo>
  9. <Base>
  10. <BaseTypeName>System.Attribute</BaseTypeName>
  11. </Base>
  12. <Interfaces />
  13. <Attributes>
  14. <Attribute>
  15. <AttributeName>System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Property | System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.ReturnValue | System.AttributeTargets.All)</AttributeName>
  16. </Attribute>
  17. </Attributes>
  18. <Docs>
  19. <remarks>To be added.</remarks>
  20. <summary>
  21. <attribution license="cc4" from="Microsoft" modified="false" />
  22. <para>Indicates that the use of <see cref="T:System.Object" /> on a member is meant to be treated as a dynamically dispatched type.</para>
  23. </summary>
  24. </Docs>
  25. <Members>
  26. <Member MemberName=".ctor">
  27. <MemberSignature Language="C#" Value="public DynamicAttribute ();" />
  28. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
  29. <MemberType>Constructor</MemberType>
  30. <AssemblyInfo>
  31. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  32. </AssemblyInfo>
  33. <Parameters />
  34. <Docs>
  35. <remarks>
  36. <attribution license="cc4" from="Microsoft" modified="false" />
  37. <para>When used in an attribute specification, the default constructor is semantically equivalent to DynamicAttribute({ true }), and can be considered a shorthand for that expression. It should therefore only be used on an element of type <see cref="T:System.Object" />.</para>
  38. </remarks>
  39. <summary>
  40. <attribution license="cc4" from="Microsoft" modified="false" />
  41. <para>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.DynamicAttribute" /> class.</para>
  42. </summary>
  43. </Docs>
  44. </Member>
  45. <Member MemberName=".ctor">
  46. <MemberSignature Language="C#" Value="public DynamicAttribute (bool[] transformFlags);" />
  47. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(bool[] transformFlags) cil managed" />
  48. <MemberType>Constructor</MemberType>
  49. <AssemblyInfo>
  50. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  51. </AssemblyInfo>
  52. <Parameters>
  53. <Parameter Name="transformFlags" Type="System.Boolean[]" />
  54. </Parameters>
  55. <Docs>
  56. <remarks>
  57. <attribution license="cc4" from="Microsoft" modified="false" />
  58. <para>This constructor is meant to be used on types that are built on an underlying occurrence of <see cref="T:System.Object" /> that is meant to be treated dynamically.</para>
  59. <para>For instance, if C is a generic type with two type parameters, a use of the constructed type C&lt;Object,Object&gt; might be intended to treat the first type argument dynamically and the second typically, in which case the appropriate attribute specification should use a transformFlags value of { false, true, false }.</para>
  60. </remarks>
  61. <summary>
  62. <attribution license="cc4" from="Microsoft" modified="false" />
  63. <para>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.DynamicAttribute" /> class.</para>
  64. </summary>
  65. <param name="transformFlags">
  66. <attribution license="cc4" from="Microsoft" modified="false" />Specifies, in a prefix traversal of a type's construction, which <see cref="T:System.Object" /> occurrences are meant to be treated as a dynamically dispatched type.</param>
  67. </Docs>
  68. </Member>
  69. <Member MemberName="TransformFlags">
  70. <MemberSignature Language="C#" Value="public System.Collections.Generic.IList&lt;bool&gt; TransformFlags { get; }" />
  71. <MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IList`1&lt;bool&gt; TransformFlags" />
  72. <MemberType>Property</MemberType>
  73. <AssemblyInfo>
  74. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  75. </AssemblyInfo>
  76. <ReturnValue>
  77. <ReturnType>System.Collections.Generic.IList&lt;System.Boolean&gt;</ReturnType>
  78. </ReturnValue>
  79. <Docs>
  80. <value>To be added.</value>
  81. <remarks>To be added.</remarks>
  82. <summary>
  83. <attribution license="cc4" from="Microsoft" modified="false" />
  84. <para>Specifies, in a prefix traversal of a type's construction, which <see cref="T:System.Object" /> occurrences are meant to be treated as a dynamically dispatched type.</para>
  85. </summary>
  86. </Docs>
  87. </Member>
  88. </Members>
  89. </Type>