1. 27 2月, 2015 6 次提交
  2. 26 2月, 2015 21 次提交
  3. 25 2月, 2015 13 次提交
    • J
      Move our extra solution to work with CTP6 · bf5b13ed
      Jared Parsons 提交于
      This change moves Roslyn2013.sln to work with Visual Studio 2015 CTP6.
      This allows customers, and Jenkins, to build and test significantly more
      code than was available with the old solution.
      
      This is still not as full Roslyn.sln because not everything is buildable
      against CTP6.  In particular our Visual Studio components and all of
      their dependencies can't build due to API changes we depend on that came
      into being after CTP6.  It is much closer though than our previous
      solution.
      
      As a part of this change I also renamed Roslyn2013.sln to
      RoslynLight.sln.  The 2013 moniker was no longer valid and lacking a
      better word I chose light (it has less projects and hence is lighter).
      bf5b13ed
    • N
    • J
      Unskip tests for issue #204 · 44d6c1ba
      Jason Malinowski 提交于
      When a request to AsyncLazy gets a cancellation, we asynchronously
      cancel the underlying Task, since any continuations might run inline
      and cause surprises. This meant that if cancellation happened during
      a call to GetValueAsync or GetValue where the underlying computation
      was synchronously completed, there was a race where the task that
      gets returned might or might not be cancelled. It didn't strictly
      matter -- since cancellation is best-effort it was fine by the contract.
      But to test an earlier bug, we forced it into the non-cancelling
      case by simply stopping up the thread pool so the asynchronous
      cancellation never happened. That approach was really evil, so we try
      something else.
      
      Now, we adjust the tests to assert the slightly stronger statement that
      once a computation runs and returns a value, it's cached, even if
      the value is not handed out. (The implementation already did this,
      but we now assert it.) We also tweak the cancellation handling to
      cancel the returned task more aggressively. This avoids the race
      between async cancellation and synchronous value returning in the
      context of the unit test, so we can assert behavior better. In general
      there's no guarantee, but it's now guaranteed "enough" our test can
      test the other behaviors well.
      44d6c1ba
    • H
      Merge pull request #840 from heejaechang/enumerationcancel · 8b984acb
      Heejae Chang 提交于
      make sure we cancel outside of enumeration
      8b984acb
    • A
      Merge pull request #842 from amcasey/DD1120498 · 1b6c7aa2
      Andrew Casey 提交于
      Add explicit null checks during module lookup
      1b6c7aa2
    • A
      Merge pull request #832 from amcasey/ExceptionFilterRecovery · 67bc47cd
      Andrew Casey 提交于
      Improve exception filter parsing error recovery
      67bc47cd
    • A
      Improve exception filter parsing error recovery · 9f77055c
      Andrew Casey 提交于
      When we originally introduced exception filters to C#, we used the if
      keyword in the filter clause.  To avoid confusion with regular if
      statements, we switched to using the when (contextual) keyword.
      
      Unfortunately, the if syntax was around long enough that code with that
      syntax was stored in the source server database.  Now, when you try to
      debug such files, they parse very badly.  In particular, there is a file
      in the debugger in which thousands of lines of text become skipped text
      trivia and the resulting syntax tree results in an
      InsufficientExcecutionStackException whenever that file is displayed.
      This makes it very difficult to inspect older dumps.
      
      A simple solution is to allow the if keyword and replace it with a when
      keyword with an error attached.
      
      With this change applied, the debugger crash is resolved.
      9f77055c
    • A
      Add explicit null checks during module lookup · f78d8de7
      Andrew Casey 提交于
      We got a release-build dump with a NRE in a location that didn't make sense.  Based on our best guess of what happened (something that should be impossible) add some explicit checks so that we'll get a clearer stack trace if it happens again.
      
      No tests since we still believe this is impossible.
      f78d8de7
    • H
      make sure we can cancel outside of enumeration · 28b28ac0
      Heejae Chang 提交于
      28b28ac0
    • J
      9d33005d
    • J
      Refactor tests to eliminate code duplication · 7c1cbdac
      Jason Malinowski 提交于
      7c1cbdac
    • K
      Merge pull request #837 from KevinH-MS/master · 939cefea
      Kevin Halverson 提交于
      Disabling test:  ConditionalMemberAccessRace002
      939cefea
    • K
      Disabling test: ConditionalMemberAccessRace002 · 6b397b0a
      Kevin Halverson 提交于
      Failing due to #836
      6b397b0a