Alexander Nikolaev

Results comments of Alexander Nikolaev

It's nice to have as an option, but not required.

Got it. However, I'd suggest to generate that empty `default` switch by default when other cases are generated for the developer to clearly see that `default` must be handled. In...

> Why does default need to be handled? > Why is that not safe? It must be handled to avoid unexpected and potentially dangerous behavior when a new enum value...

Currently, the caching was implemented with the simplest possible strategy which caches and reuses the static **single instance** of HttpClient when the given HttpWebRequest parameters match to the ones of...

### HttpRequestException.StatusCode property ### Rationale and Usage A new nullable HttpRequestException.StatusCode property exposes a response's status code if it has been already received, otherwise it's set to null. This will...

Yes, you are right HttpStatusCode would be better. I will update the comment and description.

@yaakov-h Yes, you can now open a PR.

If you have some questions or need help with something I will be glad to assist. Additionally, if you want to update the documentation by yourself as well, I can...

1. OK 2. Please check [this guideline](https://github.com/dotnet/runtime/blob/master/docs/coding-guidelines/updating-ref-source.md) on updating ref assemblies 3. OK 4. Yes, you need to make sure it's serialized properly 5. OK 6. OK Docs: 1. Please,...

To update the docs, you need to go to [HttRequestException page](https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httprequestexception?view=netcore-3.1) and click on "Edit" button at the top-right. It will bring you to [dotnet/dotnet-api-docs](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Net.Http/HttpRequestException.xml) repo where you can create...