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