public static IMemberReference Resolve(MemberRefRow row, MetadataSystem metadata)
        {
            var blob = metadata.ResolveBlob(row.Signature);

            blob.MoveTo(ByteBuffer.START_POSITION);

            var sig = blob.ReadByte();

            blob.MoveTo(ByteBuffer.START_POSITION);

            if (sig == FIELD_SIG)
            {
                return(FieldReferenceResolver.Resolve(row, blob, metadata));
            }

            return(MethodReferenceResolver.Resolve(row, blob, metadata));
        }
        public static MethodReference Resolve(MemberRefRow row, ByteBuffer signature, MetadataSystem metadata)
        {
            var resolver = new MethodReferenceResolver(row, signature, metadata);

            return(new MethodReference(resolver));
        }