The fields are declared as `public static readonly string` hence cant be used in a switch statement. https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.AspNetCore.Http.Abstractions/HttpMethods.cs Why aren't these declared as constants instead of static readonly?
The fields are declared as
public static readonly stringhence cant be used in a switch statement.https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.AspNetCore.Http.Abstractions/HttpMethods.cs
Why aren't these declared as constants instead of static readonly?