Showing the changes to Source/Libraries/GSF.Core/Threading/ManagedThreads.cs (1 of 72 files). Show all
Unified · Split
| @@ -201,7 +201,7 @@ namespace GSF.Threading · 200 unmodified lines | ||
| 201 | 201 | public static void Cancel(ManagedThread item, bool allowAbort, object stateInfo) |
| 202 | 202 | { |
| 203 | 203 | if ((object)item == null) |
| 204 | − throw new ArgumentNullException("item"); | |
| 204 | + throw new ArgumentNullException(nameof(item)); | |
| 205 | 205 | |
| 206 | 206 | LinkedListNode<ManagedThread> node; |
| 207 | 207 | |