2 writes to IsEnumerableType
Microsoft.AspNetCore.Mvc.Abstractions (2)
ModelBinding\ModelMetadata.cs (2)
767IsEnumerableType = true; 785IsEnumerableType = true;
12 references to IsEnumerableType
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelMetadata.cs (1)
258/// <see cref="IsEnumerableType"/> is <c>false</c>.
Microsoft.AspNetCore.Mvc.Abstractions.Test (2)
ModelBinding\ModelMetadataTest.cs (2)
128Assert.False(modelMetadata.IsEnumerableType); 142Assert.True(modelMetadata.IsEnumerableType);
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
592if (modelMetadata.IsEnumerableType ||
Microsoft.AspNetCore.Mvc.Core (6)
ModelBinding\Binders\HeaderModelBinder.cs (1)
109if (bindingContext.ModelMetadata.IsEnumerableType)
ModelBinding\Metadata\DefaultModelMetadata.cs (2)
427else if (IsComplexType || IsEnumerableType) 502if (defaultModelMetadata.IsEnumerableType)
ModelBinding\Metadata\ValidationMetadata.cs (1)
32/// <see cref="ModelMetadata.IsComplexType"/> or <see cref="ModelMetadata.IsEnumerableType"/> is <c>true</c>;
ModelBinding\ModelBindingHelper.cs (1)
396if (modelMetadata.IsEnumerableType)
ModelBinding\Validation\ValidationVisitor.cs (1)
359if (Metadata!.IsEnumerableType)
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Metadata\DefaultModelMetadataTest.cs (1)
42Assert.False(metadata.IsEnumerableType);
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
DefaultHtmlGenerator.cs (1)
957if (allowMultiple && metadata.IsEnumerableType)