Beispiel #1
0
        private void PrefetchFieldDefinitions(BinaryReader reader, uint fieldcount)
        {
            var fieldIndex = 0;
            for (var i = 0; i < fieldcount; i++)
            {
                if (i == 0)
                    fieldIndex = (int)reader.ReadULEB128();
                else
                    fieldIndex += (int)reader.ReadULEB128();

                reader.ReadULEB128();
                var fdef = new FieldDefinition(Dex.FieldReferences[fieldIndex]);
                Dex.FieldReferences[fieldIndex] = fdef;
            }
        }
Beispiel #2
0
 public bool Equals(FieldDefinition other)
 {
     // Should be enough (ownership)
     return base.Equals(other);
 }