1. 15 5月, 2015 1 次提交
  2. 14 5月, 2015 3 次提交
  3. 13 5月, 2015 5 次提交
  4. 12 5月, 2015 6 次提交
  5. 11 5月, 2015 5 次提交
    • D
      Rename HACK_GetTextChangesAsync · f3faafb3
      David Poeschl 提交于
      Fixes internal TFS bug #1114858
      
      The HACK_GetTextChangesAsync method was originally added when
      Document.GetTextChangesAsync was occasionally hanging.
      Document.GetTextChangesAsync no longer hangs (in this codepath, at
      least) but we still need to keep this method as a way of performing a
      document text diff that falls back on using the
      IDocumentTextDifferencingService (which in VS uses the editor's text
      diffing algorithm) instead of falling back on diffing syntax trees
      (which can produce diffs that are too large and disrupt certain
      projection scenarios). This change updates the name of the method and
      relocates it to below the method where it is consumed.
      f3faafb3
    • J
      Fix threading issue in Generate Type Dialog · 35e5ef36
      Jonathon Marolf 提交于
      Attempting to generate a new file in an ASP.NET 5 web project would
      deadlock because we were attempting to get the default namespace from a
      worker thread.
      
      The solution is to move the work of computing the default namespace from
      ComputeOperationsAsync to GetOptions.  GetOptions is always guaranteed
      to execute on the UI thread wheras ComputeOperationsAsync happens from a
      worker thread.
      35e5ef36
    • J
      Revert "Fix threading issue in Generate Type Dialog" · 8a1ca7fa
      Jonathon Marolf 提交于
      This reverts commit 779cea70.
      8a1ca7fa
    • J
      Fix threading issue in Generate Type Dialog · 779cea70
      Jonathon Marolf 提交于
      Attempting to generate a new file in an ASP.NET 5 web project would
      deadlock because we were attempting to get the default namespace from a
      worker thread.
      
      The solution is to move the work of computing the default namespace from
      ComputeOperationsAsync to GetOptions.  GetOptions is always guaranteed
      to execute on the UI thread wheras ComputeOperationsAsync happens from a
      worker thread.
      779cea70
    • D
      Expand/Reduce in expression-bodied members and lambdas · fb7ef977
      David Poeschl 提交于
      Fixes bug #1053
      
      Update CSharpRenameRewriterLanguageService.GetExpansionTarget to locate
      good expansion target nodes for 1) expression-bodied members and 2)
      lambdas that are not contained within a StatementSyntax and that have
      ExpressionSyntax bodies. This allows all sub-expressions within these
      nodes to be properly expanded & reduced during rename.
      fb7ef977
  6. 10 5月, 2015 1 次提交
    • J
      Remove references to Desktop projects · 817fe8c5
      Jared Parsons 提交于
      This removes the majority of references to the deprecated Desktop
      assemblies.  The only remaining ones are in the VSIX projects.  They
      must remain until we actually delete the assemblies.
      817fe8c5
  7. 09 5月, 2015 4 次提交
  8. 08 5月, 2015 2 次提交
    • H
      e2471e13
    • S
      Make defaultValue a required parameter · 2365f288
      Shyam N 提交于
      for ExtensionManager.PerformFunction*()
      
      Fixes internal TFS bug 1166482.
      
      In cases where a fix provider throws an unhandled exception, ExtensionManager.PerformFunction*() was correctly handling the exception by displaying an 'info bar' alerting the user about the crash. However, because the defaultValue parameter for ExtensionManager.PerformFunction*() was optional, in some cases, we would end up returning default(ImmutableArray<T>) as opposed to ImmutableArray<T>.Empty to the VS platform's light bulb  engine. The difference is significant in this case since ImmutableArray<T> is a struct and since it is returned as an IEnumerable<T>. The platform code checks whether the returned IEnumerable<T> is 'null' (which it won't be) and then calls '.Any()' on it and this results in an InvalidOperationException from ImmutableArray<T>...
      
      In addition to supplying the correct defaultValue of ImmutableArray<T>.Empty to avoid the above crash, I am also making defaultValue a required parameter (so that future consumers of ExtensionManager.PerformFunction*() don't run into this problem).
      2365f288
  9. 07 5月, 2015 5 次提交
  10. 06 5月, 2015 8 次提交