So, (seemingly) out of the blue, my project starts getting compiler warning 1685:
The predefined type \'System.Runtime.CompilerServices.ExtensionAtt
Another solution for this issue is to use a global alias for the whole assembly:
Reference -> Properties -> Aliases -> Replace 'global' with something else