title: Unsafe code won't compile on Visual Studio 2015
body: <p>I'm trying to compile a program on the new DNX4.6 core, but it won't compile due to:</p>
  
  <p><code>error CS0227: Unsafe code may only appear if compiling with /unsafe</code></p>
  
  <p>This is my code:
      <pre><code>    [CompilerGenerated]
      public unsafe class GrayscaleQuantizer : PaletteQuantizer
      {
  </code></pre>
  I've looked online, and I can't get any source with the same problem as I have. I can't tick the 'Allow Unsafe Code' at the Build tab of the Project Properties, because there is no option to do so...</p>
  
  <p>Does anyone know a solution?</p>