title: Nullable type in switch Visual Studio 2015
body: <p>I have this program:</p>
  
  <pre><code>public static void Main(string[] args)
      {
          long? variable = 10;
  
          switch (variable)
          {
              case 10:
              {
                  Console.WriteLine("Hit!");
                  return;
              }
              default:
              {
                  Console.WriteLine("No hit!");
                  return;
              }
          }
      }
  </code></pre>
  
  <p>When I compile and run it in Visual Studio 2013, I get the result "Hit!" which is what I expect.
  When I compile and run it in Visual Studio 2015, I get the result "No hit!" which is NOT what I expect.  To make this work in Visual Studio 2015, I have to change the switch-statement to <code>switch(variable.Value)</code>.</p>
  
  <p>Is this a change in functionality in the new C#-compiler, or is this a bug?</p>