public static CallSite <T> CreateMatchmaker <T>(CallSite <T> site) where T : class
        {
            var mm = site.CreateMatchMaker();

            CallSiteOps.ClearMatch(mm);
            return(mm);
        }
        public static CallSite <T> CreateMatchmaker <T>(CallSite <T> site) where T : class
        {
            CallSite <T> site2 = site.CreateMatchMaker();

            ClearMatch(site2);
            return(site2);
        }
示例#3
0
        public static CallSite <T> CreateMatchmaker <T>(CallSite <T> site) where T : class
        {
            var mm = CallSite <T> .CreateMatchMaker();

            // CallSiteOps.ClearMatch(mm);
            mm._match = true;
            return(mm);
        }
示例#4
0
        public static CallSite <T> CreateMatchmaker <T>(CallSite <T> site)
            where T : class
        {
            if (site == null)
            {
                throw new ArgumentNullException(nameof(site));
            }

            var mm = site.CreateMatchMaker();

            mm.Match = true;
            return(mm);
        }