botaberg
botaberg
The System.Runtime.InteropServices reference assembly contains temporary project references to the System.Runtime and System.Runtime.InteropServices.PInvoke reference assemblies. This is necessary because of the GCHandle move (see https://github.com/dotnet/corefx/pull/7900).
``` + private unsafe static bool IsTrue(byte* utf8Bytes, int length) + { + if (length < 4) + return false; + + byte firstChar = utf8Bytes[0]; + if (firstChar !=...
PrimitiveParser: Decide on a policy and API surface area for parsing hexadecimal numbers from text
When parsing hexadecimal characters from text, should there be specific overloads for strings containing uppercase ABCDEF and lowercase abcdef? Should there be one overload that is case-insensitive?
Some method overloads of PrimitiveParser.TryParse* take an argument specifying encoding data. Right now these overloads only support invariant Utf8 and Utf16 encodings. There needs to be generic parsing logic for...
The current BCL parsers such as uint.TryParse support thousands separators and decimal points in invariant culture. Should we support this? The specific BCL behavior is as follows: - Thousands separator...
Design precondition contract for PrimitiveParser.TryParse main overloads - the ones that take TextFormat and EncodingData objects as parameters. Currently, it is difficult to decipher what inputs are valid and which...