Beispiel #1
0
        internal void BuildSignatures(MetaDataOut md)
        {
            if (!md.Debug) return;

              try {
            Local[] locals = _thisMeth.GetLocals();
            foreach (LocalBinding binding in _localBindings) {
              if (binding._debugsig == null) {
            locals[binding._index].BuildTables(md);
            binding._debugsig = md.GetDebugSig(locals[binding._index]);
              }
              binding._debugsig.BuildMDTables(md);
            }
              }
              catch (Exception e) {
            throw new Exception("Exception while writing debug info for: " +
                             this._thisMeth.NameString() + "\r\n" + e.ToString());
              }
        }