Ejemplo n.º 1
0
 internal IlProgram(IlAddress entryPoint,
                    IReadOnlyList <IlMethod> ilMethods,
                    IReadOnlyDictionary <IlAddress, string> methodNames,
                    IReadOnlyCollection <IlAddress> labelTargets)
     : this(entryPoint, ilMethods, labelTargets, new Dictionary <IlAddress, string>(), methodNames, new Dictionary <IlAddress, List <string> >())
 {
 }
Ejemplo n.º 2
0
 internal IlProgram(IlAddress entryPoint,
                    IReadOnlyList <IlMethod> ilMethods,
                    IReadOnlyCollection <IlAddress> labelTargets,
                    IReadOnlyDictionary <IlAddress, string> labelNames,
                    IReadOnlyDictionary <IlAddress, string> methodNames,
                    IReadOnlyDictionary <IlAddress, List <string> > comments)
 {
     EntryPoint   = entryPoint;
     IlMethods    = ilMethods;
     LabelTargets = labelTargets;
     LabelNames   = labelNames;
     MethodNames  = methodNames;
     Comments     = comments;
 }
Ejemplo n.º 3
0
 public IlMethod(IlAddress address, byte args, IReadOnlyList <IlObject> ilObjects)
 {
     Address   = address;
     Args      = args;
     IlObjects = ilObjects;
 }
Ejemplo n.º 4
0
 internal IlObject(IlAddress address, int size, object obj)
 {
     Address = address;
     Size    = size;
     Obj     = obj;
 }
Ejemplo n.º 5
0
 public int CompareTo(IlAddress other)
 => _address.CompareTo(other._address);