GetSig() public method

Gets the signature for this local variable.
public GetSig ( ) : byte[]
return byte[]
Example #1
0
 /// <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 = (DebugLocalSig)debugsigs[s];
     if (sig != null) return sig;
     sig = new DebugLocalSig(b);
     debugsigs.Add(s, sig);
     return sig;
 }