mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Disable resharper inspections on case-by-case basis
This commit is contained in:
@ -307,6 +307,7 @@ namespace osu.Game.Beatmaps
|
||||
context.ChangeTracker.AutoDetectChangesEnabled = false;
|
||||
|
||||
// re-fetch the beatmap set on the import context.
|
||||
// ReSharper disable once AccessToModifiedClosure
|
||||
beatmapSet = context.BeatmapSetInfo.Include(s => s.Files).ThenInclude(f => f.FileInfo).First(s => s.ID == beatmapSet.ID);
|
||||
|
||||
// create local stores so we can isolate and thread safely, and share a context/transaction.
|
||||
|
Reference in New Issue
Block a user