This repository has been archived on 2024-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
OctobotStealth/src/Services
Octol1ttle e65c7a469d
Use TryGetValue instead of ContainsKey + index access to avoid double lookup (#193)
This PR fixes an issue that is currently causing CI to fail in all pull
requests:
`Notice: "[CA1854] Prefer a 'TryGetValue' call over a Dictionary indexer
access guarded by a 'ContainsKey' check to avoid double lookup" on
/home/runner/work/Octobot/Octobot/src/Services/Update/ScheduledEventUpdateService.cs(107,4168)`
The issue is resolved by following the advice mentioned in the notice.
2023-11-22 11:19:45 +03:00
..
Update Use TryGetValue instead of ContainsKey + index access to avoid double lookup (#193) 2023-11-22 11:19:45 +03:00
BackgroundGuildDataSaverService.cs Rebrand to Octobot (#128) 2023-09-30 18:58:32 +05:00
GuildDataService.cs Handle guild data load errors better (#172) 2023-10-26 18:14:27 +03:00
UtilityService.cs Check interactions in MemberUpdateService before operating on members (#177) 2023-11-04 23:33:37 +05:00