1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
|
<Type Name="MethodImplOptions" FullName="System.Runtime.CompilerServices.MethodImplOptions" FullNameSP="System_Runtime_CompilerServices_MethodImplOptions" Maintainer="ecma">
<TypeSignature Language="ILASM" Value=".class public sealed serializable MethodImplOptions extends System.Enum" />
<TypeSignature Language="C#" Value="public enum MethodImplOptions" />
<MemberOfLibrary>RuntimeInfrastructure</MemberOfLibrary>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<summary>
<para>Defines the details of how a method is implemented.</para>
</summary>
<remarks>
<para>This enumeration is used by <see cref="T:System.Runtime.CompilerServices.MethodImplAttribute" />.
</para>
</remarks>
</Docs>
<Members>
<Member MemberName="ForwardRef">
<MemberSignature Language="ILASM" Value=".field public static literal valuetype System.Runtime.CompilerServices.MethodImplOptions ForwardRef = 16" />
<MemberSignature Language="C#" Value="ForwardRef" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Runtime.CompilerServices.MethodImplOptions</ReturnType>
</ReturnValue>
<Parameters />
<MemberValue>ForwardRef</MemberValue>
<Docs>
<summary>
<para> Specifies that the method is declared, but its implementation is
provided elsewhere. </para>
<para>
<block subset="none" type="note">For most languages, it is recommended
that the notion of "forward" be attached to methods using language syntax
instead of custom attributes. </block>
</para>
</summary>
<remarks>To be added.</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="InternalCall">
<MemberSignature Language="ILASM" Value=".field public static literal valuetype System.Runtime.CompilerServices.MethodImplOptions InternalCall = 4096" />
<MemberSignature Language="C#" Value="InternalCall" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Runtime.CompilerServices.MethodImplOptions</ReturnType>
</ReturnValue>
<Parameters />
<MemberValue>InternalCall</MemberValue>
<Docs>
<summary>
<para>Specifies an internal call.</para>
<para>
<block subset="none" type="note">An internal call
is a call to a method implemented within the system itself, providing
additional functionality that regular managed code cannot provide. <see cref="M:System.Object.MemberwiseClone" />
is an example of an internally called method.</block>
</para>
</summary>
<remarks>To be added.</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="NoInlining">
<MemberSignature Language="ILASM" Value=".field public static literal valuetype System.Runtime.CompilerServices.MethodImplOptions NoInlining = 8" />
<MemberSignature Language="C#" Value="NoInlining" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Runtime.CompilerServices.MethodImplOptions</ReturnType>
</ReturnValue>
<Parameters />
<MemberValue>NoInlining</MemberValue>
<Docs>
<summary>
<para>Specifies that the method is not permitted to be inlined.</para>
</summary>
<remarks>To be added.</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="PreserveSig">
<MemberSignature Language="C#" Value="PreserveSig" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Runtime.CompilerServices.MethodImplOptions</ReturnType>
</ReturnValue>
<MemberValue>PreserveSig</MemberValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Synchronized">
<MemberSignature Language="ILASM" Value=".field public static literal valuetype System.Runtime.CompilerServices.MethodImplOptions Synchronized = 32" />
<MemberSignature Language="C#" Value="Synchronized" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Runtime.CompilerServices.MethodImplOptions</ReturnType>
</ReturnValue>
<Parameters />
<MemberValue>Synchronized</MemberValue>
<Docs>
<summary>
<para>Specifies the method can be executed by only one thread at a time.</para>
<para>This option specifies that before a thread can execute the target method, the
thread is required to acquire a lock on either the current
instance or the <see cref="T:System.Type" />
object for the method's class. If the target method is an instance method, the
lock is on the current instance. If the target is a static method, the lock is
on the <see cref="T:System.Type" /> object. Specifying this option causes the target method to behave as though its
statements are enclosed by <see cref="M:System.Threading.Monitor.Enter(System.Object)" /> and <see cref="M:System.Threading.Monitor.Exit(System.Object)" />
statements locking the previous described object. This option and the <see cref="T:System.Threading.Monitor" /> methods are functionally equivalent, and both
are functionally equivalent to enclosing the target method's code in a C# lock
(this)
statement. </para>
<block subset="none" type="note">
<para>Because this option holds the lock for
the duration of the target method, it should be used only when the entire method
must be single threaded. Use the <see cref="T:System.Threading.Monitor" /> methods (or the C#
lock statement) if the object lock can be taken after the method begins, or
released before the method ends. Any mechanism that uses locks can cause an
application to experience deadlocks and performance degradation; for these
reasons, use this option with care.</para>
<para> For most languages, it is recommended that the notion of
"synchronized" be attached to methods using language syntax instead of custom
attributes.</para>
</block>
</summary>
<remarks>To be added.</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Unmanaged">
<MemberSignature Language="ILASM" Value=".field public static literal valuetype System.Runtime.CompilerServices.MethodImplOptions Unmanaged = 4" />
<MemberSignature Language="C#" Value="Unmanaged" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Runtime.CompilerServices.MethodImplOptions</ReturnType>
</ReturnValue>
<Parameters />
<MemberValue>Unmanaged</MemberValue>
<Docs>
<summary>
<para>Specifies that the method is implemented in unmanaged code.</para>
</summary>
<remarks>To be added.</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
<TypeExcluded>0</TypeExcluded>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Flags</AttributeName>
</Attribute>
</Attributes>
</Type>
|