Showing the changes to Source/Libraries/GSF.ServiceProcess/ClientHelper.cs (1 of 12 files). Show all
Unified · Split
| @@ -394,13 +394,7 @@ namespace GSF.ServiceProcess · 393 unmodified lines | ||
| 394 | 394 | [Browsable(false), |
| 395 | 395 | EditorBrowsable(EditorBrowsableState.Never), |
| 396 | 396 | DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] |
| 397 | − public bool IsDisposed | |
| 398 | − { | |
| 399 | − get | |
| 400 | − { | |
| 401 | − return m_disposed; | |
| 402 | − } | |
| 403 | − } | |
| 397 | + public bool IsDisposed => m_disposed; | |
| 404 | 398 | |
| 405 | 399 | #endregion |
| 406 | 400 | |
| @@ -596,7 +590,7 @@ namespace GSF.ServiceProcess · 189 unmodified lines | ||
| 596 | 590 | else |
| 597 | 591 | { |
| 598 | 592 | // File does not exist. |
| 599 | − throw new FileNotFoundException(string.Format("File '{0}' does not exist", source)); | |
| 593 | + throw new FileNotFoundException($"File '{source}' does not exist"); | |
| 600 | 594 | } |
| 601 | 595 | } |
| 602 | 596 | |