Skip to content

Commit be02e49

Browse files
committed
Update generated code
1 parent 533eaed commit be02e49

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.Generated.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ private void ExtraFeatureSet(Type key, object? value)
388388
}
389389
else
390390
{
391-
ExtraFeatureSet(key, value!); // TODO: What happens if you set an extra feature with a null value?
391+
ExtraFeatureSet(key, value);
392392
}
393393
}
394394
}
@@ -638,7 +638,7 @@ void IFeatureCollection.Set<TFeature>(TFeature feature)
638638
}
639639
else
640640
{
641-
ExtraFeatureSet(typeof(TFeature), feature!); // TODO: What happens if you set an extra feature with a null value?
641+
ExtraFeatureSet(typeof(TFeature), feature);
642642
}
643643
}
644644

src/Servers/Kestrel/shared/TransportConnection.Generated.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ private void ExtraFeatureSet(Type key, object? value)
157157
}
158158
else
159159
{
160-
ExtraFeatureSet(key, value!); // TODO: What happens if you set an extra feature with a null value?
160+
ExtraFeatureSet(key, value);
161161
}
162162
}
163163
}
@@ -218,7 +218,7 @@ void IFeatureCollection.Set<TFeature>(TFeature feature)
218218
}
219219
else
220220
{
221-
ExtraFeatureSet(typeof(TFeature), feature!); // TODO: What happens if you set an extra feature with a null value?
221+
ExtraFeatureSet(typeof(TFeature), feature);
222222
}
223223
}
224224

src/Servers/Kestrel/shared/TransportMultiplexedConnection.Generated.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ private void ExtraFeatureSet(Type key, object? value)
157157
}
158158
else
159159
{
160-
ExtraFeatureSet(key, value!); // TODO: What happens if you set an extra feature with a null value?
160+
ExtraFeatureSet(key, value);
161161
}
162162
}
163163
}
@@ -218,7 +218,7 @@ void IFeatureCollection.Set<TFeature>(TFeature feature)
218218
}
219219
else
220220
{
221-
ExtraFeatureSet(typeof(TFeature), feature!); // TODO: What happens if you set an extra feature with a null value?
221+
ExtraFeatureSet(typeof(TFeature), feature);
222222
}
223223
}
224224

0 commit comments

Comments
 (0)