1. 12 1月, 2019 4 次提交
    • J
      Extract out a reference-counted cache implementation · f36378fc
      Jason Malinowski 提交于
      We already had this inside of VisualStudioRuleSetManager, and we need
      it for more things too. For now all the locking semantics are being
      kept identical.
      f36378fc
    • J
      Fix up logic that is determining and setting contexts for files · 513119e2
      Jason Malinowski 提交于
      The basic mental here is to determine a context for a file, we start
      with the Running Document Table and grab the IVsHierarchy for that file.
      We then chase it through shared projects until we arrive at final
      IVsHierarchy. This should be the IVsHierarchy we were given for the
      project. In the case of multitargeting projects, there's one last hop
      where we fetch a VSHPROPID_ActiveIntellisenseProjectContext that just
      returns the project name instead of a IVsHierarchy. If you squint you
      could imagine that as if it returned the IVsHierarchy for that project
      except we don't have unique ones.
      
      To set the context, we start with the project and walk those
      IVsHierarchy pointers backwards. At each step we can do an operation to
      figure out which IVsHierarchy needs its pointer updated, and we point it
      to build the chain, moving back to the IVsHierarchy that will end up
      in the Running Document Table.
      
      This is (still) leaking IVsHierarchies that we subscribe to, and that
      will be fixed next.
      513119e2
    • S
      Merge pull request #32375 from sharwell/fix-errorlist-test · 793fe93b
      Sam Harwell 提交于
      Avoid navigating to message severity items unless requested
      793fe93b
    • A
      Add tests for nullable reference types. (#32371) · 6236885d
      AlekseyTs 提交于
      Closes #31862.
      6236885d
  2. 11 1月, 2019 5 次提交
  3. 10 1月, 2019 6 次提交
  4. 08 1月, 2019 4 次提交
  5. 05 1月, 2019 21 次提交