Example #1
0
 public bool ValidateReference(MetaDataMember member)
 {
     if (member.ToString() == _tokenResolver.ResolveMember(member._metadatatoken).ToString())
     {
         return(false);
     }
     return(true);
 }
Example #2
0
        internal void ReadVariables()
        {
            if (methodbody.LocalVarSig == 0)
            {
                return;
            }

            var sig = (StandAloneSignature)tokenResolver.ResolveMember(methodbody.LocalVarSig);

            vars = methodbody.Method._netheader.BlobHeap.ReadVariableSignature(sig.Signature, methodbody.Method);
        }