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());
 }