示例#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> >())
 {
 }
示例#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;
 }
示例#3
0
文件: IlMethod.cs 项目: redcoreit/vmr
 public IlMethod(IlAddress address, byte args, IReadOnlyList <IlObject> ilObjects)
 {
     Address   = address;
     Args      = args;
     IlObjects = ilObjects;
 }
示例#4
0
 internal IlObject(IlAddress address, int size, object obj)
 {
     Address = address;
     Size    = size;
     Obj     = obj;
 }
示例#5
0
 public int CompareTo(IlAddress other)
 => _address.CompareTo(other._address);