In my NuGet Package where SourceLink is enabled and working I have a ServiceBase
class which contains async methods for Get, Post, Update etc.
Stepping into the constructor of the base class works fine, also stepping into any synchronous methods.
If I call the Get method like this:
var hotel = await Get<Car>(new Uri("http://cars/api/car/1"));
I am not able to step into that method. (Where the implementation of async Task <T> Get<T>
is inside the base class.)
This only occurs if the NuGet Package is built in release mode. Is this a optimization effect?