Exemple #1
0
 /// <summary>
 /// Generates the label itself (using the ASM block) and the line of assembly for the label.
 /// </summary>
 /// <param name="theBlock">The block for which the comment is to be generated.</param>
 /// <returns>The complete line of assembly code.</returns>
 public override string Convert(ASMBlock theBlock)
 {
     if (MethodLabel)
     {
         return(theBlock.GenerateMethodLabel() + ":");
     }
     else
     {
         return(theBlock.GenerateILOpLabel(ILPosition, Extension) + ":");
     }
 }