You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When checking if a provided string is a valid enum member, the method SingleValue always uses StringComparison.Ordinal in Line 67 instead of looking at ODataUriResolver.EnableCaseInsensitive and using a case insensitive comparison if it is true.
// If the member name is an integral value, we should try to convert it to the enum member name and find the enum member with the matching integral value
When checking if a provided
string
is a validenum
member, the methodSingleValue
always usesStringComparison.Ordinal
in Line 67 instead of looking atODataUriResolver.EnableCaseInsensitive
and using a case insensitive comparison if it is true.odata.net/src/Microsoft.OData.Core/UriParser/Binders/MetadataBindingUtils.cs
Lines 63 to 81 in aba9a63
The text was updated successfully, but these errors were encountered: