Print() публичный абстрактный Метод

public abstract Print ( ) : string
Результат string
 public override string Print()
 {
     if (offset > 0)
     {
         return(String.Format("[{0}]+0x{1:x}", relative_to.Print(), offset));
     }
     else
     {
         return(String.Format("[{0}]-0x{1:x}", relative_to.Print(), -offset));
     }
 }
 public override string Print()
 {
     return(String.Format("Bitfield [{0}..{1}] in {2}",
                          bit_offset, bit_offset + bit_size,
                          relative_to.Print()));
 }
 public override string Print()
 {
     return(String.Format("*[{0}]", reference.Print()));
 }
Пример #4
0
 public string PrintLocation()
 {
     return(Location.Print());
 }