visual-studiodebuggingvisual-studio-2022

Disappearing ReasonPhrase in C# 7.3, Visual Studio 17.5.4


In this image you can see I've sent a request message to a remote API server and a response object has been received. In the debugger, it even shows the ReasonPhrase in the response message. However, if I hover over that response variable, the ReasonPhrase shows as empty. Anyone know where it went?

enter image description here


Solution

  • As Aluan mentioned, both of the ReasonPhrase are empty string:

    enter image description here

    And the orange text comes from the Class structure of your response.