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> >()) { }
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; }
public IlMethod(IlAddress address, byte args, IReadOnlyList <IlObject> ilObjects) { Address = address; Args = args; IlObjects = ilObjects; }
internal IlObject(IlAddress address, int size, object obj) { Address = address; Size = size; Obj = obj; }
public int CompareTo(IlAddress other) => _address.CompareTo(other._address);