FileContextCore/ValueGeneration/Internal/FileContextValueGeneratorSelector.cs
Method GetOrCreate
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private ValueGenerator GetOrCreate(IProperty property)
{
Check.NotNull(property, nameof(property));
var type = property.ClrType.UnwrapNullableType().UnwrapEnumType();
Avoid too many return
statements within this method. Open
Open
return _inMemoryStore.GetIntegerValueGenerator<ulong>(property);
Avoid too many return
statements within this method. Open
Open
return _inMemoryStore.GetIntegerValueGenerator<ushort>(property);
Avoid too many return
statements within this method. Open
Open
return _inMemoryStore.GetIntegerValueGenerator<uint>(property);
Avoid too many return
statements within this method. Open
Open
return _inMemoryStore.GetIntegerValueGenerator<sbyte>(property);