Update Madness

This commit is contained in:
Archi
2022-04-02 16:41:48 +02:00
parent c79c314b20
commit 635afa7165
4 changed files with 2 additions and 9 deletions

View File

@@ -153,11 +153,7 @@ public sealed class WebBrowser : IDisposable {
}
}
#if NETFRAMEWORK
if (response.Length > 0X7FFFFFC7) {
#else
if (response.Length > Array.MaxLength) {
#endif
throw new InvalidOperationException(nameof(response.Length));
}