Matthias Reitinger

Results 6 comments of Matthias Reitinger

This is caused by a combination of two non-intuitive behaviors of `DateTime::createFromFormat`: * Missing fields are initialized with the current date/time * Out of range values trigger overflow behavior to...

@ep1kt3t0s Thanks for weighing in. > I think it's better to make this configurable rather than fixing a specific structure. In my opinion surfacing such implementation details and forcing the...

There's a difference between a single line change (which I am happy to do myself) and the work needed for infrastructure to spin up and orchestrate a swarm of containers....

I believe it should be possible to guide the C# compiler in a NRE context with the attributes listed in [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/attributes/nullable-analysis](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/attributes/nullable-analysis) (specifically `NotNullAttribute` and `NotNullWhenAttribute`, maybe others). These attributes are...

@feO2x `ValidatedNotNullAttribute` was previously used internally in .NET Core (e.g. in [System.Collections.Immutable](https://github.com/dotnet/corefx/blob/b8b81a66738bb10ef0790023598396861d92b2c4/src/System.Collections.Immutable/src/Validation/ValidatedNotNullAttribute.cs)), but has since been replaced by the newer `NotNullAttribute`. It might still be picked up by some static...

I've made some experiments with Roslyn and the InspectCode tool. The nice thing about InspectCode is that it can also build the analyzed solution and collect build warnings into its...