Modifies the context and emits the binary representation of this emittable.
            
Namespace: SharpAssembler.x86Assembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)
 Syntax
Syntax
| C# | 
|---|
| public int Emit( BinaryWriter writer, Context context ) | 
| Visual Basic | 
|---|
| Public Function Emit ( _ writer As BinaryWriter, _ context As Context _ ) As Integer | 
| Visual C++ | 
|---|
| public: virtual int Emit( BinaryWriter^ writer, Context^ context ) sealed | 
Parameters
- writer
- Type: System.IO..::..BinaryWriter
 The BinaryWriter to which the emittable will be emitted.
- context
- Type: SharpAssembler.Core..::..Context
 The Context in which the emittable will be emitted.
Return Value
The number of emitted bytes.Implements
IEmittable..::..Emit(BinaryWriter, Context) Exceptions
Exceptions
| Exception | Condition | 
|---|---|
| System..::..ArgumentNullException | context == null | 
| System..::..ArgumentNullException | writer == null | 
 Contracts
Contracts
| Requires | ||||
|---|---|---|---|---|
| context != null 
 | ||||
| writer != null 
 | 
| Ensures | ||
|---|---|---|
| Contract.Result<int>() >= 0 
 | 





