paulegradie / Sailfish

Sailfish - a production friendly performance benchmark runner for .NET
https://paulgradie.com/Sailfish/
MIT License
11 stars 4 forks source link

Improve null reference error messaging #151

Closed paulegradie closed 2 months ago

paulegradie commented 2 months ago

Description

Null reference exceptions are a particularly cryptic issue - for example if you use a base class for a test and property on the base is null. The messaging around this isn't very good, so this PR introduces a slight improvement to make it more clear whats happening when debugging.