Exemple #1
0
 private void LoadSignature()
 {
     if (m_signature == null)
     {
         var peFile    = DeclaringType.Module.PEFile;
         var bytes     = peFile.ReadBlob(m_pRow->GetSignatureOffset(peFile));
         var signature = SignatureParser.ParseMethodSignature(bytes, this);
         #pragma warning disable 420
         Interlocked.CompareExchange(ref m_signature, signature, null);
         #pragma warning restore 420
     }
 }