R# reports an error on "filename" on the first line in this code:
var filename = line.Substring("##include ".Length);
and also on the docToInclude initialiser some line before.
This happens on several other cases within my (fairly large) solution,
var filename = this.Name;
Again, filename is reported as unused.
This has happened since at least the last 20 builds.