8 references to IsCollectionType
Microsoft.AspNetCore.Mvc.Abstractions.Test (4)
ModelBinding\ModelMetadataTest.cs (4)
106Assert.False(modelMetadata.IsCollectionType); 117Assert.True(modelMetadata.IsCollectionType); 423Assert.Throws<NotSupportedException>(() => metadata.IsCollectionType); 438Assert.False(metadata.IsCollectionType);
Microsoft.AspNetCore.Mvc.Core (3)
ModelBinding\Binders\ComplexObjectModelBinderProvider.cs (1)
22if (metadata.IsComplexType && !metadata.IsCollectionType)
ModelBinding\Binders\ComplexTypeModelBinderProvider.cs (1)
22if (context.Metadata.IsComplexType && !context.Metadata.IsCollectionType)
ModelBinding\PropertyValueSetter.cs (1)
38if (!metadata.IsCollectionType)
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Metadata\DefaultModelMetadataTest.cs (1)
40Assert.False(metadata.IsCollectionType);