This fixes the current analyser suggestions/warnings when building AspNetCore hosting about several places in query deserialisation where span's should be used instead of substring.
Performance and allocations might be better, but the main driver is to remove build output when building the AspNetCore hosting project.
Apart from that it also changes naming of private fields to better match the rest of the code bases and uses "C#" names (such as char instead of System.Char) and some usage of pattern matching (in their own commits)
This fixes the current analyser suggestions/warnings when building AspNetCore hosting about several places in query deserialisation where span's should be used instead of substring.
Performance and allocations might be better, but the main driver is to remove build output when building the AspNetCore hosting project.
Apart from that it also changes naming of private fields to better match the rest of the code bases and uses "C#" names (such as
char
instead ofSystem.Char
) and some usage of pattern matching (in their own commits)