I'm not sure how things work in the package manager console, but in powershell you can check if a compiled(and loaded) type implements interfaces using the implementedinterfaces
property. Ex. with array
-type:
#[array].ImplementedInterfaces.Contains([System.Collections.ICollection])
[array].ImplementedInterfaces.Contains([type]"System.Collections.Icollection")
True
You can see all implemented interfaces with:
[array].ImplementedInterfaces
IsPublic IsSerial Name BaseType
-------- -------- ---- --------
True False ICloneable
True False IList
True False ICollection
True False IEnumerable
True False IStructuralComparable
True False IStructuralEquatable