Puts the specified instruction and a signature token onto the stream of instructions.
[Visual Basic] Overloads Overridable Public Sub Emit( _ ByVal opcode As OpCode, _ ByVal signature As SignatureHelper _ ) [C#] public virtual void Emit( OpCode opcode, SignatureHelper signature ); [C++] public: virtual void Emit( OpCode opcode, SignatureHelper* signature ); [JScript] public function Emit( opcode : OpCode, signature : SignatureHelper );
Exception Type | Condition |
---|---|
ArgumentNullException | if signature is a null reference (in Visual Basic Nothing) |
The instruction values are defined in the OpCodes enumeration.
ILGenerator Class | ILGenerator Members | System.Reflection.Emit Namespace | ILGenerator.Emit Overload List