Question about shared

Just a simple question:

Are shared methods only available on shared files or on both client and server?
My guess is both but i just want to be sure…

Shared = Client + Server

A shared file “becomes shared” by including it on the client and on the server, so everything declared inside will be available to both the client and the server.