pos/is4c-nf/scale-drivers/drivers/NewMagellan/Newtonsoft.Json/Utilities/ImmutableCollectionsUtils.cs
Method TryBuildImmutableForDictionaryContract
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
internal static bool TryBuildImmutableForDictionaryContract(Type underlyingType, Type keyItemType, Type valueItemType, out Type createdType, out ObjectConstructor<object> parameterizedCreator)
{
if (underlyingType.IsGenericType())
{
Type underlyingTypeDefinition = underlyingType.GetGenericTypeDefinition();
Method TryBuildImmutableForArrayContract
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
internal static bool TryBuildImmutableForArrayContract(Type underlyingType, Type collectionItemType, out Type createdType, out ObjectConstructor<object> parameterizedCreator)
{
if (underlyingType.IsGenericType())
{
Type underlyingTypeDefinition = underlyingType.GetGenericTypeDefinition();
Method TryBuildImmutableForDictionaryContract
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
internal static bool TryBuildImmutableForDictionaryContract(Type underlyingType, Type keyItemType, Type valueItemType, out Type createdType, out ObjectConstructor<object> parameterizedCreator)