When using something like the following:
[System.ComponentModel.DataAnnotations.Length(1, int.MaxValue)]
public IList<Foo> Property { get; set; }
The options source gen will produce diagnostics
error SYSLIB1217: The validation attribute LengthAttribute should only be applied to properties of type string, array, or ICollection. Using it with the type IList could lead to runtime failures.
This is a regression from the changes in #93088.