Exemplo n.º 1
0
        private unsafe void InitializeNextCategory(IntPtr handle)
        {
            CategoryEntry categoryEntry = this;

            while (categoryEntry.internalCategoryEntry->NextCategoryOffset != 0)
            {
                CategoryEntry categoryEntry2 = new CategoryEntry(CategoryEntry.GetInternalCategoryEntry(handle, categoryEntry.internalCategoryEntry->NextCategoryOffset), handle);
                categoryEntry.nextCategoryEntry = categoryEntry2;
                categoryEntry = categoryEntry2;
            }
        }
Exemplo n.º 2
0
 public CategoryEntry(IntPtr handle, int offset) : this(CategoryEntry.GetInternalCategoryEntry(handle, offset), handle)
 {
     this.offset = offset;
     this.InitializeNextCategory(handle);
 }