Code Analysis ReferenceFixesCS0541On this pageCS0541PropertyValueTitle'declaration': explicit interface declaration can only be declared in a class or struct.SeverityErrorCode FixesRemove member declarationSee AlsoOfficial Documentation