Jonas Nyrup
Jonas Nyrup
My snippet in #1212 only compares the `ValueKind` property of a `JsonElement`. The design of `JsonElement` doesn't let us use the built-in structural equivalency which reflects over the properties on...
Preamble: I'll poke and challenge the API, it's not to shoot the messenger, but how I get a better grasp and feeling of an API. I wasn't around when the...
I'd like to see `19.April(2020).At(12, 34).ToTimeOnly()` used in a more complete example. I find it a bit odd why one would create an instant in time and then immediately truncate...
There are some discussions in https://github.com/dotnet/runtime/issues/58734 to add similar APIs directly to BCL.
> Although I think I would prefer `AsTimeOnly` and `AsDateOnly` As we're converting another type and truncating, I vote for using the `To` prefix. https://stackoverflow.com/questions/13867829/to-vs-as-vs-get-method-prefixes
> > Furthermore, DateOnly is not available in older versions of .NET, so that we would have to add a package for older versions. > > @jnyrup Can we polyfill...
> The best place to do this would be the fluentassertions.analyzers. This request is about extending the existing documentation that lives in this repo https://github.com/fluentassertions/fluentassertions/blob/develop/docs/_pages/tips.md, not the analyzers.
I think the best experience would be to have both analyzers+fixers and documentation. People have different ways of acquiring new knowledge.
This example is reproducible for me: https://sharplab.io/#v2:EYLgtghglgdgNAFxAJwK4wD4AEBMBGAWAChiAxAe3IAoBKAbmKwBYACC6m4gb2Jb5ZgBTAO4sAgrQB0AIQjIqMVABsl9XvyGiJNGRABeC5aoZEAvsQskrlm9bu2H9p45fO3rj+6+fHAZwRoAMYI4izc/GFEEVgAzCzMLLLyWHgADCz+yJxR/Dw5EXwpAJxUAERJpWr5BcVlFVUR5vnqhXEJsgYp6ZnZEXkF/LXl+pUmA4V4JcN6oy0sTaZAA What I notice: The glitch only seems to happen when running the code and when editing the code makes a "visual jump" during...
Hej Peter Det kunne jeg godt være interesseret i. For en god ordens skyld skal jeg lige have clearet det med min arbejdsgiver. De rette skal lige have afsluttet deres...