Ejemplo n.º 1
0
 /// <summary>Adds the end token to the signature and marks the signature as finished, so no further tokens can be added.</summary>
 /// <returns>Returns a byte array made up of the full signature.</returns>
 public byte[] GetSignature()
 {
     SignatureHelper.SignatureHelperType signatureHelperType = this.type;
     if (signatureHelperType == SignatureHelper.SignatureHelperType.HELPER_FIELD)
     {
         return(this.get_signature_field());
     }
     if (signatureHelperType != SignatureHelper.SignatureHelperType.HELPER_LOCAL)
     {
         throw new NotImplementedException();
     }
     return(this.get_signature_local());
 }
Ejemplo n.º 2
0
 internal SignatureHelper(ModuleBuilder module, SignatureHelper.SignatureHelperType type)
 {
     this.type   = type;
     this.module = module;
 }