diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-08-07 16:59:51 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-08-07 16:59:51 +0300 |
| commit | 3bcad30c7eacb41c134631f79bb50957751f11c7 (patch) | |
| tree | e58a6d7f885944bb7a89838aa2e4a33b3179e159 /Software/Visual_Studio/Tango.CSV | |
| parent | 8f65c009737752aaf3c504fb281875c2c41e8555 (diff) | |
| download | Tango-3bcad30c7eacb41c134631f79bb50957751f11c7.tar.gz Tango-3bcad30c7eacb41c134631f79bb50957751f11c7.zip | |
Machine Studio v2.7
Diffstat (limited to 'Software/Visual_Studio/Tango.CSV')
| -rw-r--r-- | Software/Visual_Studio/Tango.CSV/CsvFile.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.CSV/CsvFile.cs b/Software/Visual_Studio/Tango.CSV/CsvFile.cs index ab5466da7..8a908b6d8 100644 --- a/Software/Visual_Studio/Tango.CSV/CsvFile.cs +++ b/Software/Visual_Studio/Tango.CSV/CsvFile.cs @@ -278,11 +278,12 @@ namespace Tango.CSV Func<T, object> func = null; PropertyInfo pi = null; - pi = typeof(T).GetProperty(c, flags); + pi = typeof(T).GetProperty(c); if (pi == null) //Then try get by column index, { - pi = typeof(T).GetProperties(flags)[index]; + pi = typeof(T).GetProperties()[index]; + pi = typeof(T).GetProperties()[index]; } if (CsvFile.UseLambdas) |
