DynamicILInfo.GetTokenFor Method

Gets a token, valid in the scope of the current DynamicILInfo, representing a string, field, method, type, or signature in the MSIL stream for the associated dynamic method.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method GetTokenFor(Byte[]) Gets a token, valid in the scope of the current DynamicILInfo, representing the signature for the associated dynamic method.
Public method GetTokenFor(DynamicMethod) Gets a token, valid in the scope of the current DynamicILInfo, representing a dynamic method to be called from the associated method.
Public method GetTokenFor(RuntimeFieldHandle) Gets a token, valid in the scope of the current DynamicILInfo, representing a field to be accessed from the associated dynamic method.
Public method GetTokenFor(RuntimeMethodHandle) Gets a token, valid in the scope of the current DynamicILInfo, representing a method to be accessed from the associated dynamic method.
Public method GetTokenFor(RuntimeTypeHandle) Gets a token, valid in the scope of the current DynamicILInfo, representing a type to be used in the associated dynamic method.
Public method GetTokenFor(String) Gets a token, valid in the scope of the current DynamicILInfo, representing a string literal to be used in the associated dynamic method.
Public method GetTokenFor(RuntimeFieldHandle, RuntimeTypeHandle) Gets a token, valid in the scope of the current DynamicILInfo, representing a field to be accessed from the associated dynamic method; the field is on the specified generic type.
Public method GetTokenFor(RuntimeMethodHandle, RuntimeTypeHandle) Gets a token, valid in the scope of the current DynamicILInfo, representing a method on a generic type.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft