NadekoBot.Extensions should now be fully annotated with nullable reference types as well as many classes from NadekoBot.Common

This commit is contained in:
Kwoth
2021-12-28 10:44:00 +01:00
parent 0634470a8a
commit 59f5056035
543 changed files with 1895 additions and 1448 deletions

View File

@@ -1,4 +1,5 @@
// License MIT
#nullable disable
// License MIT
// Source: https://github.com/i3arnon/ConcurrentHashSet
using System.Diagnostics;
@@ -810,4 +811,4 @@ public sealed class ConcurrentHashSet<T> : IReadOnlyCollection<T>, ICollection<T
Next = next;
}
}
}
}

View File

@@ -1,4 +1,5 @@
using System.Collections;
#nullable disable
using System.Collections;
using NadekoBot.Services.Database.Models;
namespace NadekoBot.Common.Collections;
@@ -142,4 +143,4 @@ public class IndexedCollection<T> : IList<T>
}
}
}
}
}