Alireza Habibi

Results 272 comments of Alireza Habibi

> The biggest drawback is probably spooky action at a distance. I understand that by marking my method `interceptable` I acquiesce to having my logic replaced, but now the user...

to be clear, this is not about "extension patterns", right? or this would be the only way to have a user-defined pattern?

@DavidArno If anything, you should be using `in` at the call-site - because that's where it's ambigious, although I believe we don't need it if we define pattern syntax as...

From the proposal, so this would be possible? ```cs partial class BlockSyntax { public static bool Deconstruct(SyntaxNode node) => node.IsKind(SyntaxKind.Block); } if (node is BlockSyntax()) {} if (BlockSyntax.Deconstruct(node)) {} ```...

@HaloFour I don't disagree with the use case. but I believe what makes it possible - according to the current proposal- which is defining a whole type with a single...

@gafter I understand that it's just an example, but that itself raises the issue. If it is solely to represent a custom pattern (and nothing else), I'd argue that a...

IMO this example is somehow biased on how you would want to handle Polar/Cartesian systems. You have a Cartesian class and only provide Polar utilities in a static class. One...

The smelly part is this: ```cs static class Some {} static class None {} static class RGB {} static class HSV {} ``` I think that's too much boilerplate. Those...

> Redaction support through Microsoft​.Extensions​.Compliance​.Redaction would be nice as well. Is that possible? At this point, I would like to ask if there's any advantage using serilog besides perhaps sinks...

I've been using Serilog myself for a long time and I'd thank the community for all the efforts and values Serilog has added to the ecosystem throughout the years. My...