Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Halter <halter73@gmail.com>2022-07-06 04:20:29 +0300
committerStephen Halter <halter73@gmail.com>2022-07-06 04:20:29 +0300
commit0ca2144cd59a5341533b6bc46abebc603a69f48b (patch)
tree71ce9fe97a483917f23e44d127e5bab3ff7b842d
parent2befe1c76f2bbaadfda088f303983588b6bb99aa (diff)
Remove outdated commenthalter73/less-rdf-combos
-rw-r--r--src/Http/Http.Extensions/src/RequestDelegateFactory.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Http/Http.Extensions/src/RequestDelegateFactory.cs b/src/Http/Http.Extensions/src/RequestDelegateFactory.cs
index 82eba76fd9..3666d996c9 100644
--- a/src/Http/Http.Extensions/src/RequestDelegateFactory.cs
+++ b/src/Http/Http.Extensions/src/RequestDelegateFactory.cs
@@ -1583,9 +1583,6 @@ public static partial class RequestDelegateFactory
var localVariableExpression = Expression.Variable(typeof(object), $"{parameter.Name}_BindAsync_local");
factoryContext.AsyncParameters.Add((localVariableExpression, bindAsyncDelegate));
- // If BindAsync returns a non-nullable struct, we have no way to check if a value was set even if it is optional.
- // We have to assume these BindAsync methods always return a valid value if they do not throw.
- // We have assume BindAsync methods that cannot return null always return a valid value if they do not throw.
if (!IsOptionalParameter(parameter, factoryContext))
{
var typeName = TypeNameHelper.GetTypeDisplayName(parameter.ParameterType, fullName: false);