Linus Hamlin

Results issues of Linus Hamlin

I tried to consolidate some code in TimeSpanFormat (and minor change in DateTimeFormat). No big performance improvements but I checked for regressions. Major gain for this PR is code is...

community-contribution
area-System.DateTime

# Background and Motivation Suggestion for the generic math. The mentioned methods are available in Math and MathF classes. I think it would be nice to add these to the...

api-approved
area-System.Numerics

### Background and motivation Since `decimal` class is documented to preserve trailing zeros, it would be nice to have a way to trim them off. I suggest the name `Canonicalize`...

api-suggestion
area-System.Numerics

### Background and motivation There is no out of the box solution to create a `ReadOnlySequence` from multiple `ReadOnlyMemory` ### API Proposal ```csharp namespace System.Buffers; public readonly struct ReadOnlySequence {...

api-suggestion
area-System.Buffers

### Background and motivation There is currently no intuitive way of getting the length of BinaryData, using a workaround ToArray or ToMemory it is not easy to assume it will...

api-suggestion
area-System.Memory

### Background and motivation Many of the integer types available for other operations are missing for Math.BigMul ### API Proposal ```csharp namespace System; public static class Math { public static...

api-approved
area-System.Numerics
in-pr

Question: What is best practice to find an operator overload method in reflection? I believe the names of the methods are for example "op_Addition" and such, but I can't find...

area-System.Reflection

### Background and motivation There are multiple places in the runtime where we do a DivRem. If we can't get the quotient and remainder in one go using intrinsics or...

api-suggestion
area-System.Numerics
needs-further-triage

### Description If `BitArray.CopyTo` is invoked with: - destination array being an `int[]` (does not reproduce with `bool[]` nor `byte[]`) - the destination array is too small - bit count...

bug
area-System.Collections
help wanted

### Background and motivation There is a number of methods in `Calendar` class that could have overloads support `DateOnly`, in addition to `DateTime`. This would be nice for code where...

api-suggestion
area-System.Globalization