Puts the specified instruction onto the IL stream followed by the metadata token for the given string.
[Visual Basic] Overloads Overridable Public Sub Emit( _ ByVal opcode As OpCode, _ ByVal str As String _ ) [C#] public virtual void Emit( OpCode opcode, string str ); [C++] public: virtual void Emit( OpCode opcode, String* str ); [JScript] public function Emit( opcode : OpCode, str : String );
The instruction values are defined in the OpCodes enumeration. The location of str is recorded for future fixups if the module is persisted to a PE.
ILGenerator Class | ILGenerator Members | System.Reflection.Emit Namespace | ILGenerator.Emit Overload List