It is not permissable to have a protected member inside a struct.

As structs are implicitly declared as sealed they can not have protected members. Usually you can fix this error by changing the scope of the variable.