public IProvidedMethodReference CreateProvidedMethodReference(IProvidedServiceReference providedService, string methodId)
        {
            var obj = ProvidedMethodReference.Rent();

            obj.ProvidedService = providedService;
            obj.MethodId        = methodId;
            return(obj);
        }
        private static ProvidedMethodReference ConvertToProtoStrict(IProvidedMethodReference obj)
        {
            var proto = ProvidedMethodReference.Rent();

            proto.ProvidedService = ConvertToProtoStrict(obj.ProvidedService);
            proto.MethodId        = obj.MethodId.ConvertToProtoStrict();
            return(proto);
        }