1. 25 9月, 2015 1 次提交
    • E
      Fix Roslyn EE to handle function pointers · 271096b8
      Eric Feiveson 提交于
      Fix NullReferenceException's in the result provider when consuming
      function pointers.
      
      The VS 2015 Update 1 version of
      Microsoft.VisualStudio.Debugger.Metadata.dll adds support for functions
      pointers on the metadata api layer.  We represent it in the LMR type
      system through new api's to detect if a type is a function pointer and,
      if so, get the return type and argument types.  Currently, the result
      provider crashes because it doesn't know how to handle a pointer type
      with a null element type.  This change adds a couple of checks to
      disable expansion on function pointers, which avoids the problem.  With
      this change, the EE will simply display the memory address of the
      function pointer in the value column, with the function pointer type in
      the type column.
      
      To avoid taking a dependency on the Update 1 version of
      Microsoft.VisualStudio.Debugger.MetadataReader.dll before it ships, we
      temporarily shim Type.IsFunctionPointer() via an extension method.  The
      extension method exploits the fact that the function pointer case is the
      only time we can have a pointer type with a null element type.  Once
      Update 1 ships and the project references are updated, we can remove the
      shim layer can just call Type.IsFunctionPointer() directly.
      271096b8
  2. 22 9月, 2015 28 次提交
  3. 21 9月, 2015 6 次提交
  4. 20 9月, 2015 1 次提交
    • K
      Don't support compiling scripts with csc/vbc for now... · 4b82b408
      Kevin Halverson 提交于
      This also disables IDE support for including .csx/.vbx files in a
      C# or VB project, and fixes up IVsLanguageBlock service to handle
      "incomplete" members (these frequently occur in C# when you parse
      global statements in "regular" C# mode).
      4b82b408
  5. 19 9月, 2015 4 次提交