feat: implement analyzer and code fixer for identifying and fixing when a sync flag is not propagated correctly.

This commit is contained in:
Stevan Freeborn
2026-06-18 21:28:41 -05:00
parent 86b9673b24
commit f3da2f60fd
45 changed files with 2184 additions and 0 deletions
@@ -0,0 +1,17 @@
using System.Threading.Tasks;
public interface IDataService
{
Task<string> GetCoreAsync(int id, bool sync = false);
}
public class BusinessLogic
{
private readonly IDataService _dataService;
public BusinessLogic(IDataService dataService) { _dataService = dataService; }
private async Task<string> GetFrobCoreAsync(bool sync)
{
return await _dataService.GetCoreAsync(id: 17, sync: sync);
}
}