sklose / NCalc2

expression evaluator for .NET with built-in compiler
MIT License
170 stars 57 forks source link

Fix code analysys warnings & culture support #87

Closed Bykiev closed 8 months ago

Bykiev commented 9 months ago

This PR fixes some code analysis warnings and adds new constructor to Expression to allow passing the culture. Also some code cleanup. I've tried to avoid breaking changes, seems all should be fine.

Culture support was manually backported from NCalc #46 and NCalc #52

Bykiev commented 9 months ago

@sklose, @david-brink-talogy can you please review this PR?

Bykiev commented 9 months ago

For some reason AppVeyour reports an error, seems to be smth wrong with him

Bykiev commented 9 months ago

@david-brink-talogy, I've resolved all comments, can you please review it again?

Bykiev commented 8 months ago

@sklose, can you please review?