May 27, 2012 at 7:27 PM
Edited May 27, 2012 at 7:32 PM
I have installed the latest stylecop (4.7.26) and checked the Power Collection project that I submitted last year. At lot of missing this identifiers are now recognised, however I think I am getting some false positives.
I get "SA1126: The call to ICollection<Deque<T>> must begin with the 'this.', 'base.', 'object.' or 'Deque<T>.' prefix to indicate the intended method call." on the following:
if (collection is ICollection<Deque<T>>)
coll = (ICollection<T>)collection;
coll = new List<T>(collection);
I get "SA1101: The call to Hash<TestItem> must begin with the 'this.' prefix to indicate that the item is a member of the class." on:
this.Hash = new Hash<TestItem>(new DataComparer());
Hash is a class, so adding this. to it generates an error.
I have the zipped up solution ready to send to you.