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/IO/IsamDataFileBase.cs (1 of 72 files). Show all

Unified · Split

Source/Libraries/GSF.Core/IO/IsamDataFileBase.cs+3−3
@@ -404,7 +404,7 @@ namespace GSF.IO · 403 unmodified lines
404404 set
405405 {
406406 if (string.IsNullOrEmpty(value))
407− throw new ArgumentNullException("value");
407+ throw new ArgumentNullException(nameof(value));
408408
409409 m_fileName = value;
410410 ReOpen();
@@ -536,7 +536,7 @@ namespace GSF.IO · 125 unmodified lines
536536 set
537537 {
538538 if (string.IsNullOrEmpty(value))
539− throw new ArgumentNullException("value");
539+ throw new ArgumentNullException(nameof(value));
540540
541541 m_settingsCategory = value;
542542 }
@@ -1123,7 +1123,7 @@ namespace GSF.IO · 580 unmodified lines
11231123 }
11241124 else
11251125 {
1126− throw new ArgumentNullException("record");
1126+ throw new ArgumentNullException(nameof(record));
11271127 }
11281128 }
11291129 else

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