C#
C#

help

Root Question Message

lukkasz323
lukkasz3231/17/2023
VS 2022 debugger ArgumentNullException not showing ParamName in quick info tooltip

This is mostly a QoL problem. I'm not sure if it's a bug or a problem with my configuration.

Visual Studio is not showing the actual problematic parameter in the quick info. Instead I get Arg_ParamName_Name
lukkasz323
lukkasz3231/17/2023
After I check the exception details, the param name is there
lukkasz323
lukkasz3231/17/2023
Is there anything I can do to show things like these in the quick info and not have to look into details?
lukkasz323
lukkasz3231/17/2023
Microsoft Visual Studio Community 2022 (64-bit) - Current
Version 17.4.3
Ero
Ero1/17/2023
there's only one thing that can be null there
Ero
Ero1/17/2023
Rectangle is a struct, can't be null. Color is an enum, can't be null
Ero
Ero1/17/2023
so it's the Texture
lukkasz323
lukkasz3231/17/2023
Would it be different in a different case where multiple nulls parameters would be possible?
Ero
Ero1/17/2023
maybe?
ContactFrequently Asked QuestionsJoin The DiscordBugs & Feature RequestsTerms & Privacy