public bool ValidateReference(MetaDataMember member) { if (member.ToString() == _tokenResolver.ResolveMember(member._metadatatoken).ToString()) { return(false); } return(true); }
private TreeNode CreateTreeNode(MetaDataMember member) { TreeNode node = new TreeNode(); uint index = (member.MetaDataToken | ((uint)0xFF << 24)) - ((uint)0xFF << 24); try { node.Text = string.Format("{0} ({1})", index, (member is MemberReference ? (member as MemberReference).Name : member.ToString())); } catch { node.Text = index.ToString(); } index++; node.Tag = member; return(node); }
public bool ValidateReference(MetaDataMember member) { if (member.ToString() == _tokenResolver.ResolveMember(member._metadatatoken).ToString()) return false; return true; }