We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 334b2aa commit 2292fbeCopy full SHA for 2292fbe
src/AspNetCore/WebApi/src/Asp.Versioning.Http/Builder/EndpointBuilderFinalizer.cs
@@ -278,10 +278,10 @@ private record struct ApiVersionBuckets(
278
IReadOnlyList<ApiVersion> Advertised,
279
IReadOnlyList<ApiVersion> AdvertisedDeprecated )
280
{
281
- internal bool AreEmpty = Mapped.Count == 0
282
- && Supported.Count == 0
283
- && Deprecated.Count == 0
284
- && Advertised.Count == 0
285
- && AdvertisedDeprecated.Count == 0;
+ internal readonly bool AreEmpty = Mapped.Count == 0
+ && Supported.Count == 0
+ && Deprecated.Count == 0
+ && Advertised.Count == 0
+ && AdvertisedDeprecated.Count == 0;
286
}
287
0 commit comments