title: Compiling C# unsafe code
body: <p>I have a small C# class with a few unsafe methods. Is there a way to specify "/unsafe" option declaratively in C# source code (with <code>#pragma</code> or anyhow else) just for the context of the class' source file? I'd hate to create a separate assembly for such a small class, but I also really don't want the rest of the assembly (the class is currently a part of) to be enabled for unsafe code.</p>