Paulo Morgado

Results 50 comments of Paulo Morgado

If `_pizzas` is a `List`, why not use [`List.RemoveAll(Predicate)`](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1.removeall#system-collections-generic-list-1-removeall(system-predicate((-0))) "List.RemoveAll(Predicate) Method") instead of the expensing **LINQ** operator (`ToList()`)?

This is a performance optimization but it causes a change in the stack trace if an exception is thrown. Check this post from @StephenCleary: [Eliding Async and Await](https://blog.stephencleary.com/2016/12/eliding-async-await.html)

Thanks, @jlfwong. I'll look into that. It would be useful to add those comments as `description` to the JSON schema. I don't know if you know `MSBuild`, but it's, basically,...

@Bartmax, there is no such thing as partial classes. There are partial class definitions and it's a source code feature not an assembly feature (@orthoxerox).

I'm still in favor of `protectedinternal`.

You know I do, @gafter! 😄 To me, `protected internal` says that it's `protected` **or** any derived class `internal`. Meaning it is accessible to any derived class or any type...

@gafter, > Just to be clear everybody, the precise syntax had been debated ad nauseum a few years ago and this is the winner. If we do the feature the...

@axel-habermaier, looks like it hasn't been debated long enough. Any outcome that is not a single keyword is not a cure. It's just a Band-Aid that we'll have to live...

@tannergooding, What other keyword in C# uses underscore? What other language construct in C# uses more than one keyword?

I knew that, if gave enough rope, plenty would jump to wrap it around their necks. 😄 > `__arglist`, `__refvalue`, `__makeref`, `__reftype These keywords are not on the [list of...