[NiceToHave]: Interface IApiResponse<out T>
misses [MemberNotNullWhen(true, nameof(Content))]
attribute
#1671
Labels
IApiResponse<out T>
misses [MemberNotNullWhen(true, nameof(Content))]
attribute
#1671
Describe the bug 🐞
Analyzer shows the warming for the
IApiResponse<out T>.Content
property after checkingIsSuccessStatusCode
.Step to reproduce
IApiResponse<T>
from the method.IsSuccessStatusCode == true
Reproduction repository
https://github.com/reactiveui/refit
Expected behavior
Analyzer should consider
Content
as not null after checkingIsSuccessStatusCode
fortrue
Screenshots 🖼️
IDE
No response
Operating system
Windows
Version
11
Device
No response
Refit Version
7.0.0
Additional information ℹ️
No response
The text was updated successfully, but these errors were encountered: