1. 01 9月, 2015 4 次提交
  2. 30 8月, 2015 4 次提交
  3. 29 8月, 2015 5 次提交
    • M
      Merge pull request #4850 from mavasani/AnalyzerV2PerfRegression · d381a8c3
      Manish Vasani 提交于
      Address a performance regression in the v2 analyzer driver
      d381a8c3
    • M
      Address a performance regression in the v2 analyzer driver. · af6ae49a
      Manish Vasani 提交于
      1) Perf traces show large GC activity during diagnostic analysis. Switched a ConditionalWeakTable added in the v2 driver change from being keyed on SyntaxReference to being keyed on Compilation, with the value being a dictionary keyed on SyntaxReference's Location. Also added cache cleanup logic to ensure entries from this dictionary get cleared as declarations are analyzed across all analyzers.
      2) With the v2 driver refactoring, we stopped using the descriptor cache for analyzers in the IDE. This change re-introduces the cache and also adds logic to avoid realizing all the compiler diagnostic descriptors during diagnostic analysis.
      af6ae49a
    • J
      Handle corrupted default values in metadata · 9ac3e8e0
      Jared Parsons 提交于
      The native compiler handled corrupted default parameter values by
      substituting in default(T).  It's unclear if this was intentional
      behavior in the compiler or not.
      
      Either way though obfuscators took advantage of this behavior and at
      least one prominent one will corrupt default parameter values when the
      value is null.  Enough prominent libraries have shipped using such
      obfuscators that it is a blocker to upgrading.  Hence we need to emulate
      the native compiler behavior here.
      
      This change is a bit large because I needed to update the test resources
      with a corrupted DLL in order to test out the changes.
      
      closes #4196
      9ac3e8e0
    • K
      Merge pull request #4865 from KevinH-MS/TextViewRole · 1a25d5d1
      Kevin Halverson 提交于
      Enable selection of Mef components based on TextViewRole...
      1a25d5d1
    • K
      Enable selection of Mef components based on TextViewRole... · 01071481
      Kevin Halverson 提交于
      We need a way to provide alternate completion in the Interactive Window.
      Previously, we weren't taking TextViewRole into consideration when
      selecting completion providers.  This change allows a service to opt in to
      considering TextViewRole by passing OrderableLanguageAndRoleMetadata to
      SelectMatchingExtensionValues.
      
      This change also includes some cleanup of test helpers and removal of extra
      TextViewRole attributes that weren't doing anything meaningful.
      01071481
  4. 28 8月, 2015 19 次提交
  5. 27 8月, 2015 8 次提交