History

Added more code to GSF shared code project - moved PathHelper path validation function into FilePath

J. Ritchie Carroll committed 10 years ago

Commit e16ec441 parent 612a09672 files · +1523 −1481Browse files

Showing the changes to Source/Libraries/GSF.Core/Configuration/ConfigurationFile.cs (1 of 72 files). Show all

Unified · Split

Source/Libraries/GSF.Core/Configuration/ConfigurationFile.cs+3−3
@@ -508,7 +508,7 @@ namespace GSF.Configuration · 507 unmodified lines
508508 }
509509 else
510510 {
511− throw new ArgumentNullException("configFilePath", "Path of configuration file path cannot be null");
511+ throw new ArgumentNullException(nameof(configFilePath), "Path of configuration file path cannot be null");
512512 }
513513
514514 return configuration;
@@ -535,7 +535,7 @@ namespace GSF.Configuration · 20 unmodified lines
535535 }
536536 else
537537 {
538− throw (new ArgumentNullException("configFilePath", "Path of configuration file path cannot be null"));
538+ throw (new ArgumentNullException(nameof(configFilePath), "Path of configuration file path cannot be null"));
539539 }
540540 }
541541
@@ -592,7 +592,7 @@ namespace GSF.Configuration · 50 unmodified lines
592592 }
593593 else
594594 {
595− throw new ArgumentNullException("configFilePath", "Path of configuration file path cannot be null");
595+ throw new ArgumentNullException(nameof(configFilePath), "Path of configuration file path cannot be null");
596596 }
597597 }
598598

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t