Skip to content

Commit

Permalink
perf: prevent a DynamicInvoke and replace it with Invoke (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
Seddryck authored Feb 9, 2025
1 parent f2fcf59 commit f048b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PocketCsvReader/CsvDataRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public object GetValue(int i)
? (int i) => fparse
: RegisterParser(i, field.Parse)
: TypeParsers.TryGetParser(field.RuntimeType, out var dlg)
? (int i) => dlg.DynamicInvoke(i)!
? (int i) => dlg.Invoke(i)!
: RegisterFunction(field);
try
{
Expand Down

0 comments on commit f048b7d

Please sign in to comment.