Stephen Toub
1e3d017479
More corelib cleanup ( dotnet/coreclr#26993 )
...
* Make relevant types static (mostly Interop)
* Fix a few stray semicolons
* Remove unnecessary locals
Some can be removed entirely, some can be replaced by discards.
* Remove unnecessary usings
* Move Unix-specific helper method to TimeZoneInfo.Unix.cs
* Remove duplicated code
* Remove duplicative checks
* Remove [ThreadStatic] initialization
These are all the default values and wouldn't be necessary for any static, but inline initialization for [ThreadStatic]s is particularly unuseful (and in non-default cases problematic) because the fields are only set to these values on the initializing thread.
* Fix methods whose return value is never used
* Use string.IsNullOrEmpty
* Remove unnecessary field initialization
All ctors overwrite these values.
* Address PR feedback
Signed-off-by: dotnet-bot <[email protected] >
2019-10-05 14:09:54 +02:00
..
2019-09-25 20:13:47 +02:00
2019-10-05 14:09:54 +02:00
2019-10-05 14:09:54 +02:00
2018-12-20 18:51:17 +01:00
2019-10-05 14:09:54 +02:00
2019-10-05 14:09:54 +02:00
2019-10-05 14:09:54 +02:00
2019-09-25 20:13:47 +02:00
2019-10-05 14:09:54 +02:00
2019-09-25 20:13:47 +02:00
2019-10-05 14:09:54 +02:00
2019-09-25 20:13:47 +02:00
2019-10-05 14:09:54 +02:00
2019-10-05 14:09:54 +02:00
2019-09-25 20:13:47 +02:00
2019-05-10 10:51:17 +02:00
2019-06-06 10:32:52 +02:00
2019-08-23 00:51:24 +02:00
2019-09-25 20:13:47 +02:00
2019-08-27 20:21:39 +02:00
2019-09-25 20:13:47 +02:00
2019-05-22 09:33:36 +02:00
2019-05-22 09:33:36 +02:00
2019-08-08 10:10:47 +02:00
2019-08-08 23:44:46 +02:00
2019-08-20 19:45:30 +02:00
2019-08-08 23:44:46 +02:00
2019-08-20 19:45:30 +02:00
2019-08-08 23:44:46 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-08-08 23:44:46 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-09-25 20:13:47 +02:00
2019-05-10 10:51:17 +02:00
2019-10-05 14:09:54 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-08-09 16:23:42 +02:00
2019-08-09 16:23:42 +02:00
2019-09-25 20:13:47 +02:00
2019-08-08 23:44:46 +02:00
2019-08-08 10:10:47 +02:00
2019-09-25 20:13:47 +02:00
2019-08-18 07:01:54 +02:00
2019-08-18 07:01:54 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-05-10 10:51:17 +02:00
2019-09-25 20:13:47 +02:00
2019-08-09 16:23:42 +02:00
2019-09-25 20:13:47 +02:00
2019-05-10 10:51:17 +02:00
2019-08-22 20:21:18 +02:00
2019-08-22 20:21:18 +02:00
2019-05-10 10:51:17 +02:00
2019-08-08 23:44:46 +02:00
2019-09-25 20:13:47 +02:00
2019-05-10 10:51:17 +02:00
2019-08-08 23:44:46 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-08-13 21:35:04 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-09-25 20:13:47 +02:00
2019-08-08 23:44:46 +02:00
2019-05-10 10:51:17 +02:00
2019-08-20 19:45:30 +02:00
2019-08-18 07:01:54 +02:00
2019-09-25 20:13:47 +02:00
2019-05-10 10:51:17 +02:00
2019-08-08 10:10:47 +02:00
2019-08-08 10:10:47 +02:00
2019-09-12 13:27:35 -05:00
2019-08-08 23:44:46 +02:00
2019-08-03 20:55:40 +02:00
2019-09-12 13:27:35 -05:00
2019-05-10 10:51:17 +02:00
2019-08-08 10:10:47 +02:00
2019-08-20 19:45:30 +02:00
2019-08-20 19:45:30 +02:00
2019-09-06 15:58:38 -04:00
2019-08-20 19:45:30 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-08-08 23:44:46 +02:00
2019-05-10 10:51:17 +02:00
2019-07-18 19:10:21 -04:00
2019-09-05 10:46:55 +02:00
2019-09-05 10:46:55 +02:00
2019-08-14 10:15:38 +02:00
2019-08-13 21:35:04 +02:00
2019-08-18 07:01:54 +02:00
2019-08-22 20:21:18 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-08-08 23:44:46 +02:00
2019-08-08 23:44:46 +02:00
2019-05-10 10:51:17 +02:00
2019-08-08 23:44:46 +02:00
2019-06-11 20:10:51 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-09-25 20:13:47 +02:00
2019-08-09 16:23:42 +02:00
2019-08-09 16:23:42 +02:00
2019-08-08 23:44:46 +02:00
2019-05-10 10:51:17 +02:00
2019-08-18 07:01:54 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-08-09 16:23:42 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-08-22 20:21:18 +02:00
2019-09-25 20:13:47 +02:00
2019-09-05 10:46:55 +02:00
2019-09-06 15:58:38 -04:00
2019-05-10 10:51:17 +02:00
2019-08-09 16:23:42 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-08-22 20:21:18 +02:00
2019-08-08 23:44:46 +02:00
2019-08-20 19:45:30 +02:00
2019-05-10 10:51:17 +02:00
2019-08-18 07:01:54 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-08-18 07:01:54 +02:00
2019-08-09 16:23:42 +02:00
2019-05-10 10:51:17 +02:00
2019-09-25 20:13:47 +02:00
2019-08-08 23:44:46 +02:00
2019-05-10 10:51:17 +02:00
2019-09-05 10:46:55 +02:00
2019-05-10 10:51:17 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-10-05 14:09:54 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-09-06 15:58:38 -04:00
2019-08-20 19:45:30 +02:00
2019-08-18 07:01:54 +02:00
2019-08-08 10:10:47 +02:00
2019-09-05 10:46:55 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-09-06 15:58:38 -04:00
2019-09-25 20:13:47 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-09-25 20:13:47 +02:00
2019-08-08 10:10:47 +02:00
2019-05-10 10:51:17 +02:00
2019-08-13 21:35:04 +02:00
2019-09-25 20:13:47 +02:00
2019-08-18 07:01:54 +02:00
2019-05-10 10:51:17 +02:00
2019-08-20 19:45:30 +02:00
2019-09-05 10:46:55 +02:00
2019-09-05 10:46:55 +02:00
2019-10-01 10:13:53 +02:00
2019-06-07 23:17:51 +02:00
2019-09-25 20:13:47 +02:00
2019-08-22 20:21:18 +02:00
2019-05-10 10:51:17 +02:00
2019-09-25 20:13:47 +02:00
2019-09-05 10:46:55 +02:00
2019-09-05 10:46:55 +02:00
2019-05-10 10:51:17 +02:00
2019-08-08 23:44:46 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-08-09 16:23:42 +02:00
2019-09-25 20:13:47 +02:00
2019-08-09 16:23:42 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-09-26 10:10:42 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-08-20 19:45:30 +02:00
2019-08-09 16:23:42 +02:00
2019-05-10 10:51:17 +02:00
2019-10-05 14:09:54 +02:00
2019-09-25 20:13:47 +02:00
2019-06-11 20:10:51 +02:00
2019-10-05 14:09:54 +02:00
2019-09-25 20:13:47 +02:00
2019-08-28 11:55:07 +02:00
2019-10-05 14:09:54 +02:00
2019-08-22 20:21:18 +02:00
2019-05-10 10:51:17 +02:00
2019-09-25 20:13:47 +02:00
2019-09-05 10:46:55 +02:00
2019-09-02 16:02:59 -04:00
2019-09-25 20:13:47 +02:00
2019-08-18 07:01:54 +02:00
2019-05-10 10:51:17 +02:00
2019-05-10 10:51:17 +02:00
2019-08-20 19:45:30 +02:00
2019-05-10 10:51:17 +02:00
2019-08-08 23:44:46 +02:00
2019-09-25 20:13:47 +02:00
2019-09-25 20:13:47 +02:00
2019-08-18 07:01:54 +02:00
2019-09-25 20:13:47 +02:00
2019-08-08 23:44:46 +02:00
2019-08-18 07:01:54 +02:00
2019-05-10 10:51:17 +02:00
2019-08-09 16:23:42 +02:00
2019-09-15 12:48:15 -04:00
2019-09-25 20:13:47 +02:00
2019-05-10 10:51:17 +02:00
2019-05-29 22:14:22 +02:00
2019-09-25 20:13:47 +02:00
2019-08-17 23:07:24 +02:00