Example #1
0
 private void LinkData(CLIFile pFile)
 {
     int cursor = 0;
     if (Signature[0] == 0x06) ExpandedFieldSignature = new FieldSig(pFile, Signature, ref cursor);
     else if (Signature[0] == 0x07) ExpandedLocalVarSignature = new LocalVarSig(pFile, Signature, ref cursor);
     else ExpandedMethodSignature = new MethodSig(pFile, Signature, ref cursor);
 }
Example #2
0
 public void LinkData(MethodDefData pMethodDef)
 {
     if (LocalVarSigToken != 0)
     {
         LocalVarSignature = (StandAloneSigData)pMethodDef.CLIFile.ExpandMetadataToken(LocalVarSigToken).Data;
         ExpandedLocalVarSignature = LocalVarSignature.ExpandedLocalVarSignature;
     }
 }