Does compiler omit unused methods?

Does the C# compiler omit methods that are never called?

I'm constructing a class with many methods, one of which is probably
incompatible with Mono. I'm wondering it it will be omitted from the .exe
in programs that never refer to it. Or is that wishful thinking?