ILGenerator.Emit Method (OpCode, SignatureHelper)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Puts the specified instruction and a signature token onto the Microsoft intermediate language (MSIL) stream of instructions.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Overridable Sub Emit ( _ opcode As OpCode, _ signature As SignatureHelper _ )
Parameters
- opcode
- Type: System.Reflection.Emit.OpCode
The MSIL instruction to be emitted onto the stream.
- signature
- Type: System.Reflection.Emit.SignatureHelper
A helper for constructing a signature token.
| Exception | Condition |
|---|---|
| ArgumentNullException | signature is Nothing. |
Show: