1. 21 3月, 2015 2 次提交
  2. 20 3月, 2015 14 次提交
    • M
      Update toolset compiler and diagnostics nuget packages. · a0a924e6
      mavasani 提交于
      a0a924e6
    • D
      Change constructor ref node location in Find Refs · a767f3a7
      David Poeschl 提交于
      Fixes internal issue #1138943.
      
      In the SymbolFinder API, references to constructors are included as references to both the constructor method symbol and the related type symbol. Because reference locations are deduplicated across all results shown in Find References, we have to decide which definition node to use as the parent. Prior to this change the first related definition returned to us by the SymbolFinder won, but this ordering was not guaranteed to be consistent. This change introduces a precedence ordering for definitions returned by the SymbolFinder that currently guarantees that members will be preferred over types.
      
      Additionally, this change removes the requirement that definitions shown in Find References have distinct locations. This allows us to meaningfully separate references between a type and its default constructor which has the same location.
      a767f3a7
    • M
      Fix memory leaks in AnalyzerManager: · 5279e7f7
      mavasani 提交于
      1) Statically created LocalizableString instances by analyzers were holding onto instances of AnalyzerExecutor (which holds onto the compilation on which it executes) for exception reporting, causing us to leak compilations in command line builds. Fixed this by making sure that we unregister these exception handlers during analyzer cleanup in CommonCompiler, we already did so for VisualStudioAnalyzer created in IDE.
      
      2) Switch all the state caches in AnalyzerManager to be keyed with analyzer, and clear all state for analyzer when host disposes it. Performance analysis showed that analyzers that capture the CompilationStartAnalysisContext in its RegisterCompilationStartAction via some lambda were rooting the compilation objects.
      
      Above two changes got rid of all the static and dependent handles rooting compilations during command line builds, and I see a perceived reduction in memory used by VBCSCompiler during building Roslyn.
      
      3) Fix the IDE onAnalyzerException delegate to not capture project instance, but instead use the projectId. Otherwise, VSIX analyzers that live for lifetime of VS instance would leak compilations.
      
      While I was at it, I also got rid of functionality added to MetadataCache that was caching and re-using analyzer instances across AnalyzerFileReference instances, we had already decided to instead keep lifetime of analyzer instances bound by lifetime of owning AnalyzerFileReference.
      5279e7f7
    • B
      Make FileBasedXmlDocumentProvider not process DTDs · 573a1595
      Balaji Soundrarajan 提交于
      Fix #1371 :  Make FileBasedXmlDocumentProvider not process DTD by
      setting the correct DTDProcessing value in the XmlReaderSetting
      
      Also fix XmlDocumentProvicer to return the string with the Tags and
      Newlines when called GetDocumentForSymbol
      573a1595
    • T
      99732fd2
    • P
      Respond to review feedback. · d0fbdbba
      Paul Harrington 提交于
      d0fbdbba
    • P
      Avoid calling .Locations on namespaces · 1462fe1e
      Paul Harrington 提交于
      1462fe1e
    • K
    • W
      a64937b0
    • J
      Fix build warnings · 84d8c5aa
      Jared Parsons 提交于
      This fixes a couple of build warnings:
      
      - Bad hint path for MS.VS.Platform.VSEditor.Interop.dll
      - Syntax.xml did not conform to the prescribed XML schema
      
      I additionally modified VisualBasicSyntaxGenerator to exit with an error
      code in the case the provided XML file did not match the schema.  That
      will prevent future regressions on the second warning I fixed.
      
      closes #1356
      closes #1386
      
      Respond to PR feedback
      84d8c5aa
    • A
      0a849478
    • B
      make method name better reflect its purpose · c3963489
      Brett Forsgren 提交于
      c3963489
    • A
      Make the ExpressionCompiler assemblies portable · 38815b62
      Andrew Casey 提交于
      1. Compile them against Profile7.
         a. Swap out a few APIs (e.g. using GetTypeInfo for reflection).
         b. Introduce an abstraction layer so that we don't have to instantiate
         DkmDataItem (caused a VerificationException).
         c. Include WindowsProxy.winmd as an EmbeddedResource directly, rather
         than through a resx file.
      2. Swap the output locations of the ResultProvider projects: Portable goes
      to the main output directory and NetFX20 goes to a subdirectory (NetFX20).
      3. Include the Portable ResultProvider assemblies in the EE vsix, rather
      than the NetFX20 ones.
      38815b62
    • C
      Correct typos · 1f4f6b14
      Charles Stoner 提交于
      1f4f6b14
  3. 19 3月, 2015 15 次提交
  4. 18 3月, 2015 9 次提交