mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
Remove some stale pragma warning disables (#38551)
This commit is contained in:
1 parent
2e1bab10fc
commit
7edc80a799
15 files changed
+2
-56
No files matched your search
@@ -65,10 +65,8 @@ namespace System.IO
|
||||
static FileSystemWatcher()
|
||||
{
|
||||
int s_notifyFiltersValidMask = 0;
|
||||
#pragma warning disable CS8605 // Unboxing a possibly null value
|
||||
foreach (int enumValue in Enum.GetValues(typeof(NotifyFilters)))
|
||||
s_notifyFiltersValidMask |= enumValue;
|
||||
#pragma warning restore CS8605
|
||||
Debug.Assert(c_notifyFiltersValidMask == s_notifyFiltersValidMask, "The NotifyFilters enum has changed. The c_notifyFiltersValidMask must be updated to reflect the values of the NotifyFilters enum.");
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user