/// <summary> /// Get the debug signature for a local. /// </summary> /// <param name="loc">The local.</param> /// <returns>The signature.</returns> internal DebugLocalSig GetDebugSig(Local loc) { byte[] b = loc.GetSig(); string s = BitConverter.ToString(b); DebugLocalSig sig = debugsigs[s]; if (sig != null) { return(sig); } sig = new DebugLocalSig(b); debugsigs.Add(s, sig); return(sig); }
/// <summary> /// Get the debug signature for a local. /// </summary> /// <param name="loc">The local.</param> /// <returns>The signature.</returns> internal DebugLocalSig GetDebugSig(Local loc) { byte[] b = loc.GetSig(); string s = BitConverter.ToString(b); DebugLocalSig sig = debugsigs[s]; if (sig != null) return sig; sig = new DebugLocalSig(b); debugsigs.Add(s, sig); return sig; }