Example #1
0
 /// <summary>
 /// Write instruction operands into bytecode stream.
 /// </summary>
 /// <param name="writer">Bytecode writer.</param>
 public override void WriteOperands(WordWriter writer)
 {
     StorageClass.Write(writer);
     if (Initializer != null)
     {
         Initializer.Write(writer);
     }
 }
Example #2
0
 /// <summary>
 /// Write instruction operands into bytecode stream.
 /// </summary>
 /// <param name="writer">Bytecode writer.</param>
 public override void WriteOperands(WordWriter writer)
 {
     StorageClass.Write(writer);
     Type.Write(writer);
 }