public FieldSig GetFieldSig(uint index) { FieldSig f = m_signatures [index] as FieldSig; if (f == null) { f = new FieldSig (index); f.Accept (this); m_signatures [index] = f; } return f; }
public uint AddFieldSig (FieldSig fSig) { return AddSignature (fSig); }
public override void VisitFieldSig (FieldSig field) { m_sigWriter.Write (field.CallingConvention); Write (field.CustomMods); Write (field.Type); }
public byte [] CompressFieldSig (FieldSig field) { m_sigWriter.Empty (); VisitFieldSig (field); return m_sigWriter.ToArray (); }
public FieldSig GetFieldSig(FieldReference field) { FieldSig sig = new FieldSig (); sig.CallingConvention |= 0x6; sig.Field = true; sig.CustomMods = GetCustomMods (field.FieldType); sig.Type = GetSigType (field.FieldType); return sig; }
public uint AddFieldSig(FieldSig fSig) { return(AddSignature(fSig)); }
public override void VisitFieldSig(FieldSig field) { m_sigWriter.Write(field.CallingConvention); Write(field.CustomMods); Write(field.Type); }
public byte [] CompressFieldSig(FieldSig field) { m_sigWriter.Empty(); VisitFieldSig(field); return(m_sigWriter.ToArray()); }
public override void VisitFieldSig(FieldSig field) { int start; Utilities.ReadCompressedInteger (m_blobData, (int) field.BlobIndex, out start); field.CallingConvention = m_blobData [start]; field.Field = (field.CallingConvention & 0x6) != 0; field.CustomMods = ReadCustomMods (m_blobData, start + 1, out start); field.Type = ReadType (m_blobData, start, out start); }