Update slngen tooling to latest stable version and solution files since
a lot changed since the last time they were updated:
- NET7 (removal of older TFMs)
- Source Generators
With the newest udpate of slngen, the order of elements (configuration, folders, etc.) is in sync with how Visual Studio arranges them.
Also the order is now deterministic.
Based on that, updating all solution files to have the correct ordering of elements. This change also unblocks adding CI protection for
making sure that solution files are up-to-date in regards to their dependencies as slngen is now generating the files deterministically.
Long story short:
I have spent several hours trying to get a test run on SLES in order to repro #57929, no success so far, and it may take days to make progress, since I'm unfamiliar with SLES.
I recommend to bump the timeout values for now, and see if it helps with the issue. If not, we may invest into another round of investigation.
(hopefully) fixes#57929
* Socket: check connect result when non-blocking connect completes.
In addition to checking whether the socket is writable to know the
connect completed, also read SO_ERROR to know if the connect was
succesful before setting the Socket state to connected.
* Avoid EADDRNOTAVAIL on Windows/OSX by connecting to port 1 instead of 0.
* We don't expect InProgress result from reading SO_ERROR.
* Handle platform differences.
* Poll timeout is microseconds instead of milliseconds.
* PR feedback
* PR feedback
Fixes#57907
Intentionally left out `***CancellableTask` and `***SyncForceNonBlocking` to somewhat counterpart the increased execution time. I don't think we need all the cases for this particular test.
* Remove old fwlink from Obsolete messages and make message improvements
* Thorough review and update of Obsolete messages
* Cleanup
* Make messages about unsupported APIs more consistent
* Update RequiresUnreferencedCodeAttribute messages to be consistent between ref and src
* Cleanup
* Cleanup
* Use 'not supported' instead of 'no longer supported'
* Omit unnecessary error:false from Obsolete attributes. Fix message typo.
* Remove old comment
* PR feedback
Fixes#47583. Resolves#52287, #54807 and similar issues, without changing customer application code.
Introduces an AppContext switch `System.Net.DisableIPv6` and environment variable `DOTNET_SYSTEM_NET_DISABLEIPV6` to emulate the lack of OS-level IPv6 support. This is useful to workaround dual-stack socket issues when the OS reports support of IPv6, but some other underlying infrastructure element (typically VPN) doesn't function well with IPv6 request.
For consistency, this switch also impacts NameResolution and Ping, not only Sockets.
* Sockets.tests: TcpReceiveSendGetsCanceledByDispose: remove Timeout.
This timeout is not needed and masks a more useful exception thrown
by the test.
* Add WaitAsync to timeout on all async operations
* Add missing timeout