when to exclude messages
it is safe to exclude a message from this rule; however, the collection will have a more limited use.
example code
the following example shows a collection, integercollection, that violates the rule. in genericintegercollection, the collection is modified to satisfy the rule by implementing system.collections.generic.ienumerable<t>. finally, the collection is used to populate a strongly typed stack.
[c#]
using system;
using system.collections;