草庐IT

productRatePlanCharge

全部标签

c# - 为什么我会收到 ReSharper 错误 "The extracted code has multiple entry points"?

我正在使用ReSharper重构我的代码。当我尝试将代码块移动到该方法时,我收到以下警告:提取的代码有多个入口点这是我打算使用的方法签名:privatevoidGetRatePlanComponents(ProductPlanproductPlan,ProductRatePlanproductRatePlan)我在网上搜索以了解其含义。但是没有太多运气。有人会解释吗?为了您的引用,这里是我试图移动到一个单独的方法的代码片段:QueryResultproductRatePlanChargeQueryResult=_zuoraService.query(string.Format(@"se