Replace early returns with continues in ReturnValueBinder

features/nuget_autobuild
Matija Koželj 2 years ago
parent 38d8781734
commit 5f48a06413

@ -75,13 +75,13 @@ namespace Connected.Data.Storage
} }
if (property is null) if (property is null)
return; continue;
var existingValue = property.GetValue(operation); var existingValue = property.GetValue(operation);
var overwriteAtt = property.FindAttribute<ReturnValueAttribute>(); var overwriteAtt = property.FindAttribute<ReturnValueAttribute>();
if (overwriteAtt is null) if (overwriteAtt is null)
return; continue;
switch (overwriteAtt.ValueBehavior) switch (overwriteAtt.ValueBehavior)
{ {

Loading…
Cancel
Save