2 writes to _statusCode
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
ActualApiResponseMetadata.cs (2)
18
_statusCode
= null;
24
_statusCode
= statusCode;
2 references to _statusCode
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
ActualApiResponseMetadata.cs (2)
30
public int StatusCode =>
_statusCode
?? throw new ArgumentException("Status code is not available when IsDefaultResponse is true");
32
public bool IsDefaultResponse =>
_statusCode
== null;