コード例 #1
0
        internal static PInvoke Load(CodeNode parent, int ownerToken)
        {
            var image = parent.Module.Image;

            int rid;

            if (!image.GetImplMapByMemberForwarded(MetadataToken.CompressMemberForwarded(ownerToken), out rid))
            {
                return(null);
            }

            return(new PInvoke(parent, rid));
        }