Looks like it's looking for the attribute in the IEntityObject.IsDirty()
method.
It would seem to me that you need to add this attribute to the method declaration in the interface?
public interface IEntityObject
{
[Pure]
bool IsDirty();
//...
}